From 8f9dc14e28a2adac6bd1389c1ef1f9b17ce5fa41 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 26 Jan 2012 17:08:17 -0600 Subject: documentation/kernel-manual/kernel-concepts.xml: new section starting This is the start of a new section on configuration. It is mostly writer's notes at this point. More to be added later. (From yocto-docs rev: db41de4ebd7040f507c5a43739f1a25d7e1d9623) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/kernel-manual/kernel-concepts.xml | 70 +++++++++++++++++++++++++ 1 file changed, 70 insertions(+) (limited to 'documentation/kernel-manual') diff --git a/documentation/kernel-manual/kernel-concepts.xml b/documentation/kernel-manual/kernel-concepts.xml index 830042a495..922f9b312d 100644 --- a/documentation/kernel-manual/kernel-concepts.xml +++ b/documentation/kernel-manual/kernel-concepts.xml @@ -303,6 +303,76 @@ +
+ Kernel Configuration + + Kernel configuration, along with kernel features, defines how a kernel image is + built. + Through configuration settings, you can customize a Linux Yocto kernel to be + specific to particular hardware. + For example, you can specify sound support or networking support. + This section describes basic concepts behind Kernel configuration within the + Yocto Project. + + + + WRITER NOTES: + + + + Explain how .config is used when the kernel image is built. + Describe the role of menuconfig regarding the + .config. + Locate the .config for the user. + Not recommended to edit the .config file directly. + You can use BitBake to build and invoke the menuconfig + tool. + + + + Introduce the configuration fragment. + Step through the life of a configuration fragment from idea or need to + change something in the kernel to how it is used when the kernel image is built. + Describe how configuration fragments are created and where they live. + Make sure the syntax of configuration fragments is understood. + + + + Talk in general how the user creates a configuration fragment. + Point to example B.2 of the YP Development Manual as a way to use + menuconfig. + + + + The tool menuconfig allows you to choose the features of the + Linux Yocto kernel that will be compiled. + This tool is a convenient method to alter the .config file. + You can use a simple interface to scroll through kernel features and disable + and enable configruation variables. + When you save your changes, the contents of the .config + are altered. + You can get general information on menuconfig at + . + + + + The Yocto Project employs menuconfig by invoking it through + BitBake as follows after making sure the environment setup script has been sourced: + + $ bitbake linux-yocto -c menuconfig + + You can see how menuconfig is used to change a simple + kernel configuration in the + "Changing the  CONFIG_SMP + Configuration Using  menuconfig" section of + The Yocto Project Development Manual. + + + + END WRITER NOTES + +
+
Kernel Tools -- cgit v1.2.3-54-g00ecf