From ae64a41af54c322ec048dc4d116c87971121ef39 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 7 Mar 2018 16:24:26 -0800 Subject: bsp-guide: Edits to "Preparing Your Build Host to Work with BSP Layers" Applied some edits to make the section more up-to-date. Dumped minnow as a BSP example for raspberrypi. (From yocto-docs rev: a40515bad28d07d736e1ddd1832c19b074749d53) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/bsp-guide/bsp.xml | 50 ++++++++++++++++++++++++----------------- 1 file changed, 30 insertions(+), 20 deletions(-) diff --git a/documentation/bsp-guide/bsp.xml b/documentation/bsp-guide/bsp.xml index e026cefd8c..8bc27cc207 100644 --- a/documentation/bsp-guide/bsp.xml +++ b/documentation/bsp-guide/bsp.xml @@ -162,7 +162,7 @@ to work with BSP layers. Once you have the host set up, you can create the layer as described in the - "Creating a new BSP Layer Using the yocto-bsp Script" + "Creating a new BSP Layer Using the bitbake-layers Script" section. For structural information on BSPs, see the @@ -188,7 +188,7 @@ "Cloning the poky Repository" and possibly the "Checking Out by Branch in Poky" - and + or "Checking Out by Tag in Poky" sections all in the Yocto Project Development Tasks Manual for information on how to clone the poky @@ -221,17 +221,20 @@ inside the Source Directory (e.g. poky). + + $ cd /home/you/poky + Clone the Layer: $ git clone git://git.yoctoproject.org/meta-intel.git Cloning into 'meta-intel'... - remote: Counting objects: 14224, done. - remote: Compressing objects: 100% (4591/4591), done. - remote: Total 14224 (delta 8245), reused 13985 (delta 8006) - Receiving objects: 100% (14224/14224), 4.29 MiB | 2.90 MiB/s, done. - Resolving deltas: 100% (8245/8245), done. + remote: Counting objects: 15585, done. + remote: Compressing objects: 100% (5056/5056), done. + remote: Total 15585 (delta 9123), reused 15329 (delta 8867) + Receiving objects: 100% (15585/15585), 4.51 MiB | 3.19 MiB/s, done. + Resolving deltas: 100% (9123/9123), done. Checking connectivity... done. @@ -242,12 +245,19 @@ branch you are using for the Yocto Project release (e.g. &DISTRO_NAME_NO_CAP;): - $ git checkout branch_name + $ cd meta-intel + $ git checkout -b &DISTRO_NAME_NO_CAP; remotes/origin/&DISTRO_NAME_NO_CAP; + Branch &DISTRO_NAME_NO_CAP; set up to track remote branch &DISTRO_NAME_NO_CAP; from origin. + Switched to a new branch '&DISTRO_NAME_NO_CAP;' - For an example on how to discover branch names and - checkout on a branch, see the - "Checking Out By Branch in Poky" - section in the Yocto Project Development Tasks Manual. + + To see the available branch names in a cloned repository, + use the git branch -al command. + See the + "Checking Out By Branch in Poky" + section in the Yocto Project Development Tasks + Manual for more information. + @@ -261,16 +271,16 @@ meta-intel layer except for the layer's name. For example, if you determine that your hardware most - closely matches the meta-minnow, + closely matches the meta-raspberrypi, clone that layer: - $ git clone git://git.yoctoproject.org/meta-minnow - Cloning into 'meta-minnow'... - remote: Counting objects: 456, done. - remote: Compressing objects: 100% (283/283), done. - remote: Total 456 (delta 163), reused 384 (delta 91) - Receiving objects: 100% (456/456), 96.74 KiB | 0 bytes/s, done. - Resolving deltas: 100% (163/163), done. + $ git clone git://git.yoctoproject.org/meta-raspberrypi + Cloning into 'meta-raspberrypi'... + remote: Counting objects: 4743, done. + remote: Compressing objects: 100% (2185/2185), done. + remote: Total 4743 (delta 2447), reused 4496 (delta 2258) + Receiving objects: 100% (4743/4743), 1.18 MiB | 0 bytes/s, done. + Resolving deltas: 100% (2447/2447), done. Checking connectivity... done. -- cgit v1.2.3-54-g00ecf