Giter Site home page Giter Site logo

flypie / flypie-pi-qemu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from qemu/qemu

3.0 3.0 1.0 158.16 MB

Official QEMU mirror. Please see http://wiki.qemu.org/Contribute/SubmitAPatch for how to submit changes to QEMU. Pull Requests are ignored.

Home Page: http://www.qemu.org

License: Other

Emacs Lisp 0.01% Makefile 0.24% C 91.40% C++ 2.98% Haxe 0.53% Objective-C 0.16% Assembly 0.49% Python 2.57% NSIS 0.02% Shell 1.29% Perl 0.33% GDB 0.01% GLSL 0.01% Batchfile 0.01%

flypie-pi-qemu's People

Contributors

afaerber avatar agraf avatar aik avatar aliguori avatar aurel32 avatar avikivity avatar balrog-kun avatar berrange avatar blueswirl avatar bonzini avatar dagrh avatar dgibson avatar ebblake avatar edgarigl avatar ehabkost avatar elmarco avatar gongleiarei avatar huth avatar jan-kiszka avatar jnsnow avatar jwrdegoede avatar kevmw avatar kraxel avatar mstsirkin avatar pete128 avatar pm215 avatar rth7680 avatar stefanharh avatar stweil avatar xanclic avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

feego

flypie-pi-qemu's Issues

GPIO panel: connection: Unknown error

I followed the build and run instructions from rsta2/circle#34 closely but not exactly.

Note that my cygwin HOME directory name contains a blank against your advice as I could not avoid this, but I made sure that the qemu repository and the build directory pathnames do not contain blanks.

I have set up cygwin and installed the following mingw64 packages:

$ cygcheck -c | grep mingw
mingw64-x86_64-binutils                 2.25.0.1.23f238d-1     OK
mingw64-x86_64-gcc-core                 5.4.0-3                OK
mingw64-x86_64-gcc-g++                  5.4.0-3                OK
mingw64-x86_64-gettext                  0.19.8.1-2             OK
mingw64-x86_64-glib2.0                  2.50.3-1               OK
mingw64-x86_64-headers                  5.0.2-1                OK
mingw64-x86_64-libffi                   3.2.1-2                OK
mingw64-x86_64-pcre                     8.40-3                 OK
mingw64-x86_64-pkg-config               0.29.1-1               OK
mingw64-x86_64-runtime                  5.0.2-1                OK
mingw64-x86_64-win-iconv                0.0.6-2                OK
mingw64-x86_64-windows-default-manifest 6.4-1                  OK
mingw64-x86_64-winpthreads              5.0.2-1                OK
mingw64-x86_64-zlib                     1.2.11-1               OK

Cloned the git repository and checked out subrepositories:

$ cd /home/stm/git
$ git clone https://github.com/flypie/flypie-pi-qemu.git
$ cd  flypie-pi-qemu
$ git submodule update --init dtc pixman

Built in a separate directory side-by-side with the repository as I want to keep the git repository directory tree clean:

$ mkdir /home/stm/git/flypie-pi-qemu-build
$ cd /home/stm/git/flypie-pi-qemu-build
$ ../flypie-pi-qemu/configure --disable-libusb --cc=x86_64-w64-mingw32-gcc.exe --cxx=x86_64-w64-mingw32-g++.exe  --cross-prefix=x86_64-w64-mingw32-  --target-list=arm-softmmu --disable-usb-redir --extra-cflags="-static-libgcc -static-libstdc++ -ggdb"
$ make

The build is successful. For being able to run the qemu-system-arm.exe executable I have to extend the PATH:

$ export PATH=/usr/x86_64-w64-mingw32/sys-root/mingw/bin:$PATH

Otherwise libwinpthread-1.dll is unresolved when I try to run qemu-system-arm.exe.

Now qemu-system-arm.exe works in general, for example with option "--help" I'm seeing the list of command line options.

When I try to launch a Circle kernel, the following happens:

$ SDL_VIDEODRIVER=windib QEMU_AUDIO_DRV=dsound SDL_AUDIODRIVER=dsound QEMU_AUDIO_LOG_TO_MONITOR=1 ./qemu-system-arm -machine raspi2 -smp 1 -bios /cygdrive/e/Users/stm/Documents/GitHub/circle/sample/03-screentext/kernel7.img -usbdevice keyboard
GPIO panel: connection: Unknown error
Couldn't connect to a GPIO panel
C:\cygwin64\home\stm\git\flypie-pi-qemu-build\arm-softmmu\qemu-system-arm.exe: Failed to load firmware from /cygdrive/e/Users/stm/Documents/GitHub/circle/sample/03-screentext/kernel7.img

I noticed that in your batch files to launch qemu you are changing the working directory to C:/qemu. What is the significance of this?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.