-
Notifications
You must be signed in to change notification settings - Fork 0
License
Unknown and 2 other licenses found
Licenses found
Unknown
LICENSE
GPL-2.0
COPYING
LGPL-2.1
COPYING.LIB
glysbaysb/qemu
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
QEMU GPIO README ================ This patch extends the bcm2835_gpio device of the raspi2. It is to be used with the java GPIO server. (https://github.com/glysbaysb/GPIOServer) Together they can be used to by students of the FH Suedwestfalen to work on their assignments at some/any place other than the MR Labor.´ Building ======== it requires cygwin with (at least) these packages: * python 2.7 * mingw64-i686-gcc-g++ * mingw64-i686-glib2.0 * mingw64-i686-pixman * mingw64-i686-pkg-config * mingw64-i686-pcre * flex * bison (probably also a few of the recommend or optional ones from the documented build instructions @ wiki.qemu-project.org/Hosts/W32#Native_builds_with_Cygwin TODO: CHECK! $ git clone https://github.com/glysbaysb/QEMU.git $ cd qemu; $ git submodule update --init dtc; $ mkdir build;cd build $ PKG_CONFIG_LIBDIR=/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig/ ../configure --target-list=arm-softmmu --enable-trace-backends=simple --cross-prefix=i686-w64-mingw32- --enable-debug --extra-cflags="-m32" --extra-ldflags="-m32" --cpu=x32 --disable-werror --disable-vnc --disable-sdl --disable-bluez --disable-slirp --disable-gtk --disable-libusb --disable-usb-redir --disable-gnutls --disable-nettle --disable-curl --disable-libnfs --disable-smartcard --disable-rbd --disable-vde --disable-netmap --audio-drv-list= $ make -j4 At the start of the configure line is the PKG_CONFIG_LIBDIR define, because the cross compiler does not detect the various libs automatically. Somewhere in the middle it forces everything to be compiled for an x86 target. Most of that configure calls just disable various extra features and all targets but ARM. Start script ============ QEMU needs some time to initalize. When started locally by Eclipse appearently that is too long for Eclipse's taste, so it kills QEMU and complains about a timeout. So start it manually, and then connect "remotely" (as in localhost:1234) in Eclipse (this kinda makes all of the changes in the "eclipse-fix" branch obsolete, so those could be reverted...) qemu-system-arm.exe -m 128M -machine raspi2 -s -nographic -S "-m" specifies RAM size. Maybe use a smaller value to support older PCs? 1GB (like in the real RPI2) would be ridicliously high... "-S" starts the internal gdbserver and waits for a connection "-s" "shorthand for -gdb tcp::1234" Maybe clean up the trace files afterwards? "del trace-*"
About
No description, website, or topics provided.
Resources
License
Unknown and 2 other licenses found
Licenses found
Unknown
LICENSE
GPL-2.0
COPYING
LGPL-2.1
COPYING.LIB
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- C 91.4%
- C++ 3.2%
- Python 2.5%
- Shell 1.2%
- Haxe 0.5%
- Assembly 0.5%
- Other 0.7%