X works fine, ioquake builds, even some applications built generally for ARM11 architecture may work, but don't expect 3D. No OpenGL support, also, although vchiq_test shows like if it's ok, there's no /dev/vchiq present, but if you insist, here's a Qemu fork with OpenGLES support:
or you can try MesaGL as a workaround solution.
So, the actual command line is*:
qemu-system-arm -kernel kernel-qemu -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append "root=/dev/sda2" -hda 2013-09-25-wheezy-raspbian.img
You'll need a kernel and an os image, download:
kernel-qemu: http://xecdesign.com/downloads/linux-qemu/kernel-qemu
images: http://www.raspberrypi.org/downloads
Note, root is /dev/sda2 because there's actually 2 partitions in the image, one FAT32 and a Linux, the latter will be our root filesystem. It may work with other distributions, with the Yocto minimal image and the Minibian for sure, change image name accordingly;
Minibian: http://sourceforge.net/projects/minibian/files/2013-10-13-wheezy-minibian.tar.gz/download
also Raspbian Minimal http://plugwash.raspbian.org/images/
Read more:
HOWTO: Virtual Raspbian on Qemu in Ubuntu Linux 12.10
*with redirected ssh
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=29&t=37386
12MB Minimal Image for Raspberry Pi using the Yocto Project
http://xecdesign.com/qemu-emulating-raspberry-pi-the-easy-way/
MINIBIAN: MINImal raspBIAN image for Raspberry Pi
http://minibianpi.wordpress.com/
No comments:
Post a Comment