diff --git a/documentation/dev-manual/dev-manual-model.xml b/documentation/dev-manual/dev-manual-model.xml index 6324efa11f..016a0f104f 100644 --- a/documentation/dev-manual/dev-manual-model.xml +++ b/documentation/dev-manual/dev-manual-model.xml @@ -284,6 +284,26 @@ kernel to generate the new kernel image - a source generator if you will. + + You can find a web interface to the Yocto Project source repository at + . + Within the interface you will see groups of related source code, each of which can + be cloned using Git to result in a working Git repository on your local system + (referred to as the "local Yocto Project files" in this manual). + The Yocto Project supports four types of kernels in its source repositories at + : + + linux-yocto-2.6.34 - The + stable Linux Yocto kernel that is based on the Linux 2.6.34 release. + linux-yocto-2.6.37 - The current + Linux Yocto kernel that is based on the Linux 2.6.37 release. + linux-yocto-dev - A development + kernel based on the Linux 2.6.39-rc1 release. + linux-2.6 - A kernel based on + minimal Linux mainline tracking. + + + For a complete discussion of the Yocto Project kernel's architcture and its branching strategy, see the @@ -302,10 +322,6 @@ --> - - [WRITER'S NOTE: Need new flow illustration here] - - Set up your host development system to support @@ -317,9 +333,8 @@ in the Yocto Project Quick Start for requirements. You will also need a release of Yocto Project installed on the host. Establish a local copy of the Yocto Project files on your - system: You need to have the Yocto Project files available on your host system. - Having the Yocto Project files on your system gives you access to the build - process and tools you need. + system: Having the Yocto Project files on your system gives you access to + the build process and tools you need. For information on how to get these files, see the bulleted item Yocto Project Release in Getting Setup earlier in this manual. @@ -339,30 +354,36 @@ all the relevant information for the project that the Yocto Project build system knows about. - Iteratively make kernel configuration changes + Prepare to use the menuconfig tool: + The tool menuconfig used within Bitbake provides an + interactive method with which you can configure the kernel. + In order to use menuconfig you need to first source an environment + setup script found in the local poky Git repository. + The script is named oe-init-build-env. + Make kernel configuration changes to your local kernel layer: Use menuconfig to enable and disable the configurations to the Linux Yocto kernel. Using menuconfig allows you to develop and test the configuration changes you are making to the kernel. - Iteratively make kernel recipe changes to your new kernel - layer: The standard layer structure organizes the files you need to edit in - conf and several recipes-* within the - layer. + Make kernel recipe changes to your new kernel + layer: The standard layer structure organizes recipe files you + need to edit in several recipes-* directories within the + kernel layer. Recipe changes include altering recipes (.bb files), removing recipes you don't use, and adding new recipes that you need to support your hardware. Prepare for the build: Once you have made all the changes to your kernel layer there remains a few things you need to do for the Yocto Project build system in order for it to create your image. - You need to get the build environment ready by sourcing an environment setup script - and you need to be sure two key configuration files are configured appropriately. + If you have not done so you need to get the build environment ready by sourcing + the environment setup script described earlier. + You also need to be sure two key configuration files are configured appropriately. The entire process for building an image is overviewed in the Building an Image section of the Yocto Project Quick Start. You might want to reference this information. Build the image: The Yocto Project uses the BitBake - tool to build images based on the type of image - you want to create. + tool to build images based on the type of image you want to create. You can find more information on BitBake here. The build process supports several types of images to satisfy different needs. @@ -411,40 +432,18 @@ image. - Make your configuration and recipe changes available - in the kernel layer: Up to this point all the changes to the + Make your configuration changes available + in the kernel layer: Up to this point all the configuration changes to the kernel have been done and tested iteratively. Once they are tested and ready to go you can move them into the kernel layer, which allows you to distribute the layer. - Make your configuration and recipe changes to the + Push your configuration and recipe changes upstream to the linux Yocto Git repository (in-tree changes): If the changes you made are suited for all Linux Yocto users you might want to push the changes up into the Linux Yocto Git repository so that they become part of the kernel tree and available to everyone using the kernel. - - - You can find a web interface to the Yocto Project source repository at - . - Within the interface you will see groups of related source code, each of which can - be cloned using Git to result in a working Git repository on your local system - (referred to as the "local Yocto Project files" in this manual). - The Yocto Project supports four types of kernels in its source repositories at - : - - linux-yocto-2.6.34 - The - stable Linux Yocto kernel that is based on the Linux 2.6.34 release. - linux-yocto-2.6.37 - The current - Linux Yocto kernel that is based on the Linux 2.6.37 release. - linux-yocto-dev - A development - kernel based on the Linux 2.6.39-rc1 release. - linux-2.6 - A kernel based on - minimal Linux mainline tracking. - [WRITER'S NOTE: I don't know which Git repository the user needs to clone to get this - repository on their development system.] - -