diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2016-03-17 12:59:39 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-23 21:56:08 +0000 |
commit | 19e3648390b011715f7446161a05d9d568aed765 (patch) | |
tree | c3a0ff6e34ffd734ea89687927f2b406dbc764be /documentation/dev-manual/dev-manual-model.xml | |
parent | a3896841f2d8ddeaef3c18d18d5658b7449d1089 (diff) | |
download | poky-19e3648390b011715f7446161a05d9d568aed765.tar.gz |
dev-manual: Edits from a 2.1 read-through.
* Removed some eMenlow stuff
* Cleaned up the description of the BSP structures we have now.
* Various links fixed into the SDK manual.
* Other minor fixes.
(From yocto-docs rev: 5e45005d7ff2254df2754a5ea2d7efd7f1c19a42)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual/dev-manual-model.xml')
-rw-r--r-- | documentation/dev-manual/dev-manual-model.xml | 126 |
1 files changed, 81 insertions, 45 deletions
diff --git a/documentation/dev-manual/dev-manual-model.xml b/documentation/dev-manual/dev-manual-model.xml index 4fb1e61559..838fc58922 100644 --- a/documentation/dev-manual/dev-manual-model.xml +++ b/documentation/dev-manual/dev-manual-model.xml | |||
@@ -48,7 +48,9 @@ | |||
48 | that allows you to start builds and examine build statistics. | 48 | that allows you to start builds and examine build statistics. |
49 | </para></listitem> | 49 | </para></listitem> |
50 | <listitem><para><emphasis>Using a Development Shell:</emphasis> | 50 | <listitem><para><emphasis>Using a Development Shell:</emphasis> |
51 | You can use a <filename>devshell</filename> to efficiently debug | 51 | You can use a |
52 | <link linkend='platdev-appdev-devshell'><filename>devshell</filename></link> | ||
53 | to efficiently debug | ||
52 | commands or simply edit packages. | 54 | commands or simply edit packages. |
53 | Working inside a development shell is a quick way to set up the | 55 | Working inside a development shell is a quick way to set up the |
54 | OpenEmbedded build environment to work on parts of a project. | 56 | OpenEmbedded build environment to work on parts of a project. |
@@ -147,38 +149,60 @@ | |||
147 | "<ulink url='&YOCTO_DOCS_BSP_URL;#creating-a-new-bsp-layer-using-the-yocto-bsp-script'>Creating a New BSP Layer Using the yocto-bsp Script</ulink>" | 149 | "<ulink url='&YOCTO_DOCS_BSP_URL;#creating-a-new-bsp-layer-using-the-yocto-bsp-script'>Creating a New BSP Layer Using the yocto-bsp Script</ulink>" |
148 | section in the Yocto Project Board Support (BSP) Developer's Guide. | 150 | section in the Yocto Project Board Support (BSP) Developer's Guide. |
149 | </para> | 151 | </para> |
152 | |||
150 | <para> | 153 | <para> |
151 | Another example that illustrates a layer is an application. | 154 | Another example that illustrates a layer |
152 | Suppose you are creating an application that has library or other dependencies in | 155 | is an application. |
153 | order for it to compile and run. | 156 | Suppose you are creating an application that has |
154 | The layer, in this case, would be where all the recipes that define those dependencies | 157 | library or other dependencies in order for it to |
155 | are kept. | 158 | compile and run. |
156 | The key point for a layer is that it is an isolated area that contains | 159 | The layer, in this case, would be where all the |
157 | all the relevant information for the project that the OpenEmbedded build | 160 | recipes that define those dependencies are kept. |
158 | system knows about. | 161 | The key point for a layer is that it is an isolated |
159 | For more information on layers, see the | 162 | area that contains all the relevant information for |
160 | "<link linkend='understanding-and-creating-layers'>Understanding and Creating Layers</link>" | 163 | the project that the OpenEmbedded build system knows |
161 | section. | 164 | about. |
162 | For more information on BSP layers, see the | 165 | For more information on layers, see the |
163 | "<ulink url='&YOCTO_DOCS_BSP_URL;#bsp-layers'>BSP Layers</ulink>" section in the | 166 | "<link linkend='understanding-and-creating-layers'>Understanding and Creating Layers</link>" |
164 | Yocto Project Board Support Package (BSP) Developer's Guide.</para> | 167 | section. |
165 | <note>Five BSPs exist that are part of the | 168 | For more information on BSP layers, see the |
166 | Yocto Project release: <filename>genericx86</filename>, <filename>genericx86-64</filename>, | 169 | "<ulink url='&YOCTO_DOCS_BSP_URL;#bsp-layers'>BSP Layers</ulink>" |
167 | <filename>beaglebone</filename> (ARM), | 170 | section in the Yocto Project Board Support Package (BSP) |
168 | <filename>mpc8315e</filename> (PowerPC), | 171 | Developer's Guide. |
169 | and <filename>edgerouter</filename> (MIPS). | 172 | <note> |
170 | The recipes and configurations for these five BSPs are located and dispersed | 173 | <para> |
171 | within the <link linkend='source-directory'>Source Directory</link>. | 174 | Five BSPs exist that are part of the Yocto Project release: |
172 | On the other hand, the <filename>meta-intel</filename> layer | 175 | <filename>beaglebone</filename> (ARM), |
173 | contains BSP layers for many supported BSPs (e.g. | 176 | <filename>mpc8315e</filename> (PowerPC), |
174 | Crystal Forest, Emenlow, Fish River Island 2, Haswell, | 177 | and <filename>edgerouter</filename> (MIPS). |
175 | Jasper Forest, and so forth). | 178 | The recipes and configurations for these five BSPs |
176 | Aside from the BSPs in the <filename>meta-intel</filename> | 179 | are located and dispersed within the |
177 | layer, the | 180 | <link linkend='source-directory'>Source Directory</link>. |
178 | <ulink url='&YOCTO_GIT_URL;'>Source Repositories</ulink> | 181 | </para> |
179 | contain additional BSP layers such as | 182 | |
180 | <filename>meta-minnow</filename> and | 183 | <para> |
181 | <filename>meta-raspberrypi</filename>.</note> | 184 | Three core Intel BSPs exist as part of the Yocto |
185 | Project release in the | ||
186 | <filename>meta-intel</filename> layer: | ||
187 | <itemizedlist> | ||
188 | <listitem><para><filename>intel-core2-32</filename>, | ||
189 | which is a BSP optimized for the Core2 family of CPUs | ||
190 | as well as all CPUs prior to the Silvermont core. | ||
191 | </para></listitem> | ||
192 | <listitem><para><filename>intel-corei7-64</filename>, | ||
193 | which is a BSP optimized for Nehalem and later | ||
194 | Core and Xeon CPUs as well as Silvermont and later | ||
195 | Atom CPUs, such as the Baytrail SoCs. | ||
196 | </para></listitem> | ||
197 | <listitem><para><filename>intel-quark</filename>, | ||
198 | which is a BSP optimized for the Intel Galileo | ||
199 | gen1 & gen2 development boards. | ||
200 | </para></listitem> | ||
201 | </itemizedlist> | ||
202 | </para> | ||
203 | </note> | ||
204 | </para> | ||
205 | |||
182 | <para>When you set up a layer for a new BSP, you should follow a standard layout. | 206 | <para>When you set up a layer for a new BSP, you should follow a standard layout. |
183 | This layout is described in the | 207 | This layout is described in the |
184 | "<ulink url='&YOCTO_DOCS_BSP_URL;#bsp-filelayout'>Example Filesystem Layout</ulink>" | 208 | "<ulink url='&YOCTO_DOCS_BSP_URL;#bsp-filelayout'>Example Filesystem Layout</ulink>" |
@@ -289,18 +313,6 @@ | |||
289 | the Yocto Project: | 313 | the Yocto Project: |
290 | <itemizedlist> | 314 | <itemizedlist> |
291 | <listitem><para><emphasis> | 315 | <listitem><para><emphasis> |
292 | <filename>linux-yocto-3.8</filename></emphasis> - The | ||
293 | stable Yocto Project kernel to use with the Yocto | ||
294 | Project Release 1.4. This kernel is based on the | ||
295 | Linux 3.8 released kernel. | ||
296 | </para></listitem> | ||
297 | <listitem><para><emphasis> | ||
298 | <filename>linux-yocto-3.10</filename></emphasis> - An | ||
299 | additional, unsupported Yocto Project kernel used with | ||
300 | the Yocto Project Release 1.5. | ||
301 | This kernel is based on the Linux 3.10 released kernel. | ||
302 | </para></listitem> | ||
303 | <listitem><para><emphasis> | ||
304 | <filename>linux-yocto-3.14</filename></emphasis> - The | 316 | <filename>linux-yocto-3.14</filename></emphasis> - The |
305 | stable Yocto Project kernel to use with the Yocto | 317 | stable Yocto Project kernel to use with the Yocto |
306 | Project Releases 1.6 and 1.7. | 318 | Project Releases 1.6 and 1.7. |
@@ -319,11 +331,35 @@ | |||
319 | This kernel is based on the Linux 3.19 released kernel. | 331 | This kernel is based on the Linux 3.19 released kernel. |
320 | </para></listitem> | 332 | </para></listitem> |
321 | <listitem><para><emphasis> | 333 | <listitem><para><emphasis> |
334 | <filename>linux-yocto-4.1</filename></emphasis> - The | ||
335 | stable Yocto Project kernel to use with the Yocto | ||
336 | Project Release 2.0. | ||
337 | This kernel is based on the Linux 4.1 released kernel. | ||
338 | </para></listitem> | ||
339 | <listitem><para><emphasis> | ||
340 | <filename>linux-yocto-4.4</filename></emphasis> - The | ||
341 | stable Yocto Project kernel to use with the Yocto | ||
342 | Project Release 2.1. | ||
343 | This kernel is based on the Linux 4.4 released kernel. | ||
344 | </para></listitem> | ||
345 | <listitem><para><emphasis> | ||
322 | <filename>linux-yocto-dev</filename></emphasis> - A | 346 | <filename>linux-yocto-dev</filename></emphasis> - A |
323 | development kernel based on the latest upstream release | 347 | development kernel based on the latest upstream release |
324 | candidate available. | 348 | candidate available. |
325 | </para></listitem> | 349 | </para></listitem> |
326 | </itemizedlist> | 350 | </itemizedlist> |
351 | <note> | ||
352 | Long Term Support Initiative (LTSI) for Yocto Project kernels | ||
353 | is as follows: | ||
354 | <itemizedlist> | ||
355 | <listitem><para>For Yocto Project releases 1.7, 1.8, and 2.0, | ||
356 | the LTSI kernel is <filename>linux-yocto-3.14</filename>. | ||
357 | </para></listitem> | ||
358 | <listitem><para>For Yocto Project release 2.1, the | ||
359 | LTSI kernel is <filename>linux-yocto-4.1</filename>. | ||
360 | </para></listitem> | ||
361 | </itemizedlist> | ||
362 | </note> | ||
327 | </para> | 363 | </para> |
328 | 364 | ||
329 | <para> | 365 | <para> |
@@ -538,7 +574,7 @@ | |||
538 | Tools exist to help the application developer during any phase | 574 | Tools exist to help the application developer during any phase |
539 | of development. | 575 | of development. |
540 | For information on how to install and use an SDK, see the | 576 | For information on how to install and use an SDK, see the |
541 | <ulink url='&YOCTO_DOCS_SDK_URL;#sdk-manual'>Yocto Project Software Development Kit (SDK) Developer's Guide</ulink>. | 577 | <ulink url='&YOCTO_DOCS_SDK_URL;#sdk-intro'>Yocto Project Software Development Kit (SDK) Developer's Guide</ulink>. |
542 | </para> | 578 | </para> |
543 | </section> | 579 | </section> |
544 | 580 | ||