Please see Emulating the XO/Quick Start/Windows for additional details.
Quick Instructions
The start-olpc.cmd script starts up the QEMU emulator following these steps:
Quick Instructions
- Download olpc_qemu_8.2.0.zip (4.5MB).
- Double-click the file — it should open the compressed file contents and show one directory, called olpc
- Drag and drop this "olpc" directory somewhere, C:\ is recommended, but you may use a different directory
- Enter the olpc directory and double-click start-olpc.cmd.
The KQEMU accelerator requires Administrative privileges; if you are running Windows Vista, right-click the file and select Run as administrator. This is optional as the QEMU emulator will work fine, albeit far slower, without the accelerator. - Enjoy! The script will download, unpack and then run the 8.2.0, build 767 OLPC disk image; the downloaded disk image is about 186 MB and then uses 1.2GB of disk after being uncompressed.
The start-olpc.cmd script starts up the QEMU emulator following these steps:
- Checks if the KQEMU accelerator is installed; if not, install it
- Start the accelerator
- Look for an *.img image file; if none are found, call get-image.cmd
- Start the QEMU emulator with the first *.img found; prioritize .qcow2.img copy-on-write files first
- After QEMU exits, stop the KQEMU accelerator
- Checks whether proxy servers are needed
- Download a base image file from downloads.laptop.org using curl
- Uncompress the image file with bunzip2
- Create a copy-on-write, .qcow2.img file linked to the base image to allow for easy reversion to the base image
Why provide another QEMU bundle?
Newer releases of the OLPC software require an updated version of QEMU and KQEMU to emulate the 3DNow instructions used by OLPC kernels. The olpc_qemu_8.2.0.zip file below started with the older olpc_qemu_full.zip and then was updated with a newer QEMU built from svn-4887 by Ton van Overbeek and the newer QEMU Accelerator (KQEMU) version 1.4.0pre1 from Fabrice Bellard.
To reduce the size of the file enough to host it here, the OLPC image file was removed and replaced by cwRsync along with curl and bunzip from Cygwin. These tools are used by the get-image.cmd script to automatically download and prepare OLPC disk images from download.laptop.org. PuTTY is included as well to provide a way to SSH into the emulated OLPC using the address 127.0.0.1, port 2222.
Newer releases of the OLPC software require an updated version of QEMU and KQEMU to emulate the 3DNow instructions used by OLPC kernels. The olpc_qemu_8.2.0.zip file below started with the older olpc_qemu_full.zip and then was updated with a newer QEMU built from svn-4887 by Ton van Overbeek and the newer QEMU Accelerator (KQEMU) version 1.4.0pre1 from Fabrice Bellard.
To reduce the size of the file enough to host it here, the OLPC image file was removed and replaced by cwRsync along with curl and bunzip from Cygwin. These tools are used by the get-image.cmd script to automatically download and prepare OLPC disk images from download.laptop.org. PuTTY is included as well to provide a way to SSH into the emulated OLPC using the address 127.0.0.1, port 2222.
v7 Fixes start-olpc.cmd script to work from right-click, Run as administrator... menu item in Vista.