]> code.ossystems Code Review - openembedded-core.git/commitdiff
Updated the yocto-environment picture and added example command edits.
authorScott Rifenbark <scott.m.rifenbark@intel.com>
Fri, 22 Oct 2010 15:36:29 +0000 (08:36 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Wed, 27 Oct 2010 06:51:02 +0000 (07:51 +0100)
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>
documentation/yocto-project-qs/figures/yocto-environment.png
documentation/yocto-project-qs/yocto-project-qs.xml

index 10f34ac90291a601a1266774c08e058fc3099d2d..04e6092749b71d2a4c4f5803bca0e3ed5521e323 100755 (executable)
Binary files a/documentation/yocto-project-qs/figures/yocto-environment.png and b/documentation/yocto-project-qs/figures/yocto-environment.png differ
index 391336d68b9765be70c049855ca4a56f175a4756..afffc02717310608d25d7676727a90f5b2bff9cb 100644 (file)
@@ -48,7 +48,8 @@
 
     <mediaobject>
         <imageobject>
-            <imagedata fileref="figures/yocto-environment.png" format="PNG" align='center' scalefit='1'/>
+            <imagedata fileref="figures/yocto-environment.png" 
+                format="PNG" align='center' scalefit='1' width="100%"/>
         </imageobject>
         <caption>
             <para>The Yocto Project Development Environment</para>
              The build creates an entire Linux system including the Toolchain from the source.
          </para>
 
-         <para><emphasis>NOTE:</emphasis>  The build process using Sato currently consumes 50GB of disk space.
-             To allow for variations in the build process and for future package expansion we recommend 100GB of free disk space.
+         <para><emphasis>NOTE:</emphasis>  The build process using Sato currently consumes 
+             50GB of disk space.
+             To allow for variations in the build process and for future package expansion we 
+             recommend 100GB of free disk space.
          </para>
 
          <para>
      $ wget http://www.yoctoproject.org/downloads/poky/poky-laverne-4.0.tar.bz2
      $ tar xjf poky-laverne-4.0.tar.bz2
      $ source poky-4.0/poky-init-build-env poky-4.0-build
-     $ cd poky-4.0-build
-     $ bitbake poky-image-sato
-     $ poky-qemu qemux86
              </literallayout>
          </para>
-
-         <para>
-             Here is some explanation for these commands:
-         </para>
-
          <itemizedlist>
-             <listitem>
-                 <para>
-                     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).
-                 </para>
-             </listitem>
-             <listitem>
-                 <para>
-                     The next two commands create the directory and place you there.  
-                     The build directory contains all the object files used during the build.   
-                     The default build directory is <command>poky-dir/build</command>.  
-                     Note that you can change the target architecture by editing the 
-                     <command>&lt;build_directory&gt;/conf/local.conf</command> file. 
-                     By default the target architecture is qemux86. 
-                  </para>
-             </listitem>
-             <listitem>
-                 <para>
-                     The <command>$bitbake</command> command builds the OS image for the target.  
-                     Here poky-image-sato is the name of the target.
-                 </para>
-             </listitem>
-             <listitem>
-                 <para>
-                     Finally, the <command>$poky-qemu</command> command launches the customized QEMU.
-                 </para>
-             </listitem>
+             <listitem><para>The first two commands extract the Yocto Project files from the 
+             release area and place them into a subdirectory of your current directory 
+             (<command>poky-4.0-build</command> in this example).</para></listitem>
+             <listitem><para>The <command>$ source</command> command creates the directory and places 
+             you there.  
+             The build directory contains all the object files used during the build.   
+             The default build directory is <command>poky-4.0-build</command>.  
+             Note that you can change the target architecture by editing the 
+             <command>&lt;build_directory&gt;/conf/local.conf</command> file. 
+             By default the target architecture is qemux86.</para></listitem>
          </itemizedlist>
+         <para>
+             Now might be a good time to edit the <command>conf/local.conf</command>
+             file.  
+             The defaults should all be fine.  However, you might want to look at the variables
+             BB_NUMBER_THREADS and PARALLEL_MAKE.
+             By default, these variables are commented out.
+         </para>
+         <para>
+             Continue with the following command to build the OS image for the target, which is 
+             poky-image-sato in this example.
+             <literallayout class='monospaced'>
+     $ bitbake poky-image-sato
+             </literallayout>
+             <emphasis>NOTE:</emphasis>  If you are running Fedora 14 or another distribution 
+             with GNU make 3.82 you might have to run the following two 
+             <command>$bitbake</command> commands instead:
+             <literallayout class='monospaced'>
+     $ bitbake make-native
+     $ bitbake poky-image-sato
+             </literallayout>
+             The final command runs the image:
+             <literallayout class='monospaced'>
+     $ poky-qemu qemux86
+             </literallayout>
+             The build process could take several hours the first time you run it. 
+             Depending on the number of processor and cores, the amount or RAM, the speed of your
+             internet connection and other factors.
+             After the initial build, subsequent builds run much faster.
+         </para>
     </section>
 
     <section id='using-pre-built'>