diff options
| author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2012-06-11 08:20:38 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-15 17:18:26 +0100 |
| commit | 857b2d45f63faa803296a5fba7b0e6a1b9a2989e (patch) | |
| tree | 52c8b20531879c4f45a027d0ce1ea75b7f2445b5 /documentation/poky-ref-manual | |
| parent | 8f67927df69ef9dc641de05f4b3ef9bc3a63eee4 (diff) | |
| download | poky-857b2d45f63faa803296a5fba7b0e6a1b9a2989e.tar.gz | |
documentation/poky-ref-manual/development.xml: Removed pre-built section
Removed the section about developing binaries using QEMU. This section
is better placed in the YP Development Manual.
(From yocto-docs rev: 83a4e84b69051f217993d80b525e9d07d64d1c6d)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/poky-ref-manual')
| -rw-r--r-- | documentation/poky-ref-manual/development.xml | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/documentation/poky-ref-manual/development.xml b/documentation/poky-ref-manual/development.xml index 419c3a4f3a..8508a5eb31 100644 --- a/documentation/poky-ref-manual/development.xml +++ b/documentation/poky-ref-manual/development.xml | |||
| @@ -97,65 +97,6 @@ | |||
| 97 | </para> | 97 | </para> |
| 98 | </section> | 98 | </section> |
| 99 | 99 | ||
| 100 | <section id="platdev-appdev-qemu"> | ||
| 101 | <title>External Development Using the QEMU Emulator</title> | ||
| 102 | <para> | ||
| 103 | Running Poky QEMU images is covered in the | ||
| 104 | "<ulink url='&YOCTO_DOCS_QS_URL;#test-run'>A Quick Test Run</ulink>" | ||
| 105 | section of the Yocto Project Quick Start. | ||
| 106 | </para> | ||
| 107 | <para> | ||
| 108 | The QEMU images shipped with the Yocto Project contain complete toolchains | ||
| 109 | native to their target architectures. | ||
| 110 | This support allows you to develop applications within QEMU similar to the way | ||
| 111 | you would using a normal host development system. | ||
| 112 | </para> | ||
| 113 | |||
| 114 | <para> | ||
| 115 | Speed can be an issue depending on the target and host architecture mix. | ||
| 116 | For example, using the <filename>qemux86</filename> image in the emulator | ||
| 117 | on an Intel-based 32-bit (x86) host machine is fast because the target and | ||
| 118 | host architectures match. | ||
| 119 | On the other hand, using the <filename>qemuarm</filename> image on the same Intel-based | ||
| 120 | host can be slower. | ||
| 121 | But, you still achieve faithful emulation of ARM-specific issues. | ||
| 122 | </para> | ||
| 123 | |||
| 124 | <para> | ||
| 125 | To speed things up, the QEMU images support using <filename>distcc</filename> | ||
| 126 | to call a cross-compiler outside the emulated system. | ||
| 127 | If you used <filename>runqemu</filename> to start QEMU, and | ||
| 128 | <filename>distccd</filename> is present on the host system, any BitBake cross-compiling | ||
| 129 | toolchain available from the build system is automatically | ||
| 130 | used from within QEMU simply by calling <filename>distcc</filename>. | ||
| 131 | You can accomplish this by defining the cross-compiler variable | ||
| 132 | (e.g. <filename>export CC="distcc"</filename>). | ||
| 133 | Alternatively, if a suitable SDK/toolchain is present in | ||
| 134 | <filename>/opt/poky</filename> the toolchain is also automatically used. | ||
| 135 | </para> | ||
| 136 | |||
| 137 | <para> | ||
| 138 | Several mechanisms exist that let you connect to the system running on the | ||
| 139 | QEMU emulator: | ||
| 140 | <itemizedlist> | ||
| 141 | <listitem><para>QEMU provides a framebuffer interface that makes standard | ||
| 142 | consoles available.</para></listitem> | ||
| 143 | <listitem><para>Generally, headless embedded devices have a serial port. | ||
| 144 | If so, you can configure the operating system of the running image | ||
| 145 | to use that port to run a console. | ||
| 146 | The connection uses standard IP networking.</para></listitem> | ||
| 147 | <listitem><para>The QEMU images have a Dropbear secure shell (ssh) server | ||
| 148 | that runs with the root password disabled. | ||
| 149 | This allows you to use standard <filename>ssh</filename> and | ||
| 150 | <filename>scp</filename> commands.</para></listitem> | ||
| 151 | <listitem><para>The QEMU images also contain an embedded Network Files | ||
| 152 | System (NFS) server that exports the image's root filesystem. | ||
| 153 | This allows you to make the filesystem available to the | ||
| 154 | host.</para></listitem> | ||
| 155 | </itemizedlist> | ||
| 156 | </para> | ||
| 157 | </section> | ||
| 158 | |||
| 159 | <section id="platdev-appdev-insitu"> | 100 | <section id="platdev-appdev-insitu"> |
| 160 | <title>Development Using Yocto Project Directly</title> | 101 | <title>Development Using Yocto Project Directly</title> |
| 161 | <para> | 102 | <para> |
