From 579b5c2947c57eef3bc379272ceec6f95f980736 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 3 Dec 2010 07:32:13 -0800 Subject: documentation/kernel-manual: Added Bruce Ashfields review comments. Comments covered some minor points. We did remove the "Creating a Transition Kernel Layer" section however. Signed-off-by: Scott Rifenbark --- documentation/kernel-manual/kernel-how-to.xml | 33 +++++++++++++-------------- 1 file changed, 16 insertions(+), 17 deletions(-) (limited to 'documentation/kernel-manual/kernel-how-to.xml') diff --git a/documentation/kernel-manual/kernel-how-to.xml b/documentation/kernel-manual/kernel-how-to.xml index 25b4282416..85bd8f8430 100644 --- a/documentation/kernel-manual/kernel-how-to.xml +++ b/documentation/kernel-manual/kernel-how-to.xml @@ -42,7 +42,7 @@ You can find the files used to describe all the valid features and BSPs in the Yocto Project kernel in any clone of the kernel git tree. - The directory wrs/cfg/kernel-cache/ is a snapshot of all the kernel + The directory meta/cfg/kernel-cache/ is a snapshot of all the kernel configuration and feature descriptions (.scc) used to build the kernel repository. You should realize, however, that browsing the snapshot of feature descriptions and patches is not an effective way to determine what is in a @@ -56,8 +56,8 @@ Ground up reconstruction of the complete kernel tree is an action only taken by the Yocto Project team during an active development cycle. - Creating a project takes advantage of this complete tree in order to - place efficiently a git tree within the project. + Creating a project simply clones this tree to make it efficiently available for building + and development. The general flow for constructing a project-specific kernel tree is as follows: @@ -69,8 +69,7 @@ these system directories: - The kernel-cache under - linux/wrs/cfg/kernel-cache + The in-tree kernel-cache directories Recipe SRC_URIs @@ -93,7 +92,7 @@ The script is executed, and a meta-series is produced. The meta-series is a description of all the branches, tags, patches and configuration that needs to be applied to the base git repository to completely create the - "bsp_name-kernel_type". + BSP source (build) branch. The base repository is cloned, and the actions listed in the meta-series are applied to the tree. @@ -111,7 +110,7 @@ the Yocto Project release. Any add-ons and configuration data are applied to the end of an existing branch. The full repository generation that is found in the - linux-2.6-windriver.git is the combination of all + official Yocto Project kernel repositories is the combination of all supported boards and configurations. This technique is flexible and allows the seamless blending of an immutable @@ -155,7 +154,8 @@ A summary of end user tree construction activities follow: There must be a kernel git repository indicated in the SRC_URI. - There must be a branch <bsp name>-<kernel type>. + There must be a BSP build branch - <bsp name>-<kernel type> in 0.9 or + <kernel type>/<bsp name> in 1.0. @@ -368,8 +368,7 @@ repository. Workflow Examples - As previously noted, the Yocto Project kernel has built in git/guilt - integration. + As previously noted, the Yocto Project kernel has built in git integration. However, these utilities are not the only way to work with the kernel repository. Yocto Project has not made changes to git or to other tools that would invalidate alternate workflows. @@ -468,7 +467,7 @@ repository. # determine which branches contain a feature > git branch --contains <tag> - # show the changes in a kernel type + # show the changes in a kernel type - (0.9 examples) > git whatchanged wrs_base..<kernel type> > eg: git whatchanged wrs_base..standard @@ -652,7 +651,7 @@ repository. - It is recommend to tag or branch before adding changes to a Yocto Project + It is recommended to tag or branch before adding changes to a Yocto Project BSP or before creating a new one. The reason for this recommendation is because the branch or tag provides a reference point to facilitate locating and exporting local changes. @@ -1150,7 +1149,7 @@ That's it. Configure and build. You could also add these directly to the git repository wrs_meta branch as well. - However, the former method is probably easier. + However, the former method is a simple starting point. @@ -1171,7 +1170,7 @@ That's it. Configure and build. Then, modify the code there, using quilt to save the changes, and recompile until it works: - $ bitbake -c compile -f + $ bitbake -c compile -f linux-yocto @@ -1925,7 +1924,7 @@ This section shows an example of transforms: -
+ -
+ -- cgit v1.2.3-54-g00ecf