Anyone know if a Pi emulator exists (for Linux or Windows) or if
someone is working on one?
Did a quick search on the forum and only found Speccy emulators.
What I would like to have is an emulator that mimics the Pi either under
Linux or Windows.
- __----__----__
- Posts: 16
- Joined: Tue May 15, 2012 9:33 am
-
- Posts: 1090
- Joined: Sun Sep 25, 2011 11:44 am
- Location: Potters Bar, United Kingdom
- Contact: Website
Re: Pi Emulator?
Search for Qemu.
You should be able to find a link where you can download a ready-to-run Qemu+Debian install for Windows. just a case of unzipping the download and then running the contained batch file. Sorry but I do not have the URL to hand.
You should be able to find a link where you can download a ready-to-run Qemu+Debian install for Windows. just a case of unzipping the download and then running the contained batch file. Sorry but I do not have the URL to hand.
- soslug
- Posts: 43
- Joined: Mon May 21, 2012 12:31 pm
- Location: Southend on Sea
- Contact: Website Yahoo Messenger
Re: Pi Emulator?
I have a stepped procedure to emulate the PI as follows here I have not been able to alter the screen resolution to anything more useful than 640 x 480 but soneone can post the answer here.
http://wiki.soslug.org/wiki/raspberry_pi_emulation
have fun
http://wiki.soslug.org/wiki/raspberry_pi_emulation
have fun
IPFreely, to weed the network demons that dwell in them their Windows!
- __----__----__
- Posts: 16
- Joined: Tue May 15, 2012 9:33 am
Re: Pi Emulator?
Thanks but QEMU+Debian is for a Virtual Machine, I'm looking for an emulator.itimpi wrote:Search for Qemu.
You should be able to find a link where you can download a ready-to-run Qemu+Debian install for Windows. just a case of unzipping the download and then running the contained batch file. Sorry but I do not have the URL to hand.
Re: Pi Emulator?
Errrr, and the difference is??? You do realise what the "EMU" in QEMU stands for?!__----__----__ wrote:Thanks but QEMU+Debian is for a Virtual Machine, I'm looking for an emulator.

- __----__----__
- Posts: 16
- Joined: Tue May 15, 2012 9:33 am
Re: Pi Emulator?
OK, but does QEMU completely mimic the Pi so if I want to try out a bare metal OS and don't have a Pi yet, I could use the emulator to test.AndrewS wrote:Errrr, and the difference is??? You do realise what the "EMU" in QEMU stands for?!__----__----__ wrote:Thanks but QEMU+Debian is for a Virtual Machine, I'm looking for an emulator.
It's important to note that the QEMU+Debian solution is dependent on Linux
whereas the emulator is well emulating the Pi hardware.
Re: Pi Emulator?
Ah, I see. I don't believe QEMU yet emulates enough of the Pi-specific hardware to run a bare-metal OS. And given the proprietary nature of the GPU-side that may never happen?__----__----__ wrote:OK, but does QEMU completely mimic the Pi so if I want to try out a bare metal OS and don't have a Pi yet, I could use the emulator to test.
The people at Broadcom may have such an 'emulator' (for the BCM2835 rather than the Pi specifically) but it would be an internal-company-use only tool. So I'm afraid you'll just have to continue to be patient waiting for your Pi...

- SamManDude
- Posts: 24
- Joined: Sun Mar 04, 2012 8:28 pm
- Location: Derbyshire, England
Re: Pi Emulator?
If you want to simulate a Raspberry PI, I would suggest downloading; 'Oracle VM Virtualbox', from this you can run any operating systems on your PC, it's really easy to set up, and also you can tweak the settings as you're setting it up to be exactly the same as a raspberry pi!
I did this before I got mine delivered, just to get to grips with the user interface of LXDE
If you need any help with setting it up just message me
Sam
I did this before I got mine delivered, just to get to grips with the user interface of LXDE
If you need any help with setting it up just message me

