From e70dc3ab992412c08eaaec1fc5af63a20617e33f Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 2 Jul 2012 10:51:45 -0700 Subject: documentation/kernel-manual: Scrubbed the Yocto Project term Changed all occurrences of "Yocto Project" to terms better suited to reality. (From yocto-docs rev: fdd7b8c2bcbaf566cad336c67c582c2a24aa9dc1) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/kernel-manual/kernel-how-to.xml | 49 ++++++++++++++------------- 1 file changed, 26 insertions(+), 23 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 2d7f1df97e..b1916420d6 100644 --- a/documentation/kernel-manual/kernel-how-to.xml +++ b/documentation/kernel-manual/kernel-how-to.xml @@ -10,7 +10,7 @@
Introduction - This chapter describes how to accomplish tasks involving the kernel's tree structure. + This chapter describes how to accomplish tasks involving a kernel's tree structure. The information is designed to help the developer that wants to modify the Yocto Project kernel and contribute changes upstream to the Yocto Project. The information covers the following: @@ -25,7 +25,7 @@
Tree Construction - This section describes construction of the Yocto Project kernel repositories + This section describes construction of the Yocto Project kernel source repositories as accomplished by the Yocto Project team to create kernel repositories. These kernel repositories are found at &YOCTO_GIT_URL;/cgit.cgi @@ -34,25 +34,27 @@ compiling and executing the set of feature descriptions for every BSP/feature in the product. Those feature descriptions list all necessary patches, - configuration, branching, tagging and feature divisions found in the kernel. + configuration, branching, tagging and feature divisions found in a kernel. Thus, the Yocto Project kernel repository (or tree) is built. The existence of this tree allows you to access and clone a particular - Linux Yocto kernel repository and use it to build images based on their configurations + Yocto Project kernel repository and use it to build images based on their configurations and features. You can find the files used to describe all the valid features and BSPs - in the Yocto Project kernel in any clone of the Linux Yocto kernel source repository Git tree. + in the Yocto Project kernel in any clone of the Yocto Project kernel source repository + Git tree. For example, the following command clones the Yocto Project baseline kernel that branched off of linux.org version 3.4: $ git clone git://git.yoctoproject.org/linux-yocto-3.4 - For another example of how to set up a local Git repository of the Linux Yocto + For another example of how to set up a local Git repository of the Yocto Project kernel files, see the - "Linux Yocto Kernel" bulleted item in The Yocto Project Development Manual. + "Linux Yocto Kernel" bulleted + item in The Yocto Project Development Manual. Once you have cloned the kernel Git repository on your local machine, you can @@ -85,7 +87,7 @@ The following steps describe what happens when the Yocto Project Team constructs - the Yocto Linux kernel source Git repository (or tree) found at + the Yocto Project kernel source Git repository (or tree) found at given the introduction of a new top-level kernel feature or BSP. These are the actions that effectively create the tree @@ -130,7 +132,7 @@ The kernel tree is now ready for developer consumption to be locally cloned, - configured, and built into a Linux Yocto kernel specific to some target hardware. + configured, and built into a Yocto Project kernel specific to some target hardware. The generated meta-* directories add to the kernel as shipped with the Yocto Project release. Any add-ons and configuration data are applied to the end of an existing branch. @@ -149,7 +151,7 @@
Build Strategy - Once a local Git repository of the Linux Yocto kernel exists on a development system, + Once a local Git repository of the Yocto Project kernel exists on a development system, you can consider the compilation phase of kernel development - building a kernel image. Some prerequisites exist that are validated by the build process before compilation starts: @@ -166,7 +168,7 @@ - The Yocto Project makes sure these conditions exist before attempting compilation. + The OpenEmbedded build system makes sure these conditions exist before attempting compilation. Other means, however, do exist, such as as bootstrapping a BSP, see the "Workflow Examples". @@ -308,7 +310,7 @@ Show a Particular Feature or Branch Change - Developers use tags in the Yocto Project tree to divide changes for significant + Developers use tags in the Yocto Project kernel tree to divide changes for significant features or branches. Once you know a particular tag, you can use Git commands to show changes associated with the tag and find the branches that contain @@ -523,7 +525,7 @@ "permanent" and you should not modify them. If the commits need to be changed, you can incrementally do so with new commits. These practices follow standard Git workflow and the kernel.org best - practices, which Yocto Project recommends. + practices, which is recommended. It is recommended to tag or branch before adding changes to a Yocto Project BSP or before creating a new one. @@ -691,7 +693,7 @@ However, if the patches are manually applied to a secondary tree and then that tree is checked into the SCM, you can lose change information such as commit logs. - The Yocto Project does not recommend this process. + This process is not recommended. @@ -708,14 +710,14 @@ This section describes kernel development in an SCM other than Git, which is not the same as exporting changes to another SCM described earlier. - For this scenario, you use the Yocto Project build system to + For this scenario, you use the OpenEmbedded build system to develop the kernel in a different SCM. The following must be true for you to accomplish this: The delivered Yocto Project kernel must be exported into the second SCM. Development must be exported from that secondary SCM into a - format that can be used by the Yocto Project build system. + format that can be used by the OpenEmbedded build system. @@ -791,9 +793,10 @@ The basic steps you need to follow are: - Make sure you have the Yocto Project source tree available: - You should either create a Yocto Project Git repository (recommended), or - you should get the Yocto Project release tarball and extract it. + Make sure you have set up a local source directory: + You must create a local source + directory by either creating a Git repository (recommended) or + extracting a Yocto Project release tarball. Choose an existing BSP available with the Yocto Project: Try to map your board features as closely to the features of a BSP that is already supported and exists in the Yocto Project. @@ -803,12 +806,12 @@ on the Yocto Project's Download page at . Be sure you have the Base BSP: - You need to either have the Yocto Project Git repository set up or download - the tarball of the base BSP. + You need to either have a local Git repository of the base BSP set up or + have downloaded and extracted the files from a release BSP tarball. Either method gives you access to the BSP source files. Make a copy of the existing BSP, thus isolating your new BSP work: - Copying the existing BSP structure gives you a new area in which to work. + Copying the existing BSP file structure gives you a new area in which to work. Make configuration and recipe changes to your new BSP: Configuration changes involve the files in the BSP's conf directory. @@ -824,7 +827,7 @@ changes to the local.conf and bblayers.conf files. Build the image: - The Yocto Project uses the BitBake tool to create the image. + The OpenEmbedded build system uses BitBake to create the image. You need to decide on the type of image you are going to build (e.g. minimal, base, core, sato, and so forth) and then start the build using the bitbake command. -- cgit v1.2.3-54-g00ecf