Talk:Emulating the XO/Quick Start

From OLPC
Jump to navigation Jump to search

Qemu: You do not have enough space in '/dev/shm'

When I run:

$ qemu -m 256 -kernel-kqemu -soundhw es1370 -net user -net nic,model=rtl8139 \
       -hda olpc-redhat-stream-ship.2-devel_ext3.img
Could not configure '/dev/rtc' to have a 1024 Hz timer. This is not a fatal
error, but for better emulation accuracy either use a 2.6 host Linux kernel or
type 'echo 1024 > /proc/sys/dev/rtc/max-user-freq' as root.
You do not have enough space in '/dev/shm' for the 256 MB of QEMU virtual RAM.
To have more space available provided you have enough RAM and swap, do as root:
umount /dev/shm
mount -t tmpfs -o size=272m none /dev/shm

I did what qemu suggests about /dev/shm and it worked. Awesome! --Ashawley 16:00, 27 December 2007 (EST)

Net and Sound on Windows XP

I've got the emulator working with the 657 dev build, but the "-net user -net nic,model=rt18139" parameters won't work, nor does "-soundhw es1370" or "-soundhw all".

I'm running a Dell Inspiron 1520 laptop with WinXP, and the sound hardware is a SigmaTel HiDef audio device, but I can't figure out what to feed the -soundhw argument to let it use this device.

For Networking I'm using an ASIX AX88772 USB 2.0 to Fast Ethernet converter, though I could go to the Broadcom 440x 10/100 Integrated controller. For wireless I'm using the Dell Wireless 1390 WLAN mini-card.

Are there known parameters (args) I can feed the two options, or am I stuck without sound and networking until my G1G1 arrives?

Just to clarify, the emulator and OLPC (Sugar, etc.) boot and run OK, it's just that I'm without sound and networking.

Thanks, Shortly 13:48, 10 January 2008 (EST)