Emulating the XO/Quick Start: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (Indention for code box for easier standing out)
(Duh - "qemu -m 256" for 256 MB RAM!)
Line 29: Line 29:
Fourth, run:
Fourth, run:


qemu -kernel-kqemu -soundhw es1370 -net user -net nic,model=rtl8139 -hda olpc-redhat-stream-development-devel_ext3.img
qemu -m 256 -kernel-kqemu -soundhw es1370 -net user -net nic,model=rtl8139 -hda olpc-redhat-stream-development-devel_ext3.img

Note that qemu by default gives 128 MB RAM, but according to [[Hardware_specification]] recent XO HW have 256 MB, that's why the "-m 256". To test for early XO HW (or later with more), change the -m param. Giving 256 MB RAM appears to have a noticeable effect on speed in the emulator (as I'm sure in the real HW ;).


You should now have a running "virtual XO".
You should now have a running "virtual XO".

Revision as of 18:33, 7 October 2007

  english | español | 日本語 | português | 中文 HowTo [ID# 68965]  +/-  

This page will help you get a look at the XO software, by running a "virtual XO" in an emulator. Another option is burning a LiveCd.

What to expect

This "virtual XO" was created as a software development tool. It is not intended for general use, and many things will not work. It is "just to get a taste" (and to help software developers). With time and people constraints, we are focused tightly on the real XO.

  • The camera and video will not work.
  • Things are slower than on the actual machine. If you are unable to install qemu's kqemu accelerator, very much slower.
  • You will see a snapshot of the past. The instructions will have you download the "latest stable build", which is sometimes quite a few weeks old. Development is very rapid. So things will be missing or different compared with the present.
  • While rapidly maturing, this is still "alpha" software.
  • TamTam, the popular music program, will likely not work (no sound).

Four steps

First, download olpc-redhat-stream-development-devel_ext3.img.bz2. It is in this directory.

Second, get the qemu emulator which will run the image:

Third, extract the .img file from the .bz2 file.

Fourth, run:

  qemu -m 256 -kernel-kqemu -soundhw es1370 -net user -net nic,model=rtl8139 -hda olpc-redhat-stream-development-devel_ext3.img

Note that qemu by default gives 128 MB RAM, but according to Hardware_specification recent XO HW have 256 MB, that's why the "-m 256". To test for early XO HW (or later with more), change the -m param. Giving 256 MB RAM appears to have a noticeable effect on speed in the emulator (as I'm sure in the real HW ;).

You should now have a running "virtual XO".

Running for the first time

Sugar Instructions will help you get oriented. Though you may not need it.

You can also get other Help and tips on emulating Sugar.

When running under emulation, the sugar fonts will appear very tiny until you set the screen to 200 dpi.