diff options
Diffstat (limited to 'documentation/yocto-project-qs/yocto-project-qs.xml')
-rw-r--r-- | documentation/yocto-project-qs/yocto-project-qs.xml | 42 |
1 files changed, 27 insertions, 15 deletions
diff --git a/documentation/yocto-project-qs/yocto-project-qs.xml b/documentation/yocto-project-qs/yocto-project-qs.xml index b97b1db875..f52c699c82 100644 --- a/documentation/yocto-project-qs/yocto-project-qs.xml +++ b/documentation/yocto-project-qs/yocto-project-qs.xml | |||
@@ -325,6 +325,8 @@ | |||
325 | </listitem> | 325 | </listitem> |
326 | </itemizedlist> | 326 | </itemizedlist> |
327 | 327 | ||
328 | <section id='installing-the-toolchain-and-setting-up-the-environment'> | ||
329 | <title>Installing the Toolchain and Setting Up the Environment</title> | ||
328 | <para> | 330 | <para> |
329 | You can download the pre-built toolchain, which includes the poky-qemu script and | 331 | You can download the pre-built toolchain, which includes the poky-qemu script and |
330 | support files, from <ulink url='http://yoctoproject.org/downloads/yocto-0.9/toolchain/'></ulink>. | 332 | support files, from <ulink url='http://yoctoproject.org/downloads/yocto-0.9/toolchain/'></ulink>. |
@@ -372,6 +374,24 @@ | |||
372 | </para> | 374 | </para> |
373 | 375 | ||
374 | <para> | 376 | <para> |
377 | The following command form sets up the emulation environment. | ||
378 | </para> | ||
379 | |||
380 | <literallayout class='monospaced'> | ||
381 | $ source /opt/poky/environment-setup-<<emphasis>arch</emphasis>>-poky-linux-<<emphasis>if</emphasis>> | ||
382 | |||
383 | Where: | ||
384 | <<emphasis>arch</emphasis>> is a string representing the target architecture: | ||
385 | i586, x86-64, ppc603e, mips, or armv5te. | ||
386 | |||
387 | <<emphasis>if</emphasis>> is a string representing an embedded application binary interface. | ||
388 | Not all setup scripts include this string. | ||
389 | </literallayout> | ||
390 | </section> | ||
391 | |||
392 | <section id='downloading-the-pre-built-linux-kernel'> | ||
393 | <title>Downloading the Pre-Built Linux Kernel</title> | ||
394 | <para> | ||
375 | You can download the pre-built Linux kernel and the filesystem image suitable for | 395 | You can download the pre-built Linux kernel and the filesystem image suitable for |
376 | running in the emulator QEMU from | 396 | running in the emulator QEMU from |
377 | <ulink url='http://yoctoproject.org/downloads/yocto-0.9/qemu'></ulink>. | 397 | <ulink url='http://yoctoproject.org/downloads/yocto-0.9/qemu'></ulink>. |
@@ -390,7 +410,10 @@ | |||
390 | <<emphasis>arch</emphasis>> is a string representing the target architecture: | 410 | <<emphasis>arch</emphasis>> is a string representing the target architecture: |
391 | x86, x86-64, ppc, mips, or arm. | 411 | x86, x86-64, ppc, mips, or arm. |
392 | </literallayout> | 412 | </literallayout> |
413 | </section> | ||
393 | 414 | ||
415 | <section id='downloading-the-filesystem'> | ||
416 | <title>Downloading the Filesystem</title> | ||
394 | <para> | 417 | <para> |
395 | The filesystem image has two forms. | 418 | The filesystem image has two forms. |
396 | One form is an <filename>ext3</filename> filesystem image. | 419 | One form is an <filename>ext3</filename> filesystem image. |
@@ -409,22 +432,10 @@ | |||
409 | <<emphasis>arch</emphasis>> is a string representing the target architecture: | 432 | <<emphasis>arch</emphasis>> is a string representing the target architecture: |
410 | x86, x86-64, ppc, mips, or arm. | 433 | x86, x86-64, ppc, mips, or arm. |
411 | </literallayout> | 434 | </literallayout> |
435 | </section> | ||
412 | 436 | ||
413 | <para> | 437 | <section id='starting-the-qemu-emulator'> |
414 | The following command form sets up the emulation environment. | 438 | <title>Starting the QEMU Emulator</title> |
415 | </para> | ||
416 | |||
417 | <literallayout class='monospaced'> | ||
418 | $ source /opt/poky/environment-setup-<<emphasis>arch</emphasis>>-poky-linux-<<emphasis>if</emphasis>> | ||
419 | |||
420 | Where: | ||
421 | <<emphasis>arch</emphasis>> is a string representing the target architecture: | ||
422 | i586, x86-64, ppc603e, mips, or armv5te. | ||
423 | |||
424 | <<emphasis>if</emphasis>> is a string representing an embedded application binary interface. | ||
425 | Not all setup scripts include this string. | ||
426 | </literallayout> | ||
427 | |||
428 | <para> | 439 | <para> |
429 | Finally, this command form invokes the QEMU emulator | 440 | Finally, this command form invokes the QEMU emulator |
430 | </para> | 441 | </para> |
@@ -453,6 +464,7 @@ | |||
453 | $ source /opt/poky/environment-setup-i586-poky-linux | 464 | $ source /opt/poky/environment-setup-i586-poky-linux |
454 | $ poky-qemu qemui586 zImage-2.6.34-qemux86-0.9 yocto-image-sdk-qemux86-0.9.rootfs.ext3 ext3 | 465 | $ poky-qemu qemui586 zImage-2.6.34-qemux86-0.9 yocto-image-sdk-qemux86-0.9.rootfs.ext3 ext3 |
455 | </literallayout> | 466 | </literallayout> |
467 | </section> | ||
456 | 468 | ||
457 | </section> | 469 | </section> |
458 | </section> | 470 | </section> |