summaryrefslogtreecommitdiffstats
path: root/documentation/bsp-guide
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2018-03-07 16:24:26 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-25 09:41:11 +0100
commitae64a41af54c322ec048dc4d116c87971121ef39 (patch)
treed6f8d256c62b2fcf3c2eefc12b1ee1f873a5aa8d /documentation/bsp-guide
parent4c4076add1a6ce5d1bd39f61f64971332a4b4139 (diff)
downloadpoky-ae64a41af54c322ec048dc4d116c87971121ef39.tar.gz
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 <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/bsp-guide')
-rw-r--r--documentation/bsp-guide/bsp.xml50
1 files 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 @@
162 to work with BSP layers. 162 to work with BSP layers.
163 Once you have the host set up, you can create the layer 163 Once you have the host set up, you can create the layer
164 as described in the 164 as described in the
165 "<link linkend='creating-a-new-bsp-layer-using-the-bitbake-layers-script'>Creating a new BSP Layer Using the yocto-bsp Script</link>" 165 "<link linkend='creating-a-new-bsp-layer-using-the-bitbake-layers-script'>Creating a new BSP Layer Using the <filename>bitbake-layers</filename> Script</link>"
166 section. 166 section.
167 <note> 167 <note>
168 For structural information on BSPs, see the 168 For structural information on BSPs, see the
@@ -188,7 +188,7 @@
188 "<ulink url='&YOCTO_DOCS_DEV_URL;#cloning-the-poky-repository'>Cloning the <filename>poky</filename> Repository</ulink>" 188 "<ulink url='&YOCTO_DOCS_DEV_URL;#cloning-the-poky-repository'>Cloning the <filename>poky</filename> Repository</ulink>"
189 and possibly the 189 and possibly the
190 "<ulink url='&YOCTO_DOCS_DEV_URL;#checking-out-by-branch-in-poky'>Checking Out by Branch in Poky</ulink>" 190 "<ulink url='&YOCTO_DOCS_DEV_URL;#checking-out-by-branch-in-poky'>Checking Out by Branch in Poky</ulink>"
191 and 191 or
192 "<ulink url='&YOCTO_DOCS_DEV_URL;#checkout-out-by-tag-in-poky'>Checking Out by Tag in Poky</ulink>" 192 "<ulink url='&YOCTO_DOCS_DEV_URL;#checkout-out-by-tag-in-poky'>Checking Out by Tag in Poky</ulink>"
193 sections all in the Yocto Project Development Tasks Manual for 193 sections all in the Yocto Project Development Tasks Manual for
194 information on how to clone the <filename>poky</filename> 194 information on how to clone the <filename>poky</filename>
@@ -221,17 +221,20 @@
221 inside the 221 inside the
222 <ulink url='&YOCTO_DOCS_REF_URL;#source-directory'>Source Directory</ulink> 222 <ulink url='&YOCTO_DOCS_REF_URL;#source-directory'>Source Directory</ulink>
223 (e.g. <filename>poky</filename>). 223 (e.g. <filename>poky</filename>).
224 <literallayout class='monospaced'>
225 $ cd /home/<replaceable>you</replaceable>/poky
226 </literallayout>
224 </para></listitem> 227 </para></listitem>
225 <listitem><para> 228 <listitem><para>
226 <emphasis>Clone the Layer:</emphasis> 229 <emphasis>Clone the Layer:</emphasis>
227 <literallayout class='monospaced'> 230 <literallayout class='monospaced'>
228 $ git clone git://git.yoctoproject.org/meta-intel.git 231 $ git clone git://git.yoctoproject.org/meta-intel.git
229 Cloning into 'meta-intel'... 232 Cloning into 'meta-intel'...
230 remote: Counting objects: 14224, done. 233 remote: Counting objects: 15585, done.
231 remote: Compressing objects: 100% (4591/4591), done. 234 remote: Compressing objects: 100% (5056/5056), done.
232 remote: Total 14224 (delta 8245), reused 13985 (delta 8006) 235 remote: Total 15585 (delta 9123), reused 15329 (delta 8867)
233 Receiving objects: 100% (14224/14224), 4.29 MiB | 2.90 MiB/s, done. 236 Receiving objects: 100% (15585/15585), 4.51 MiB | 3.19 MiB/s, done.
234 Resolving deltas: 100% (8245/8245), done. 237 Resolving deltas: 100% (9123/9123), done.
235 Checking connectivity... done. 238 Checking connectivity... done.
236 </literallayout> 239 </literallayout>
237 </para></listitem> 240 </para></listitem>
@@ -242,12 +245,19 @@
242 branch you are using for the Yocto Project release 245 branch you are using for the Yocto Project release
243 (e.g. &DISTRO_NAME_NO_CAP;): 246 (e.g. &DISTRO_NAME_NO_CAP;):
244 <literallayout class='monospaced'> 247 <literallayout class='monospaced'>
245 $ git checkout <replaceable>branch_name</replaceable> 248 $ cd meta-intel
249 $ git checkout -b &DISTRO_NAME_NO_CAP; remotes/origin/&DISTRO_NAME_NO_CAP;
250 Branch &DISTRO_NAME_NO_CAP; set up to track remote branch &DISTRO_NAME_NO_CAP; from origin.
251 Switched to a new branch '&DISTRO_NAME_NO_CAP;'
246 </literallayout> 252 </literallayout>
247 For an example on how to discover branch names and 253 <note>
248 checkout on a branch, see the 254 To see the available branch names in a cloned repository,
249 "<ulink url='&YOCTO_DOCS_DEV_URL;#checking-out-by-branch-in-poky'>Checking Out By Branch in Poky</ulink>" 255 use the <filename>git branch -al</filename> command.
250 section in the Yocto Project Development Tasks Manual. 256 See the
257 "<ulink url='&YOCTO_DOCS_DEV_URL;#checking-out-by-branch-in-poky'>Checking Out By Branch in Poky</ulink>"
258 section in the Yocto Project Development Tasks
259 Manual for more information.
260 </note>
251 </para></listitem> 261 </para></listitem>
252 </orderedlist> 262 </orderedlist>
253 </para></listitem> 263 </para></listitem>
@@ -261,16 +271,16 @@
261 <filename>meta-intel</filename> layer except for the layer's 271 <filename>meta-intel</filename> layer except for the layer's
262 name. 272 name.
263 For example, if you determine that your hardware most 273 For example, if you determine that your hardware most
264 closely matches the <filename>meta-minnow</filename>, 274 closely matches the <filename>meta-raspberrypi</filename>,
265 clone that layer: 275 clone that layer:
266 <literallayout class='monospaced'> 276 <literallayout class='monospaced'>
267 $ git clone git://git.yoctoproject.org/meta-minnow 277 $ git clone git://git.yoctoproject.org/meta-raspberrypi
268 Cloning into 'meta-minnow'... 278 Cloning into 'meta-raspberrypi'...
269 remote: Counting objects: 456, done. 279 remote: Counting objects: 4743, done.
270 remote: Compressing objects: 100% (283/283), done. 280 remote: Compressing objects: 100% (2185/2185), done.
271 remote: Total 456 (delta 163), reused 384 (delta 91) 281 remote: Total 4743 (delta 2447), reused 4496 (delta 2258)
272 Receiving objects: 100% (456/456), 96.74 KiB | 0 bytes/s, done. 282 Receiving objects: 100% (4743/4743), 1.18 MiB | 0 bytes/s, done.
273 Resolving deltas: 100% (163/163), done. 283 Resolving deltas: 100% (2447/2447), done.
274 Checking connectivity... done. 284 Checking connectivity... done.
275 </literallayout> 285 </literallayout>
276 </para></listitem> 286 </para></listitem>