From 9ab4d1f5e6965453dee91bfa52e52f1087ca7e9a Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 9 Apr 2014 08:21:47 -0700 Subject: bsp-guide: Updates to "Linux Kernel Configuration" section. This section was using an out-dated version of the linux-yocto_3.10.bbappend file. The new version accounts for both emgd and non-emgd configurations. I had to insert the new listing and update some supporting text describing it. (From yocto-docs rev: 97329a154e3dee44cb393d4a289fdcbb9f8adf07) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/bsp-guide/bsp.xml | 35 ++++++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 9 deletions(-) (limited to 'documentation/bsp-guide') diff --git a/documentation/bsp-guide/bsp.xml b/documentation/bsp-guide/bsp.xml index 5f0cfc3cb4..29d975b6ff 100644 --- a/documentation/bsp-guide/bsp.xml +++ b/documentation/bsp-guide/bsp.xml @@ -515,20 +515,32 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + + COMPATIBLE_MACHINE_crownbay = "crownbay" + KMACHINE_crownbay = "crownbay" + KBRANCH_crownbay = "standard/crownbay" + KERNEL_FEATURES_append_crownbay = " features/drm-emgd/drm-emgd-1.18 cfg/vesafb" + COMPATIBLE_MACHINE_crownbay-noemgd = "crownbay-noemgd" KMACHINE_crownbay-noemgd = "crownbay" KBRANCH_crownbay-noemgd = "standard/crownbay" KERNEL_FEATURES_append_crownbay-noemgd = " cfg/vesafb" - LINUX_VERSION = "3.10.11" + LINUX_VERSION_crownbay = "3.10.35" + SRCREV_meta_crownbay = "b6e58b33dd427fe471f8827c83e311acdf4558a4" + SRCREV_machine_crownbay = "cee957655fe67826b2e827e2db41f156fa8f0cc4" + SRCREV_emgd_crownbay = "42d5e4548e8e79e094fa8697949eed4cf6af00a3" + + LINUX_VERSION_crownbay-noemgd = "3.10.35" + SRCREV_meta_crownbay-noemgd = "b6e58b33dd427fe471f8827c83e311acdf4558a4" + SRCREV_machine_crownbay-noemgd = "cee957655fe67826b2e827e2db41f156fa8f0cc4" - SRCREV_meta_crownbay-noemgd = "285f93bf942e8f6fa678ffc6cc53696ed5400718" - SRCREV_machine_crownbay-noemgd = "702040ac7c7ec66a29b4d147665ccdd0ff015577" + SRC_URI_crownbay = "git://git.yoctoproject.org/linux-yocto-3.10.git;protocol=git;nocheckout=1;branch=${KBRANCH},${KMETA},emgd-1.18;name=machine,meta,emgd" This append file contains statements used to support the Crown Bay BSP. - The file defines crownbay as the + The file defines machines using the COMPATIBLE_MACHINE - and uses the + variable and uses the KMACHINE variable to ensure the machine name used by the OpenEmbedded build system maps to the machine name used by the Linux Yocto kernel. @@ -538,11 +550,15 @@ kernel branch. The KERNEL_FEATURES - variable enables features specific to the kernel. - Finally, the append file points to specific commits in the + variable enables features specific to the kernel + (e.g. graphics support in this case). + The append file points to specific commits in the Source Directory Git repository and the meta Git repository branches to identify the exact kernel needed to build the Crown Bay BSP. + Finally, the file includes the + SRC_URI + statement to locate the source files. @@ -553,8 +569,9 @@ You can accomplish this definition by putting the configurations in a file or a set of files inside a directory located at the same level as your kernel's append file and having the same name as the kernel's main recipe file. - With all these conditions met, simply reference those files in a - SRC_URI statement in the append file. + With all these conditions met, simply reference those files in the + SRC_URI + statement in the append file. -- cgit v1.2.3-54-g00ecf