From 4dd2dc988629022cbc345fafe3afc329a0fbc1fc Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 17 Feb 2012 15:03:46 -0600 Subject: documentation/bsp-guide/bsp.xml: Edits for BSP Layer understanding I added a small section at the start of chapter to define a BSP Layer, note where the YP keeps them, and note that meta-intel is somewhat of a "super" layer as it contains several BSP layers of its own. (From yocto-docs rev: 2e044072660d3f675612e01e3871d6a4fb0894bd) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/bsp-guide/bsp.xml | 54 +++++++++++++++++++++++++++++++---------- 1 file changed, 41 insertions(+), 13 deletions(-) (limited to 'documentation/bsp-guide/bsp.xml') diff --git a/documentation/bsp-guide/bsp.xml b/documentation/bsp-guide/bsp.xml index 4deab843bc..1ada40e705 100644 --- a/documentation/bsp-guide/bsp.xml +++ b/documentation/bsp-guide/bsp.xml @@ -61,32 +61,52 @@ are separate components that happen to be combined in certain end products. -
- Example Filesystem Layout +
+ BSP Layers - The BSP consists of a file structure inside a base directory, which uses the following - naming convention: + The BSP consists of a file structure inside a base directory. + Collectively, you can think of the base directory and the file structure + as a BSP Layer. + BSP Layers use the following naming convention: meta-<bsp_name> + "bsp_name" is a placeholder for the machine or platform name. - "bsp_name" is a placeholder for the machine or platform name. - Here are some example base directory names: + The Yocto Project organizes BSP Layers within the Yocto Metadata Layers area + of the Yocto Project Source Repositories at + . + If you examine the source repositories, you will find many BSP Layers. + Here are a few: + meta-baryon + meta-fsl-ppc + meta-intel + meta-selinux + meta-ti + + It is worth noting that the meta-intel BSP Layer contains + within itself several other BSP Layers, which makes it sort of a "super" layer. + Following is a sampling of the BSP Layers that the meta-intel + BSP Layer contains: + + meta-cedartrail + meta-crownbay meta-emenlow - meta-n450 - meta-beagleboard + meta-fishriver + meta-fri2 - The base directory (meta-<bsp_name>) is the root of the BSP layer. + The layer's base directory (meta-<bsp_name>) is the root + of the BSP Layer. This root is what you add to the BBLAYERS variable in the build/conf/bblayers.conf file found in the - Yocto Project file's build directory. + Yocto Project Build Directory. Adding the root allows the Yocto Project build system to recognize the BSP definition and from it build an image. Here is an example: @@ -97,16 +117,24 @@ /usr/local/src/yocto/meta-<bsp_name> \ " + + + For more detailed information on layers, see the - "BitBake Layers" - section of the Yocto Project Reference Manual. + "Bitbake Layers" + section of the Yocto Project Development Manual. You can also see the detailed examples in the appendices of The Yocto Project Development Manual. +
+ + +
+ Example Filesystem Layout - Below is the common form for the file structure inside a base directory. + Below is the common form for the file structure inside a BSP Layer. While you can use this basic form for the standard, realize that the actual structures for specific BSPs could differ. -- cgit v1.2.3-54-g00ecf