Page 2 of 3

Re: Emulating a RasPi on Windows

Posted: Fri Sep 30, 2011 1:29 pm
by Archangel5089
Thanks for the this emercer, much appreciated

Re: Emulating a RasPi on Windows

Posted: Fri Sep 30, 2011 1:42 pm
by dtpoirot
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...

Re: Emulating a RasPi on Windows

Posted: Fri Sep 30, 2011 1:58 pm
by dtpoirot
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

Re: Emulating a RasPi on Windows

Posted: Fri Sep 30, 2011 2:47 pm
by crashingdutchman
I have the LXDE running. Can a total Linux noob install Boxee on this?

Re: Emulating a RasPi on Windows

Posted: Fri Sep 30, 2011 5:06 pm
by ShiftPlusOne
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.

Re: Emulating a RasPi on Windows

Posted: Fri Sep 30, 2011 10:07 pm
by emercer
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).

Re: Emulating a RasPi on Windows

Posted: Mon Oct 24, 2011 10:41 pm
by Bumsfallera
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

Re: Emulating a RasPi on Windows

Posted: Tue Oct 25, 2011 12:12 am
by emercer
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.

Re: Emulating a RasPi on Windows

Posted: Tue Oct 25, 2011 12:14 am
by NickUK
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.

Re: Emulating a RasPi on Windows

Posted: Tue Oct 25, 2011 3:06 pm
by xernobyl
Does that have support for OpenGL ES 2.0?

Re: Emulating a RasPi on Windows

Posted: Tue Oct 25, 2011 3:12 pm
by asb
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

Re: Emulating a RasPi on Windows

Posted: Wed Nov 23, 2011 11:28 pm
by goldenfenix
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.

Re: Emulating a RasPi on Windows

Posted: Thu Nov 24, 2011 8:32 pm
by kloit
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

Re: Emulating a RasPi on Windows

Posted: Thu Nov 24, 2011 9:27 pm
by meltwater
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.

Re: Emulating a RasPi on Windows

Posted: Mon Nov 28, 2011 1:03 am
by emercer
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!

Re: Emulating a RasPi on Windows

Posted: Sat Dec 17, 2011 6:12 pm
by hilltop
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.

Re: Emulating a RasPi on Windows

Posted: Sat Dec 17, 2011 7:12 pm
by obarthelemy
Great news. Thanks !

Re: Emulating a RasPi on Windows

Posted: Wed Dec 28, 2011 2:21 pm
by Jawloms
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

Re: Emulating a RasPi on Windows

Posted: Thu Dec 29, 2011 12:42 am
by England
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.

Re: Emulating a RasPi on Windows

Posted: Thu Dec 29, 2011 1:45 am
by kingneutron
--I'm downloading the Gnome torrent (eta ~22hours) - could someone please repost the LXDE?  I can't reach the FTP server at the moment

Re: Emulating a RasPi on Windows

Posted: Thu Dec 29, 2011 2:15 am
by Thorn
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?

Re: Emulating a RasPi on Windows

Posted: Thu Dec 29, 2011 8:06 am
by kingneutron
--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!!

Re: Emulating a RasPi on Windows

Posted: Fri Dec 30, 2011 6:36 am
by kingneutron
--New thread started here:

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

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

Re: Emulating a RasPi on Windows

Posted: Tue Jan 03, 2012 9:53 am
by emercer
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.

Re: Emulating a RasPi on Windows

Posted: Wed Jan 04, 2012 8:53 pm
by nathanpc
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