diff options
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/yocto-project-qs/yocto-project-qs.xml | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/documentation/yocto-project-qs/yocto-project-qs.xml b/documentation/yocto-project-qs/yocto-project-qs.xml index 91b94af75b..40e322d094 100644 --- a/documentation/yocto-project-qs/yocto-project-qs.xml +++ b/documentation/yocto-project-qs/yocto-project-qs.xml | |||
@@ -276,9 +276,9 @@ | |||
276 | </section> | 276 | </section> |
277 | 277 | ||
278 | <section id='using-pre-built'> | 278 | <section id='using-pre-built'> |
279 | <title>Using a Pre-Built Linux Kernel for QEMU</title> | 279 | <title>Using a Pre-Built Binaries and QEMU</title> |
280 | <para> | 280 | <para> |
281 | If hardware, libraries and services are stable you can use a pre-built image of the kernel and just run it on the target using the emulator QEMU. | 281 | If hardware, libraries and services are stable you can use a pre-built image of the image, kernel and toolchain and just run it on the target using the emulator QEMU. |
282 | This situation is perfect for developing application software. | 282 | This situation is perfect for developing application software. |
283 | </para> | 283 | </para> |
284 | 284 | ||
@@ -302,7 +302,7 @@ | |||
302 | <itemizedlist> | 302 | <itemizedlist> |
303 | <listitem> | 303 | <listitem> |
304 | <para> | 304 | <para> |
305 | Install the Yocto Project Scripts | 305 | Install the standalone Yocto toolchain tarball |
306 | </para> | 306 | </para> |
307 | </listitem> | 307 | </listitem> |
308 | <listitem> | 308 | <listitem> |
@@ -319,12 +319,14 @@ | |||
319 | </itemizedlist> | 319 | </itemizedlist> |
320 | 320 | ||
321 | <para> | 321 | <para> |
322 | Use this command to install the patched Yocto Project QEMU scripts: | 322 | You can download the pre-built toolchain which includes the poky-qemu script and support files from <ulink url='http://yoctoproject.org/downloads/yoctolinux-0.9/toolchain/'></ulink>. These are available for i586 (32-bit) and x86_64 (64 bit) host machines, targeting each of the 5 supported target architectures. The tarballs are self contained and install into /opt/poky. |
323 | Use these commands to install the toolchain tarball (taking the 64 bit host, 32 bit i586 target as an example): | ||
323 | </para> | 324 | </para> |
324 | 325 | ||
325 | <para> | 326 | <para> |
326 | <literallayout class='monospaced'> | 327 | <literallayout class='monospaced'> |
327 | $ apt-get install qemu poky-scripts | 328 | $ cd / |
329 | $ sudo tar -xvjf yoctolinux-eglibc-x86_64-i586-toolchain-sdk-0.9.tar.bz2 | ||
328 | </literallayout> | 330 | </literallayout> |
329 | </para> | 331 | </para> |
330 | 332 | ||
@@ -347,10 +349,11 @@ | |||
347 | </literallayout> | 349 | </literallayout> |
348 | 350 | ||
349 | <para> | 351 | <para> |
350 | You can now start the emulator using this command: | 352 | You can now start the emulator using these commands (assuming an 32 bit i586 target): |
351 | </para> | 353 | </para> |
352 | 354 | ||
353 | <literallayout class='monospaced'> | 355 | <literallayout class='monospaced'> |
356 | $ source /opt/poky/environment-setup-i586-poky-linux | ||
354 | $ poky-qemu <<emphasis>kernel</emphasis>> <<emphasis>image</emphasis>> | 357 | $ poky-qemu <<emphasis>kernel</emphasis>> <<emphasis>image</emphasis>> |
355 | </literallayout> | 358 | </literallayout> |
356 | </section> | 359 | </section> |