Skip to content
flypie edited this page Apr 28, 2017 · 11 revisions

Welcome to the qemu wiki! or one of many branches of the master.

I'm going to try to keep this up to date with the master, keep Raspberry PI working, and keep the windows build going.

Currently the PI2 works but not the 1.

Some of my tools for build and running have crept in as well. If you want to building windows you'll need cygwin with a full set of tools.

The shell scripts are setup to build for 64bit windows.

One of the objectives was to mange seamless development of low level code in an IDE. I have managed this with Netbeans. It is not quite as smooth as I would like but it works.

First set up the run command like so

C:\cygwin64\home\John-Bradley\qemu-main\bin\debug\x86_64-w64-mingw64\arm-softmmu\qemu-system-arm.exe -machine raspi2 -smp 1 -bios C:\cygwin64\home\John-Bradley\circle\sample\03-screentext\kernel7.img -usbdevice keyboard -s -S

You may need to set the working directory to the QEMU directory.

Then attach debugger.

selecting

Debugger: gdbserver

Target: remote tcp::1234

Project: 03-screentext

A video of a demo running a modified version of Circle's GPIO demo, to show output and inpu.t https://www.youtube.com/watch?v=qGhURwTTUSA&feature=youtu.be First 1/4 of IO set to Output Next 1/4 to input and the rest ignored the Flash at 47 is the onboard LED.

Clone this wiki locally