Emulating the XO: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Starting overhaul of OS_images_for_emulation.)
 
m (→‎FreeBSD Quick Start: more compact?)
Line 13: Line 13:
=== FreeBSD Quick Start ===
=== FreeBSD Quick Start ===


{| cellspacing=5
Install qemu from ports:


|- valign="top"
cd /usr/ports/emulators/qemu && make install clean
| Install qemu from ports:
| style="background:lightgray; " | <tt>cd /usr/ports/emulators/qemu && make install clean</tt>


|- valign="top"
or as a package
| or as a package
| style="background:lightgray; " | <tt>pkg_add -r qemu</tt>


|- valign="top"
pkg_add -r qemu
| Once installed, load kqemu and aio kernel modules:
| style="background:lightgray; " | <tt>kldload kqemu<br>kldload aio</tt>


|- valign="top"
Once installed, load kqemu and aio kernel modules:
| and launch the image you want:
| style="background:lightgray; " | <tt>qemu -hda olpc-stream-development-7-20060609_1600-ext3.img</tt>


|}
kldload kqemu
kldload aio

and launch the image you want:

qemu -hda olpc-stream-development-7-20060609_1600-ext3.img


=== Quick Start: Get image ===
=== Quick Start: Get image ===

Revision as of 00:41, 24 May 2007

This page is an inprogress overhaul of OS images for emulation.

Quick Start

Mac Quick Start

Linux Quick Start

FreeBSD Quick Start

Install qemu from ports: cd /usr/ports/emulators/qemu && make install clean
or as a package pkg_add -r qemu
Once installed, load kqemu and aio kernel modules: kldload kqemu
kldload aio
and launch the image you want: qemu -hda olpc-stream-development-7-20060609_1600-ext3.img

Quick Start: Get image

Developing software using emulation