Archangel5089
Posts: 36
Joined: Mon Aug 15, 2011 8:37 am

Re: Emulating a RasPi on Windows

Fri Sep 30, 2011 1:29 pm

Thanks for the this emercer, much appreciated

dtpoirot
Posts: 11
Joined: Fri Sep 23, 2011 3:42 pm

Re: Emulating a RasPi on Windows

Fri Sep 30, 2011 1:42 pm

Has anyone been able to get VNC working?

I added '-vnc :1' to my command line but I don't see anything on port 5901...

dtpoirot
Posts: 11
Joined: Fri Sep 23, 2011 3:42 pm

Re: Emulating a RasPi on Windows

Fri Sep 30, 2011 1:58 pm

With regards to screen res...

The current board and machine don't match the Rasp-Pi anyway.

The Broadcom part has an ARM1176JZF-S while QEMU is emulating Versitile board with an ARM926EJ-S

Dietmar claims to have made patches to the latest 'git' source release:
http://www.911cd.net/forums//i.....ntry169665

crashingdutchman
Posts: 27
Joined: Sat Sep 10, 2011 6:31 pm

Re: Emulating a RasPi on Windows

Fri Sep 30, 2011 2:47 pm

I have the LXDE running. Can a total Linux noob install Boxee on this?

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5880
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Emulating a RasPi on Windows

Fri Sep 30, 2011 5:06 pm

Quote from dtpoirot on September 30, 2011, 14:58
With regards to screen res...

The current board and machine don't match the Rasp-Pi anyway.

The Broadcom part has an ARM1176JZF-S while QEMU is emulating Versitile board with an ARM926EJ-S

Dietmar claims to have made patches to the latest 'git' source release:
http://www.911cd.net/forums//i.....ntry169665


You can specify which CPU to emulate.

User avatar
emercer
Posts: 165
Joined: Sun Aug 07, 2011 1:54 am
Location: Sao Paulo, Brazil
Contact: Website

Re: Emulating a RasPi on Windows

Fri Sep 30, 2011 10:07 pm

Quote from crashingdutchman on September 30, 2011, 15:47
I have the LXDE running. Can a total Linux noob install Boxee on this?

In a word, no. You'll have to download the source code and compile it, assuming it does compile without some sort of modification (I haven't tried). The .deb packages available at boxee.tv do not support ARM (that I did try).

Bumsfallera
Posts: 16
Joined: Mon Aug 22, 2011 1:15 am

Re: Emulating a RasPi on Windows

Mon Oct 24, 2011 10:41 pm

Hi!

Good job! Thanks a lot!

I uploaded the two images on my ftp (hope that is ok), might be faster as the torrent =)
torrent running as well ;-)

lxde version: ftp://88.198.117.140/download/.....-en-uk.rar
gnome version: ftp://88.198.117.140/download/.....-en-uk.rar

User avatar
emercer
Posts: 165
Joined: Sun Aug 07, 2011 1:54 am
Location: Sao Paulo, Brazil
Contact: Website

Re: Emulating a RasPi on Windows

Tue Oct 25, 2011 12:12 am

Quote from Bumsfallera on October 24, 2011, 23:41
Hi!

Good job! Thanks a lot!

I uploaded the two images on my ftp (hope that is ok), might be faster as the torrent =)
torrent running as well ;-)

lxde version: ftp://88.198.117.140/download/.....-en-uk.rar
gnome version: ftp://88.198.117.140/download/.....-en-uk.rar

Thanks man! I'm gonna add the links to the main post.

NickUK
Posts: 1
Joined: Mon Oct 24, 2011 11:11 pm

Re: Emulating a RasPi on Windows

Tue Oct 25, 2011 12:14 am

Currently grabbing those files from FTP and then will seed the torrent with the FTP Files on a 100Mbit Up/Down for as long as you need.

No need to worry about bandwidth in total.

-- Edit --
Both these are now seeding, if anyone else wants a Torrent for Raspberry Pi seeding as long as legal then please do drop me a message.

xernobyl
Posts: 26
Joined: Tue Oct 25, 2011 2:03 pm

Re: Emulating a RasPi on Windows

Tue Oct 25, 2011 3:06 pm

Does that have support for OpenGL ES 2.0?

asb
Forum Moderator
Forum Moderator
Posts: 853
Joined: Fri Sep 16, 2011 7:16 pm
Contact: Website

Re: Emulating a RasPi on Windows

Tue Oct 25, 2011 3:12 pm

Quote from xernobyl on October 25, 2011, 16:06
Does that have support for OpenGL ES 2.0?

Linaro have done some work on this that may be interesting to look in to:

https://wiki.linaro.org/Platform/DevPla ... muOpenGLES
https://blueprints.launchpad.net/linaro ... -qemu-gles