Sam
Sam Brooks - Not much knowledge, but enough to know a bit.
love to learn, love to teach
love to learn, love to teach
-
- Posts: 44
- Joined: Sun Apr 22, 2012 3:35 am
Re: Pi Emulator?
VirtualBox is a great program, but it only allows you to virtualise your existing hardware. This means if you are running it on an X86 machine, you can emulate many other X86 environments, but it does not emulate other processor architectures.
If you want to get close to a Pi environment, Qemu will let you emulate the Arm processor, network hardware, memory requirements etc. You can even run the un modified distributions from the download page. It will not exactly duplicate the hardware (GPU is a example). At this point the is not a software emulator which will give you an exact copy of a Pi, without actually having access to a real Pi.
If you want to get close to a Pi environment, Qemu will let you emulate the Arm processor, network hardware, memory requirements etc. You can even run the un modified distributions from the download page. It will not exactly duplicate the hardware (GPU is a example). At this point the is not a software emulator which will give you an exact copy of a Pi, without actually having access to a real Pi.
Duncan
The mind is an infinite resource, provided you don't waste it!
The mind is an infinite resource, provided you don't waste it!
- __----__----__
- Posts: 16
- Joined: Tue May 15, 2012 9:33 am
Re: Pi Emulator?
Thanks for the replies.
It's pretty much what I thought.
It's pretty much what I thought.
Re: Pi Emulator?
AFAIK there is no reason why QEMU wouldn't work . It emulates the ARM Core of the Pi almost exactly . If you are interestested in bare -metal programming , you'd just have to specify your own kernel.img at the Qemu command line.
The only things which aren't comparable are USB (choose one) and the GPU (none) inside QEMU.
Furthermore , you'd just have to look where/how the GPU loads the Kernel on the Pi - but this behaviour cannot changed anyway.
The Linux version really offers enough choice of ARM Cores , architectures and USB chipsets.
ghans
ghans
The only things which aren't comparable are USB (choose one) and the GPU (none) inside QEMU.
Furthermore , you'd just have to look where/how the GPU loads the Kernel on the Pi - but this behaviour cannot changed anyway.
The Linux version really offers enough choice of ARM Cores , architectures and USB chipsets.
ghans
ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org
Re: Pi Emulator?
Faumachine looks interesting but not sure if it supports ARM yet.
http://www3.informatik.uni-erlangen.de/ ... AUmachine/
http://www3.informatik.uni-erlangen.de/ ... AUmachine/
Re: Pi Emulator?
That page you linked to says "The FAUmachine virtual machine runs as a normal user process (no root privileges or kernel modules needed) on top of (currently) Linux on i386 and AMD64 hardware."mjlally wrote:Faumachine looks interesting but not sure if it supports ARM yet.
http://www3.informatik.uni-erlangen.de/ ... AUmachine/
And the "last news" is from August last year

Re: Pi Emulator?
Am I the ony one who is finding qemu really slow? About 1/6th of the speed of a raspberry pi, if not slower. Windows 7, 4mg RAM.
No network at the moment either but need to let it through ISA Server.
ren
No network at the moment either but need to let it through ISA Server.
ren
Re: Pi Emulator?
4mg RAM.... I see the problemren41 wrote:Am I the ony one who is finding qemu really slow? About 1/6th of the speed of a raspberry pi, if not slower. Windows 7, 4mg RAM.
No network at the moment either but need to let it through ISA Server.
ren

quem is emulating an ARM processor, so it's software not hardware, which I would expect to be slow compared to actual hardware.
-
- Posts: 44
- Joined: Sun Apr 22, 2012 3:35 am
Re: Pi Emulator?
I don't have a real Pi yet, so can't be sure, but I am running multiple distros under qemu using Windows 7 on an i7 2600k machine with lots of memory. Based on descriptions from other users based on their experience browsing etc on actual Pi hardware, it would seem that the emulated Pi's I'm using are at least as fast as a real one.
Like many things, performance always depends on available horsepower and resources.
Like many things, performance always depends on available horsepower and resources.
Duncan
The mind is an infinite resource, provided you don't waste it!
The mind is an infinite resource, provided you don't waste it!
Re: Pi Emulator?
spurious wrote:4mg RAM.... I see the problemren41 wrote:Am I the ony one who is finding qemu really slow? About 1/6th of the speed of a raspberry pi, if not slower. Windows 7, 4mg RAM.
No network at the moment either but need to let it through ISA Server.
ren![]()
quem is emulating an ARM processor, so it's software not hardware, which I would expect to be slow compared to actual hardware.

But, aren't you amazed that I can run W7 in only 4mb?

ren
Re: Pi Emulator?
I tested different builds for Windows .. there are Cygwin ones which are AWFULLY slow.
David T. Reynolds built a special RPi Qemu Manager for Windows recently .. you may try and look if its faster.
On Linux , Qemu feels much more responsive.
ghans
David T. Reynolds built a special RPi Qemu Manager for Windows recently .. you may try and look if its faster.
On Linux , Qemu feels much more responsive.
ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org