Talk:Emulating the XO/Quick Start/Windows: Difference between revisions

From OLPC
Jump to navigation Jump to search
mNo edit summary
(update it)
Line 4: Line 4:


*I'm not sure what the format is for discussions, but some thoughts:
*I'm not sure what the format is for discussions, but some thoughts:
#Why encourage using 7-zip? Shouldn't most users already have winzip installed? winzip also unzips .bz2 well enough.
**Why encourage using 7-zip? Shouldn't most users already have winzip installed? winzip also unzips .bz2 well enough.
#Which image should I be using exactly? After a couple of passes, I'm attracted to the little green box with the os711.img, which seems to be the latest build, but that seems not to be a bootable disk. However, any of the other images provided on the page works. Is there a way we can just link to a page that will constantly provide the latest image, or will this page be constantly edited when new images come out?
**Which image should I be using exactly? After a couple of passes, I'm attracted to the little green box with the os711.img, which seems to be the latest build, but that seems not to be a bootable disk. However, any of the other images provided on the page works. Is there a way we can just link to a page that will constantly provide the latest image, or will this page be constantly edited when new images come out?
::There's no single "latest image", read [[OS images]] to learn about latest stable, release candidate, joyride, etc. -- [[User:Skierpage|skierpage]] 03:43, 8 November 2008 (UTC)
#Other than that, I thought the instructions were great, and I especially like the .bat file at the end.
**Other than that, I thought the instructions were great, and I especially like the .bat file at the end.


== 8.2.0 images ==
== 8.2.0 images ==


There are some [http://dev.laptop.org/ticket/8369 known issues (#8369)] regarding emulating 8.2.0 builds, message from Ton regarding these problems and a workaround pasted below.
There are some known issues (<trac>8369</trac>) regarding emulating 8.2.0 builds, message from Ton regarding these problems and a workaround pasted below.


<pre>
You (and anybody else interested) can find my version of QEMU for Windows
You (and anybody else interested) can find my version of QEMU for Windows
which runs 8.2 and joyride images successfully here:
which runs 8.2 and joyride images successfully here:
http://www.v-overbeek.nl/XO-1/qemu-svn-4887-for-windows.zip .
http://www.v-overbeek.nl/XO-1/qemu-svn-4887-for-windows.zip .
Below the README from the zip file:
Below the README from the zip file:
=========================================================================
<pre>=========================================================================
QEMU for running 8.2 XO-1 devel-ext3 images on Windows
QEMU for running 8.2 XO-1 devel-ext3 images on Windows
------------------------------------------------------
------------------------------------------------------

Revision as of 03:43, 8 November 2008

winrar vs 7-zip

I had changed winrar to 7-zip simply due to it being a more open tool and overall has better support than winrar in terms of usable archive formats, however I noticed great work went into the tutorial that was winrar specific, I might consider changing that later if there is no problem with that

  • I'm not sure what the format is for discussions, but some thoughts:
    • Why encourage using 7-zip? Shouldn't most users already have winzip installed? winzip also unzips .bz2 well enough.
    • Which image should I be using exactly? After a couple of passes, I'm attracted to the little green box with the os711.img, which seems to be the latest build, but that seems not to be a bootable disk. However, any of the other images provided on the page works. Is there a way we can just link to a page that will constantly provide the latest image, or will this page be constantly edited when new images come out?
There's no single "latest image", read OS images to learn about latest stable, release candidate, joyride, etc. -- skierpage 03:43, 8 November 2008 (UTC)
    • Other than that, I thought the instructions were great, and I especially like the .bat file at the end.

8.2.0 images

There are some known issues (<trac>8369</trac>) regarding emulating 8.2.0 builds, message from Ton regarding these problems and a workaround pasted below.

You (and anybody else interested) can find my version of QEMU for Windows which runs 8.2 and joyride images successfully here:

 http://www.v-overbeek.nl/XO-1/qemu-svn-4887-for-windows.zip .

Below the README from the zip file:

=========================================================================
       QEMU for running 8.2 XO-1 devel-ext3 images on Windows
       ------------------------------------------------------

Here is my privately compiled version of qemu based on snapshot svn-4887.
See http://savannah.nongnu.org/svn/?group=qemu .
I have only used it on Windows XP/SP2, but it most likely will work under
Windows Vista.

Installing qemu
---------------

Make sure the following files are all in the same directory:
qemu.exe
fmod.dll
SDL.dll
mwgz.dll
bios.bin
vgabios-cirrus.bin
qemu-img.exe (optional)

This will allow you to run qemu, but slowly. It is recommended to use the
kqemu accelaratiob module. You'll find a version compatible with this version
of qemu in the subdirectory kqemu-1.4.0pre1.

Before installing this version, uninstall any previous versions of kqemu !
The kqemu supplied with the released 0.9.1 version is not compatible
with this version of qemu.

In the kqemu-1.4.0pre1 directory right click kqemu.inf and select Install.
See also http://bellard.org/qemu/kqemu-doc.html .

The service can be started by the command 'net start kqemu'. it should report
"The KQEMU virtualisation module for QEMU service was started successfully."
on Win XP/SP2

Running qemu
------------

Make sure the kqemu accelerator is running (see above).

To run qemu for an XO-1 image use  commands like:
------
net start kqemu
qemu -L . -cpu athlon -m 512 -net nic,model=rtl8139 -soundhw es1370 xo-1-olpc-stream-8.2-763-devel_ext3.img
------
The important option is '-cpu athlon'.
If you forget this option you will get the following messages:
       This kernel requires the following features not present on the CPU
       3dnow
       Unable to boot - please use a kernel appropriate for your CPU.

For other options see the qemu documentation.