goldenfenix
Posts: 8
Joined: Thu Sep 29, 2011 1:20 pm

Re: Emulating a RasPi on Windows

Wed Nov 23, 2011 11:28 pm

Good, it is posible get 800x600 in qemu
need to create /etc/X11/xorg.conf with this

Section "Screen"
Identifier "Default Screen"
DefaultDepth 16
SubSection "Display"
# Viewport 0 0
Depth 16
Modes "800x600"
EndSubsection
EndSection

And then reboot.

kloit
Posts: 1
Joined: Thu Nov 24, 2011 8:22 pm

Re: Emulating a RasPi on Windows

Thu Nov 24, 2011 8:32 pm

Thanks for all the effort, was able to download but upon start i get the error "qemu-system-arm.exe: -net tap,ifname=TAP32: Device 'tap' could not be initialized" (stedrr.txt)
Any help/hint is appreciated.
Thank you

User avatar
meltwater
Posts: 1014
Joined: Tue Oct 18, 2011 11:38 am

Re: Emulating a RasPi on Windows

Thu Nov 24, 2011 9:27 pm

If you've not done the network part, then you need to remove that bit from the commandline.
-net nic -net tap,ifname=TAP32

I also needed to remove this bit too...
-append "root=/dev/sda1"

I also tried to compress the image as qcow but didn't have much luck (wouldn't boot).

Does anyone know how to run qemu with the VGrade [meego-mer-QtDesktop] image?
I don't know enough to work out what to do with the files.
______________
http://www.themagpi.com/
A Magazine for Raspberry Pi Users
Read Online or Download for Free.

My new book: goo.gl/dmVtsc

Meltwater's Pi Hardware - pihardware.com

Like the MagPi? @TheMagP1 @TheMagPiTeam

User avatar
emercer
Posts: 165
Joined: Sun Aug 07, 2011 1:54 am
Location: Sao Paulo, Brazil
Contact: Website

Re: Emulating a RasPi on Windows

Mon Nov 28, 2011 1:03 am

Quote from goldenfenix on November 23, 2011, 23:28
Good, it is posible get 800x600 in qemu


You're a godsend, goldenfenix... I'll add that info to the main post!

hilltop
Posts: 25
Joined: Sat Dec 17, 2011 5:00 pm

Re: Emulating a RasPi on Windows

Sat Dec 17, 2011 6:12 pm

Maybe I should have started a new thread for this.. anyway here goes.

I've managed to get Scratch working on Qemu/ARM/Debian under Windows with a little work. To save others the effort the armel format .deb file is at:
EDIT: link deleted, please see Scratch on Raspberry Pi thread http://www.raspberrypi.org/for.....038;t=1599

For the compulsive downloaders among you, this will probably need to be downloaded from WITHIN the emulator using wget or similar, unless you've set up a file transfer method. The recommended way to install (including prerequisites) is:

sudo apt-get install squeak-vm libcairo2 libpango1.0-0 libglib2.0-0 libv4l-0 alsa-base
sudo dpkg -i scratch_1.4.0.1_armel.deb

Note that libv4l-0 and alsa-base aren't strictly necessary (in theory) and won't add any functionality (no sound for Qemu under Windows, unfortunately, unless anyone knows better?) However it's worth noting I had to install libv4l-dev to compile successfully, and trying to run Scratch using the null sound system resulted in a broken application.

