<itemizedlist>
<listitem>
<para>
- Install the stand-alone Yocto toolchain tarball and then set up the
- environment to emulate the hardware.
+ Install the stand-alone Yocto toolchain tarball.
</para>
</listitem>
<listitem>
</listitem>
<listitem>
<para>
- Start the QEMU emulator.
+ Set up the environment to emulate the hardware and then start the QEMU emulator.
</para>
</listitem>
</itemizedlist>
- <section id='installing-the-toolchain-and-setting-up-the-environment'>
- <title>Installing the Toolchain and Setting Up the Environment</title>
+ <section id='installing-the-toolchain'>
+ <title>Installing the Toolchain</title>
<para>
You can download the pre-built toolchain, which includes the poky-qemu script and
support files, from <ulink url='http://yoctoproject.org/downloads/yocto-0.9/toolchain/'></ulink>.
$ sudo tar -xvjf yocto-eglibc-x86_64-i586-toolchain-sdk-0.9.tar.bz2
</literallayout>
</para>
-
- <para>
- The following command form sets up the emulation environment.
- </para>
-
- <literallayout class='monospaced'>
- $ source /opt/poky/environment-setup-<<emphasis>arch</emphasis>>-poky-linux-<<emphasis>if</emphasis>>
-
- Where:
- <<emphasis>arch</emphasis>> is a string representing the target architecture:
- i586, x86-64, ppc603e, mips, or armv5te.
-
- <<emphasis>if</emphasis>> is a string representing an embedded application binary interface.
- Not all setup scripts include this string.
- </literallayout>
</section>
<section id='downloading-the-pre-built-linux-kernel'>
</literallayout>
</section>
- <section id='starting-the-qemu-emulator'>
- <title>Starting the QEMU Emulator</title>
+ <section id='setting-up-the-environment-and-starting-the-qemu-emulator'>
+ <title>Setting Up the Environment and Starting the QEMU Emulator</title>
+ <para>
+ Before you start the QEMU emulator you need to set up the emulation environment.
+ The following command form sets up the emulation environment.
+ </para>
+
+ <literallayout class='monospaced'>
+ $ source /opt/poky/environment-setup-<<emphasis>arch</emphasis>>-poky-linux-<<emphasis>if</emphasis>>
+
+ Where:
+ <<emphasis>arch</emphasis>> is a string representing the target architecture:
+ i586, x86_64, ppc603e, mips, or armv5te.
+
+ <<emphasis>if</emphasis>> is a string representing an embedded application binary interface.
+ Not all setup scripts include this string.
+ </literallayout>
+
<para>
Finally, this command form invokes the QEMU emulator
</para>
<para>
Continuing with the example, the following two commands setup the emulation
- environment and launch QEMu.
+ environment and launch QEMU.
The kernel and filesystem are for a 32-bit target architecture.
</para>