48

How can I emulate the Raspberry Pi on Windows?

Related: Emulation on a Linux PC

Alex L
  • 7,605
  • 12
  • 42
  • 53

4 Answers4

38

I found a rare gem of a tutorial while trying to find updates for the RISC OS distribution for the RPi. It goes in-depth on how to emulate the RPi in Windows using QEMU. The tutorial is also generous enough to provide a link to the Win32 binary for QEMU. I plan on following this tutorial myself when I find the time.

Andrew Larsson
  • 1,614
  • 17
  • 22
13

There is a very nice Raspberry Pi forum posting about “Emulating Raspberry Pi in Windows the easy way”. Somebody already did all the work to make Raspberry Pi emulation in Windows as simple as possible. The instructions are:

  1. download a zip from SourceForge

  2. Unzip the file when it finishes downloading.

  3. Inside the folder you should find a run.bat file which will do all the magic for you.

The zip file is literally Raspberry Pi in a zip. It contains QEMU along with the Wheezy squeeze, and the batch file that you run to start the emulation contains the exact command to start QEMU as an ARM CPU running Wheezy. This is the epitome of KISS.

It should be noted that others have downloaded and checked the files for viruses, and that the emulation has been confirmed on several versions of Windows. I can confirm the emulation works in Windows 7 Ultimate.

Bear in mind that the default keyboard layout is English GB. If you are using an English US keyboard then there'll be some problems with the | character, to fix it you need to run the configure keyboard option at the raspi-config tool at first boot up.

Dan B
  • 2,907
  • 2
  • 20
  • 20
2

You can emulate the RPi in VirtualBox with relative ease.

Here is a thread with instructions. It's rather straightforward to get this up and running.

EDIT: You need to get Scratchbox and QEMU working with this as VirtualBox doens't emulate ARM out the box.

Here are further instructions. (Same link, from web.archive.org)

darryn.ten
  • 1,486
  • 2
  • 14
  • 18
-2

You could easily try my Raspberry Pi simulator included with sensor, command line and file editor at iotify.io. Check out our documentation at https://docs.iotify.io/ to get started with the different projects OS and make yourself familiar with Raspberry Pi working environment.

Screenshot of Raspberry Pi simulator

goldilocks
  • 58,859
  • 17
  • 112
  • 227
iotify
  • 25