diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2010-10-22 08:36:29 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-10-27 07:51:02 +0100 |
commit | 27e2d19e6dbe2b3752ed2d81ae191b7f391ab8b2 (patch) | |
tree | 6908469b03d934eb19f0bd5206430d17bd6662ca /documentation | |
parent | aea5da08ffe120ae835f26cbd2aba4143b364078 (diff) | |
download | poky-27e2d19e6dbe2b3752ed2d81ae191b7f391ab8b2.tar.gz |
Updated the yocto-environment picture and added example command edits.
When scaled to fit the page the picture had a black vertical line
artifact to the right. I snipped out the image a little tigher to
eliminate this line.
I also incorporated Dirk's comments tightening up the sequence of
example commands to do the build. I incorporated Fedora 14 note
and addition of the BB_NUMBER_THREADS and PARALLEL_MAKE variables.
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Diffstat (limited to 'documentation')
-rwxr-xr-x | documentation/yocto-project-qs/figures/yocto-environment.png | bin | 52531 -> 63851 bytes | |||
-rw-r--r-- | documentation/yocto-project-qs/yocto-project-qs.xml | 82 |
2 files changed, 45 insertions, 37 deletions
diff --git a/documentation/yocto-project-qs/figures/yocto-environment.png b/documentation/yocto-project-qs/figures/yocto-environment.png index 10f34ac902..04e6092749 100755 --- a/documentation/yocto-project-qs/figures/yocto-environment.png +++ b/documentation/yocto-project-qs/figures/yocto-environment.png | |||
Binary files differ | |||
diff --git a/documentation/yocto-project-qs/yocto-project-qs.xml b/documentation/yocto-project-qs/yocto-project-qs.xml index 391336d68b..afffc02717 100644 --- a/documentation/yocto-project-qs/yocto-project-qs.xml +++ b/documentation/yocto-project-qs/yocto-project-qs.xml | |||
@@ -48,7 +48,8 @@ | |||
48 | 48 | ||
49 | <mediaobject> | 49 | <mediaobject> |
50 | <imageobject> | 50 | <imageobject> |
51 | <imagedata fileref="figures/yocto-environment.png" format="PNG" align='center' scalefit='1'/> | 51 | <imagedata fileref="figures/yocto-environment.png" |
52 | format="PNG" align='center' scalefit='1' width="100%"/> | ||
52 | </imageobject> | 53 | </imageobject> |
53 | <caption> | 54 | <caption> |
54 | <para>The Yocto Project Development Environment</para> | 55 | <para>The Yocto Project Development Environment</para> |
@@ -199,8 +200,10 @@ | |||
199 | The build creates an entire Linux system including the Toolchain from the source. | 200 | The build creates an entire Linux system including the Toolchain from the source. |
200 | </para> | 201 | </para> |
201 | 202 | ||
202 | <para><emphasis>NOTE:</emphasis> The build process using Sato currently consumes 50GB of disk space. | 203 | <para><emphasis>NOTE:</emphasis> The build process using Sato currently consumes |
203 | To allow for variations in the build process and for future package expansion we recommend 100GB of free disk space. | 204 | 50GB of disk space. |
205 | To allow for variations in the build process and for future package expansion we | ||
206 | recommend 100GB of free disk space. | ||
204 | </para> | 207 | </para> |
205 | 208 | ||
206 | <para> | 209 | <para> |
@@ -208,44 +211,49 @@ | |||
208 | $ wget http://www.yoctoproject.org/downloads/poky/poky-laverne-4.0.tar.bz2 | 211 | $ wget http://www.yoctoproject.org/downloads/poky/poky-laverne-4.0.tar.bz2 |
209 | $ tar xjf poky-laverne-4.0.tar.bz2 | 212 | $ tar xjf poky-laverne-4.0.tar.bz2 |
210 | $ source poky-4.0/poky-init-build-env poky-4.0-build | 213 | $ source poky-4.0/poky-init-build-env poky-4.0-build |
211 | $ cd poky-4.0-build | ||
212 | $ bitbake poky-image-sato | ||
213 | $ poky-qemu qemux86 | ||
214 | </literallayout> | 214 | </literallayout> |
215 | </para> | 215 | </para> |
216 | |||
217 | <para> | ||
218 | Here is some explanation for these commands: | ||
219 | </para> | ||
220 | |||
221 | <itemizedlist> | 216 | <itemizedlist> |
222 | <listitem> | 217 | <listitem><para>The first two commands extract the Yocto Project files from the |
223 | <para> | 218 | release area and place them into a subdirectory of your current directory |
224 | The first two commands extract the Yocto Project files from the release area and place them into your build area (<command>poky-4.0-build</command> in this example). | 219 | (<command>poky-4.0-build</command> in this example).</para></listitem> |
225 | </para> | 220 | <listitem><para>The <command>$ source</command> command creates the directory and places |
226 | </listitem> | 221 | you there. |
227 | <listitem> | 222 | The build directory contains all the object files used during the build. |
228 | <para> | 223 | The default build directory is <command>poky-4.0-build</command>. |
229 | The next two commands create the directory and place you there. | 224 | Note that you can change the target architecture by editing the |
230 | The build directory contains all the object files used during the build. | 225 | <command><build_directory>/conf/local.conf</command> file. |
231 | The default build directory is <command>poky-dir/build</command>. | 226 | By default the target architecture is qemux86.</para></listitem> |
232 | Note that you can change the target architecture by editing the | ||
233 | <command><build_directory>/conf/local.conf</command> file. | ||
234 | By default the target architecture is qemux86. | ||
235 | </para> | ||
236 | </listitem> | ||
237 | <listitem> | ||
238 | <para> | ||
239 | The <command>$bitbake</command> command builds the OS image for the target. | ||
240 | Here poky-image-sato is the name of the target. | ||
241 | </para> | ||
242 | </listitem> | ||
243 | <listitem> | ||
244 | <para> | ||
245 | Finally, the <command>$poky-qemu</command> command launches the customized QEMU. | ||
246 | </para> | ||
247 | </listitem> | ||
248 | </itemizedlist> | 227 | </itemizedlist> |
228 | <para> | ||
229 | Now might be a good time to edit the <command>conf/local.conf</command> | ||
230 | file. | ||
231 | The defaults should all be fine. However, you might want to look at the variables | ||
232 | BB_NUMBER_THREADS and PARALLEL_MAKE. | ||
233 | By default, these variables are commented out. | ||
234 | </para> | ||
235 | <para> | ||
236 | Continue with the following command to build the OS image for the target, which is | ||
237 | poky-image-sato in this example. | ||
238 | <literallayout class='monospaced'> | ||
239 | $ bitbake poky-image-sato | ||
240 | </literallayout> | ||
241 | <emphasis>NOTE:</emphasis> If you are running Fedora 14 or another distribution | ||
242 | with GNU make 3.82 you might have to run the following two | ||
243 | <command>$bitbake</command> commands instead: | ||
244 | <literallayout class='monospaced'> | ||
245 | $ bitbake make-native | ||
246 | $ bitbake poky-image-sato | ||
247 | </literallayout> | ||
248 | The final command runs the image: | ||
249 | <literallayout class='monospaced'> | ||
250 | $ poky-qemu qemux86 | ||
251 | </literallayout> | ||
252 | The build process could take several hours the first time you run it. | ||
253 | Depending on the number of processor and cores, the amount or RAM, the speed of your | ||
254 | internet connection and other factors. | ||
255 | After the initial build, subsequent builds run much faster. | ||
256 | </para> | ||
249 | </section> | 257 | </section> |
250 | 258 | ||
251 | <section id='using-pre-built'> | 259 | <section id='using-pre-built'> |