From ee98021efea63ea888316207d0c9a5f3c0053bca Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 26 Apr 2012 16:04:12 -0600 Subject: documentation/dev-manual/dev-manual-bsp-appendix.xml: recipes-kernel update The section on changing recipes-kernel was way out of date. I updated all relavent changes. (From yocto-docs rev: b9f954983447e45766a0bf785285c0591fe9d340) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../dev-manual/dev-manual-bsp-appendix.xml | 41 +++++++++++----------- 1 file changed, 20 insertions(+), 21 deletions(-) (limited to 'documentation') diff --git a/documentation/dev-manual/dev-manual-bsp-appendix.xml b/documentation/dev-manual/dev-manual-bsp-appendix.xml index 856c718925..8a0bdb88b6 100644 --- a/documentation/dev-manual/dev-manual-bsp-appendix.xml +++ b/documentation/dev-manual/dev-manual-bsp-appendix.xml @@ -422,14 +422,14 @@ Here are the statements: SRCREV_machine_pn-linux-yocto_crownbay ?= \ - "2247da9131ea7e46ed4766a69bb1353dba22f873" + "211fc7f4d10ec2b82b424286aabbaff9254b7cbd" SRCREV_meta_pn-linux-yocto_crownbay ?= \ - "d05450e4aef02c1b7137398ab3a9f8f96da74f52" + "514847185c78c07f52e02750fbe0a03ca3a31d8f" SRCREV_machine_pn-linux-yocto_crownbay-noemgd ?= \ - "2247da9131ea7e46ed4766a69bb1353dba22f873" + "211fc7f4d10ec2b82b424286aabbaff9254b7cbd" SRCREV_meta_pn-linux-yocto_crownbay-noemgd ?= \ - "d05450e4aef02c1b7137398ab3a9f8f96da74f52" + "514847185c78c07f52e02750fbe0a03ca3a31d8f" @@ -466,15 +466,13 @@ The meta SRCREV isn't specified in this file, so it must be specified in the base kernel recipe in the poky/meta/recipes-kernel/linux/linux-yocto_3.2.bb - file, in the SRCREV_meta variable found there. - It happens to be the same as the value we already inherited from the - meta-crownbay BSP. + file, in the SRCREV_meta variable found there. Here are the final SRCREV statements: - SRCREV_machine_pn-linux-yocto_mymachine ?= \ - "1e18e44adbe79b846e382370eb29bc4b8cd5a1a0" - SRCREV_meta_pn-linux-yocto_mymachine ?= \ - "d05450e4aef02c1b7137398ab3a9f8f96da74f52" + SRCREV_machine_pn-linux-yocto_mymachine ?= \ + "f29531a41df15d74be5ad47d958e4117ca9e489e" + SRCREV_meta_pn-linux-yocto_mymachine ?= \ + "b14a08f5c7b469a5077c10942f4e1aec171faa9d" @@ -498,7 +496,7 @@ If you need a little more assistance after going to the link then do the following: Expand the list of branches by clicking […] - Click on the yocto/standard/common-pc/atom-pc + Click on the standard/default/common-pc/atom-pc branch Click on the commit column header to view the top commit Copy the commit string for use in the @@ -515,30 +513,31 @@ Also in the linux-yocto_3.2.bbappend file are COMPATIBLE_MACHINE, KMACHINE, - and KERNEL_FEATURES statements. + KBRANCH, and KERNEL_FEATURES statements. Two sets of these exist: one set supports EMGD and one set does not. - Because we are not interested in supporting EMGD those three can be deleted. - The remaining three must be changed so that mymachine replaces + Because we are not interested in supporting EMGD those four can be deleted. + The remaining four must be changed so that mymachine replaces crownbay-noemgd and crownbay. - Because we are using the atom-pc branch for this new BSP, we can also find - the exact branch we need for the KMACHINE variable in our new BSP from the value + Because we are using the atom-pc branch for this new BSP, we can also find + the exact branch we need for the KMACHINE variable in our new BSP from the value we find in the poky/meta-yocto/recipes-kernel/linux/linux-yocto_3.2.bbappend file we looked at in a previous step. - In this case, the value we want is in the KMACHINE_atom-pc variable in that file. + In this case, the value we want is in the KMACHINE_atom-pc variable in that file. Here is the final linux-yocto_3.2.bbappend file after all the edits: FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" COMPATIBLE_MACHINE_mymachine = "mymachine" - KMACHINE_mymachine = "yocto/standard/common-pc/atom-pc" + KMACHINE_mymachine = "atom-pc" + KBRANCH_mymachine = "standard/default/common-pc/atom-pc" KERNEL_FEATURES_append_mymachine += " cfg/smp.scc" SRCREV_machine_pn-linux-yocto_mymachine ?= \ - "1e18e44adbe79b846e382370eb29bc4b8cd5a1a0" + "f29531a41df15d74be5ad47d958e4117ca9e489e" SRCREV_meta_pn-linux-yocto_mymachine ?= \ - "d05450e4aef02c1b7137398ab3a9f8f96da74f52" + "b14a08f5c7b469a5077c10942f4e1aec171faa9d" -- cgit v1.2.3-54-g00ecf