summaryrefslogtreecommitdiffstats
path: root/documentation/bsp-guide
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2012-07-13 07:19:39 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-17 10:54:08 +0100
commitd4d48430789916464f74aa42f8bcb47bee8644fa (patch)
tree56b076d210282bad32f358f57f17205a6a8717ea /documentation/bsp-guide
parent4bd0338972a1a64829734c43501a3a74c510421a (diff)
downloadpoky-d4d48430789916464f74aa42f8bcb47bee8644fa.tar.gz
documentation/bsp-guide/bsp.xml: Changes to kernel config section.
Some work in progress. (From yocto-docs rev: d344b2db75c21bc7050e4a5f70c07ffd8f7545de) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/bsp-guide')
-rw-r--r--documentation/bsp-guide/bsp.xml36
1 files changed, 18 insertions, 18 deletions
diff --git a/documentation/bsp-guide/bsp.xml b/documentation/bsp-guide/bsp.xml
index 63963d5bbd..8223954f04 100644
--- a/documentation/bsp-guide/bsp.xml
+++ b/documentation/bsp-guide/bsp.xml
@@ -516,22 +516,22 @@
516 the <filename>meta-&lt;bsp_name&gt;/recipes-kernel/linux</filename> directory). 516 the <filename>meta-&lt;bsp_name&gt;/recipes-kernel/linux</filename> directory).
517 </para> 517 </para>
518 <para> 518 <para>
519 Suppose the BSP uses the <filename>linux-yocto_3.0.bb</filename> kernel, 519 Suppose you are using the <filename>linux-yocto_3.2.bb</filename> recipe to build
520 which is the preferred kernel to use for developing a new BSP using the Yocto Project. 520 the kernel.
521 In other words, you have selected the kernel in your 521 In other words, you have selected the kernel in your
522 <filename>&lt;bsp_name&gt;.conf</filename> file by adding the following statements: 522 <filename>&lt;bsp_name&gt;.conf</filename> file by adding the following statements:
523 <literallayout class='monospaced'> 523 <literallayout class='monospaced'>
524 PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" 524 PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
525 PREFERRED_VERSION_linux-yocto = "3.0%" 525 PREFERRED_VERSION_linux-yocto = "3.2%"
526 </literallayout> 526 </literallayout>
527 You would use the <filename>linux-yocto_3.0.bbappend</filename> file to append 527 You would use the <filename>linux-yocto_3.2.bbappend</filename> file to append
528 specific BSP settings to the kernel, thus configuring the kernel for your particular BSP. 528 specific BSP settings to the kernel, thus configuring the kernel for your particular BSP.
529 </para> 529 </para>
530 <para> 530 <para>
531 As an example, look at the existing Crown Bay BSP. 531 As an example, look at the existing Crown Bay BSP.
532 The append file used is: 532 The append file used is:
533 <literallayout class='monospaced'> 533 <literallayout class='monospaced'>
534 meta-crownbay/recipes-kernel/linux/linux-yocto_3.0.bbappend 534 meta-crownbay/recipes-kernel/linux/linux-yocto_3.2.bbappend
535 </literallayout> 535 </literallayout>
536 The following listing shows the file. 536 The following listing shows the file.
537 Be aware that the actual commit ID strings in this example listing might be different 537 Be aware that the actual commit ID strings in this example listing might be different
@@ -541,34 +541,34 @@
541 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 541 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
542 542
543 COMPATIBLE_MACHINE_crownbay = "crownbay" 543 COMPATIBLE_MACHINE_crownbay = "crownbay"
544 KMACHINE_crownbay = "yocto/standard/crownbay" 544 KMACHINE_crownbay = "crownbay"
545 KERNEL_FEATURES_append_crownbay += " cfg/smp.scc" 545 KBRANCH_crownbay = "standard/default/crownbay"
546 546
547 COMPATIBLE_MACHINE_crownbay-noemgd = "crownbay-noemgd" 547 COMPATIBLE_MACHINE_crownbay-noemgd = "crownbay-noemgd"
548 KMACHINE_crownbay-noemgd = "yocto/standard/crownbay" 548 KMACHINE_crownbay-noemgd = "crownbay"
549 KERNEL_FEATURES_append_crownbay-noemgd += " cfg/smp.scc" 549 KBRANCH_crownbay-noemgd = "standard/default/crownbay"
550 550
551 SRCREV_machine_pn-linux-yocto_crownbay ?= "63c65842a3a74e4bd3128004ac29b5639f16433f" 551 SRCREV_machine_pn-linux-yocto_crownbay ?= "48101e609711fcfe8d5e737a37a5a69f4bd57d9a"
552 SRCREV_meta_pn-linux-yocto_crownbay ?= "59314a3523e360796419d76d78c6f7d8c5ef2593" 552 SRCREV_meta_pn-linux-yocto_crownbay ?= "5b4c9dc78b5ae607173cc3ddab9bce1b5f78129b"
553 553
554 SRCREV_machine_pn-linux-yocto_crownbay-noemgd ?= "63c65842a3a74e4bd3128004ac29b5639f16433f" 554 SRCREV_machine_pn-linux-yocto_crownbay-noemgd ?= "48101e609711fcfe8d5e737a37a5a69f4bd57d9a"
555 SRCREV_meta_pn-linux-yocto_crownbay-noemgd ?= "59314a3523e360796419d76d78c6f7d8c5ef2593" 555 SRCREV_meta_pn-linux-yocto_crownbay-noemgd ?= "5b4c9dc78b5ae607173cc3ddab9bce1b5f78129b"
556 </literallayout> 556 </literallayout>
557 This append file contains statements used to support the Crown Bay BSP for both 557 This append file contains statements used to support the Crown Bay BSP for both
558 <trademark class='registered'>Intel</trademark> EMGD and the VESA graphics. 558 <trademark class='registered'>Intel</trademark> EMGD and the VESA graphics.
559 The build process, in this case, recognizes and uses only the statements that 559 The build process, in this case, recognizes and uses only the statements that
560 apply to the defined machine name - <filename>crownbay</filename> in this case. 560 apply to the defined machine name - <filename>crownbay</filename> in this case.
561 So, the applicable statements in the <filename>linux-yocto_3.0.bbappend</filename> 561 So, the applicable statements in the <filename>linux-yocto_3.2.bbappend</filename>
562 file are follows: 562 file are follows:
563 <literallayout class='monospaced'> 563 <literallayout class='monospaced'>
564 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 564 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
565 565
566 COMPATIBLE_MACHINE_crownbay = "crownbay" 566 COMPATIBLE_MACHINE_crownbay = "crownbay"
567 KMACHINE_crownbay = "yocto/standard/crownbay" 567 KMACHINE_crownbay = "crownbay"
568 KERNEL_FEATURES_append_crownbay += " cfg/smp.scc" 568 KBRANCH_crownbay = "standard/default/crownbay"
569 569
570 SRCREV_machine_pn-linux-yocto_crownbay ?= "63c65842a3a74e4bd3128004ac29b5639f16433f" 570 SRCREV_machine_pn-linux-yocto_crownbay ?= "48101e609711fcfe8d5e737a37a5a69f4bd57d9a"
571 SRCREV_meta_pn-linux-yocto_crownbay ?= "59314a3523e360796419d76d78c6f7d8c5ef2593" 571 SRCREV_meta_pn-linux-yocto_crownbay ?= "5b4c9dc78b5ae607173cc3ddab9bce1b5f78129b"
572 </literallayout> 572 </literallayout>
573 The append file defines <filename>crownbay</filename> as the compatible machine and 573 The append file defines <filename>crownbay</filename> as the compatible machine and
574 defines the <filename>KMACHINE</filename>. 574 defines the <filename>KMACHINE</filename>.