Some effort has gone into the Debian install script, which asks you for your sound setup on installation (I suggest ALSA, if you've installed alsa-base). This can be reconfigured using "dpkg-reconfigure scratch", and "dpkg -r scratch" will uninstall fully.

This program is .B.I.G. - the download is 33meg, installed size is 51.4meg and disc usage may be double depending that again dependant on FS settings. But considering it's a VM on top of an emulator it's actually surprisingly usable on 800x600. If your Scratch programs run slow try switching to full screen mode.

Just a note on compatibility, this was compiled under Debian armel's default settings, so armv5te. This should work fine on any ARM Debian platform, but probably won't link to other (forthcoming) Distros that use v6/v7 hardware floating point linkage. Feedback in this thread is welcome, especially from anyone with a real board to test it on.

obarthelemy
Posts: 1399
Joined: Tue Aug 09, 2011 10:53 pm

Re: Emulating a RasPi on Windows

Sat Dec 17, 2011 7:12 pm

Great news. Thanks !

Jawloms
Posts: 16
Joined: Wed Dec 28, 2011 2:11 pm

Re: Emulating a RasPi on Windows

Wed Dec 28, 2011 2:21 pm

I've never used emulation, qemu or Linux before, yet using your wonderfully clear post I've managed to get it all working!! Apart from one thing.......  It says my username and password are wrong. I know I am using the correct username and password as it's one I use for everything so as I wouldn't get in a muddle. It says i'm not allowed to log on as root. If I go to "Actions", and then "Configure the login manager", it accepts the password I set for the root account. If I go to the "Security" tab, and choose "Enable Automatic Login", there are no usernames in the drop down list.  Have I missed something?  Done something wrong? Is there a way to edit user accounts by logging on to somewhere with the root account?

Thank you very much

Stuart

England
Posts: 4
Joined: Thu Dec 29, 2011 12:31 am
Contact: Website

Re: Emulating a RasPi on Windows

Thu Dec 29, 2011 12:42 am

Many thanks for the share, I'm not clued up on linux in the slightest!

I've used Backtrack a few times to, Uhm, Recover my WEP key however never really anything beyond, I also feel lost without use of my windows key!

I'm currently downloading the Debian Gnome torrent and I'm going to have a play with it tomorrow, anyone got any good sites to point a linux beginner in the right direction? Just a few tips etc, I have searched for Debian Tips and tricks etc, and beginners guides however I'm wondering if anyone knows a good beginners guide for someone whos use to windows and will be using the ARM version of Debian Gnome.

Once again thanks for the share.

kingneutron
Posts: 17
Joined: Wed Dec 28, 2011 6:42 pm

Re: Emulating a RasPi on Windows

Thu Dec 29, 2011 1:45 am

--I'm downloading the Gnome torrent (eta ~22hours) - could someone please repost the LXDE?  I can't reach the FTP server at the moment

Thorn
Posts: 21
Joined: Wed Aug 10, 2011 7:09 pm
Location: Scotland
Contact: Website

Re: Emulating a RasPi on Windows

Thu Dec 29, 2011 2:15 am

Hi, haven't had a chance to try these yet, but they're downloading now to a dedicated server where they can freely seed. Also, wget'able links to the torrents can be found here:

http://thoronir.net/RaspberryP.....uk.torrent

http://thoronir.net/RaspberryP.....uk.torrent

Don't seem to be getting any download though - anyone seeding thus far?

kingneutron
Posts: 17
Joined: Wed Dec 28, 2011 6:42 pm

Re: Emulating a RasPi on Windows

Thu Dec 29, 2011 8:06 am

--Thanks for posting the new torrent links...  I managed to DL the gnome version in a reasonable amount of time after another seed popped up.  Serendipity: Since the initial download seemed like it would take almost a day, I referenced the tutorial and tried rolling my own

--Exciting news: Hopefully, I should be able to upload a full-fledged proxy appliance based on Eduardo's QEMU/ARM emulator $pretty-soon (like later today - I have to take some time out to sleep--!)  Took a bit of experimentation to get Linux booting after install, but the appliance should have fairly complete docs - and be a bit smaller download, since it will be text-based only.   I hope to redo the reserved disk allocation to fit uncompressed on a standard 4.7 GB DVD.

/ Much thanks, Eduardo!!!  Your HOWTO saved me a lot of time!!

kingneutron
Posts: 17
Joined: Wed Dec 28, 2011 6:42 pm

Re: Emulating a RasPi on Windows

Fri Dec 30, 2011 6:36 am

--New thread started here:

http://www.raspberrypi.org/for.....eutron-v1/

--V1 of the Raspberry PI Squid appliance is available for DL

User avatar
emercer
Posts: 165
Joined: Sun Aug 07, 2011 1:54 am
Location: Sao Paulo, Brazil
Contact: Website

Re: Emulating a RasPi on Windows

Tue Jan 03, 2012 9:53 am

Jawloms said:


I know I am using the correct username and password as it's one I use for everything so as I wouldn't get in a muddle. It says i'm not allowed to log on as root. If I go to "Actions", and then "Configure the login manager", it accepts the password I set for the root account. If I go to the "Security" tab, and choose "Enable Automatic Login", there are no usernames in the drop down list.  Have I missed something?  Done something wrong? Is there a way to edit user accounts by logging on to somewhere with the root account?


There's no root account on the images I've created (not really, there is, but it has no password and is not enabled, which is the default install behavior for newer Linux distros). To use elevated privileges, you should login with the default username and password and then sudo.

User avatar
nathanpc
Posts: 25
Joined: Tue Jan 03, 2012 2:03 pm
Location: Brazil
Contact: Website

Re: Emulating a RasPi on Windows

Wed Jan 04, 2012 8:53 pm

If anyone wants to setup a ARM Qemu emulator running Debian (which might be really close to a Raspberry Pi) but is using a Mac or Linux I suggest to check out this tutorial: http://www.aurel32.net/info/de.....m_qemu.php

Return to “Other projects”