6

For doing bare metal programming, it would be really useful if there was a software emulator for the Raspberry Pi which I could use for debugging and inspection of state. Does such a thing exist?

I've seen some people using qemu with a custom kernel to run Raspbian on the versatilepb platform. But that's not the same thing, because that's not emulating the Raspberry Pi hardware --- it's merely emulating a similar but different ARM board. I need something which actually thinks it's a Pi.

David Given
  • 163
  • 1
  • 5

1 Answers1

9

QEMU supports a platform called "raspi2" directly since version 2.6 at least. I believe work is ongoing to refine the support for all Pi models including the RPi3. Currently , only older Raspbian images and Windows IoT Core are partially supported.

http://wiki.qemu.org/ChangeLog/2.6

flakeshake
  • 6,244
  • 1
  • 16
  • 35