summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual/dev-manual-bsp-appendix.xml
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/dev-manual/dev-manual-bsp-appendix.xml')
-rw-r--r--documentation/dev-manual/dev-manual-bsp-appendix.xml19
1 files changed, 10 insertions, 9 deletions
diff --git a/documentation/dev-manual/dev-manual-bsp-appendix.xml b/documentation/dev-manual/dev-manual-bsp-appendix.xml
index 6a3598543f..97ceb12744 100644
--- a/documentation/dev-manual/dev-manual-bsp-appendix.xml
+++ b/documentation/dev-manual/dev-manual-bsp-appendix.xml
@@ -173,7 +173,7 @@
173 <filename>PREFERRED_PROVIDER_virtual/kernel</filename> statement. 173 <filename>PREFERRED_PROVIDER_virtual/kernel</filename> statement.
174 This statement identifies the kernel that the BSP is going to use. 174 This statement identifies the kernel that the BSP is going to use.
175 In this case the BSP is using <filename>linux-yocto</filename>, which is the 175 In this case the BSP is using <filename>linux-yocto</filename>, which is the
176 current Linux Yocto kernel based on the Linux 2.6.37 release. 176 current Linux Yocto kernel based on the Linux 3.0 release.
177 </para> 177 </para>
178 178
179 <para> 179 <para>
@@ -300,7 +300,7 @@
300 The recipe for that kernel is not located in the 300 The recipe for that kernel is not located in the
301 BSP layer but rather in the local Yocto Project files at 301 BSP layer but rather in the local Yocto Project files at
302 <filename>meta/recipes-kernel/linux</filename> and is 302 <filename>meta/recipes-kernel/linux</filename> and is
303 named <filename>linux-yocto_2.6.37.bb</filename>. 303 named <filename>linux-yocto_3.0.bb</filename>.
304 The <filename>SRCREV_machine</filename> and <filename>SRCREV_meta</filename> 304 The <filename>SRCREV_machine</filename> and <filename>SRCREV_meta</filename>
305 statements point to the exact commits used by the Yocto Project development team 305 statements point to the exact commits used by the Yocto Project development team
306 in their source repositories that identify the right kernel for our hardware. 306 in their source repositories that identify the right kernel for our hardware.
@@ -309,7 +309,7 @@
309 <para> 309 <para>
310 However, in the <filename>meta-mymachine</filename> layer in 310 However, in the <filename>meta-mymachine</filename> layer in
311 <filename>recipes-kernel/linux</filename> resides a <filename>.bbappend</filename> 311 <filename>recipes-kernel/linux</filename> resides a <filename>.bbappend</filename>
312 file named <filename>linux-yocto_2.6.37.bbappend</filename> that 312 file named <filename>linux-yocto_3.0.bbappend</filename> that
313 is appended to the recipe of the same name in <filename>meta/recipes-kernel/link</filename>. 313 is appended to the recipe of the same name in <filename>meta/recipes-kernel/link</filename>.
314 Thus, the <filename>SRCREV</filename> statements in the "append" file override 314 Thus, the <filename>SRCREV</filename> statements in the "append" file override
315 the more general statements found in <filename>meta</filename>. 315 the more general statements found in <filename>meta</filename>.
@@ -343,7 +343,7 @@
343 </para> 343 </para>
344 344
345 <para> 345 <para>
346 To fix this situation in <filename>linux-yocto_2.6.37.bbappend</filename> 346 To fix this situation in <filename>linux-yocto_3.0.bbappend</filename>
347 we delete the two <filename>SRCREV</filename> statements that support 347 we delete the two <filename>SRCREV</filename> statements that support
348 EMGD (the top pair). 348 EMGD (the top pair).
349 We also change the remaining pair to specify <filename>mymachine</filename> 349 We also change the remaining pair to specify <filename>mymachine</filename>
@@ -364,8 +364,9 @@
364 exact commit strings in the Yocto Project source repositories you need to change 364 exact commit strings in the Yocto Project source repositories you need to change
365 the <filename>SRCREV</filename> statements. 365 the <filename>SRCREV</filename> statements.
366 You can find all the <filename>machine</filename> and <filename>meta</filename> 366 You can find all the <filename>machine</filename> and <filename>meta</filename>
367 branch points (commits) for the <filename>linux-yocto-2.6.37</filename> kernel 367 branch points (commits) for the <filename>linux-yocto-3.0</filename> kernel
368 <ulink url='http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-2.6.37'>here</ulink>. 368 <ulink url='http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-2.6.37'>here</ulink>
369 [WRITER's NOTE: Need new link to the 3.0 source repo area when it is available].
369 </para> 370 </para>
370 371
371 <para> 372 <para>
@@ -376,7 +377,7 @@
376 branch</para></listitem> 377 branch</para></listitem>
377 <listitem><para>Click on the commit column header to view the top commit</para></listitem> 378 <listitem><para>Click on the commit column header to view the top commit</para></listitem>
378 <listitem><para>Copy the commit string for use in the 379 <listitem><para>Copy the commit string for use in the
379 <filename>linux-yocto_2.6.37.bbappend</filename> file</para></listitem> 380 <filename>linux-yocto_3.0.bbappend</filename> file</para></listitem>
380 </orderedlist> 381 </orderedlist>
381 </para> 382 </para>
382 383
@@ -387,14 +388,14 @@
387 </para> 388 </para>
388 389
389 <para> 390 <para>
390 Also in the <filename>linux-yocto_2.6.37.bbappend</filename> file are 391 Also in the <filename>linux-yocto_3.0.bbappend</filename> file are
391 <filename>COMPATIBLE_MACHINE</filename>, <filename>KMACHINE</filename>, 392 <filename>COMPATIBLE_MACHINE</filename>, <filename>KMACHINE</filename>,
392 and <filename>KERNEL_FEATURES</filename> statements. 393 and <filename>KERNEL_FEATURES</filename> statements.
393 Two sets of these exist: one set supports EMGD and one set does not. 394 Two sets of these exist: one set supports EMGD and one set does not.
394 Because we are not interested in supporting EMGD those three can be deleted. 395 Because we are not interested in supporting EMGD those three can be deleted.
395 The remaining three must be changed so that <filename>mymachine</filename> replaces 396 The remaining three must be changed so that <filename>mymachine</filename> replaces
396 <filename>crownbay-noemgd</filename> and <filename>crownbay</filename>. 397 <filename>crownbay-noemgd</filename> and <filename>crownbay</filename>.
397 Here is the final <filename>linux-yocto_2.6.37.bbappend</filename> file after all 398 Here is the final <filename>linux-yocto_3.0.bbappend</filename> file after all
398 the edits: 399 the edits:
399 <literallayout class='monospaced'> 400 <literallayout class='monospaced'>
400 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 401 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"