From 1d870a7c23144341337eb7f836e082d1a82a3dc5 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 6 Jun 2014 12:29:19 +0300 Subject: [PATCH] kernel-dev: Added an embedded section. Not having a section was messing up the TOC for the FAQ in the mega-manual. I added a section. (From yocto-docs rev: d4a34cb1815e3e12e73e08b5ae7b2027b5f03823) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/kernel-dev/kernel-dev-faq.xml | 225 ++++++++++---------- 1 file changed, 117 insertions(+), 108 deletions(-) diff --git a/documentation/kernel-dev/kernel-dev-faq.xml b/documentation/kernel-dev/kernel-dev-faq.xml index 7389c9c9c5..2b99ad2dde 100644 --- a/documentation/kernel-dev/kernel-dev-faq.xml +++ b/documentation/kernel-dev/kernel-dev-faq.xml @@ -4,127 +4,136 @@ Kernel Development FAQ - - - - - How do I use my own Linux kernel .config - file? - - - - - Refer to the "Changing the Configuration" - section for information. - - - - - - - How do I create configuration fragments? - - - - - Refer to the "Generating Configuration Files" - section for information. - - - +
+ Common Questions and Solutions - - - - How do I use my own Linux kernel sources? - - - - - Refer to the "Working With Your Own Sources" - section for information. - - - + + The following lists some solutions for common questions. - - - - How do I install/not-install the kernel image on the rootfs? - - - - - The kernel image (e.g. vmlinuz) is provided - by the kernel-image package. - Image recipes depend on kernel-base. - To specify whether or not the kernel - image is installed in the generated root filesystem, override - RDEPENDS_kernel-base to include or not - include "kernel-image". - See the - "Using .bbappend Files" - section in the Yocto Project Development Manual for information on - how to use an append file to override metadata. - - - - - + + + + + How do I use my own Linux kernel .config + file? + + + - How do I install a specific kernel module? - - - - - Linux kernel modules are packaged individually. - To ensure a specific kernel module is included in an image, - include it in the appropriate machine - RRECOMMENDS - variable. - These other variables are useful for installing specific - modules: - + Refer to the "Changing the Configuration" + section for information. + + + + + + + + How do I create configuration fragments? + + + + + Refer to the "Generating Configuration Files" + section for information. + + + + + + + + How do I use my own Linux kernel sources? + + + + + Refer to the "Working With Your Own Sources" + section for information. + + + + + + + + How do I install/not-install the kernel image on the rootfs? + + + + + The kernel image (e.g. vmlinuz) is provided + by the kernel-image package. + Image recipes depend on kernel-base. + To specify whether or not the kernel + image is installed in the generated root filesystem, override + RDEPENDS_kernel-base to include or not + include "kernel-image". + See the + "Using .bbappend Files" + section in the Yocto Project Development Manual for information on + how to use an append file to override metadata. + + + + + + + + How do I install a specific kernel module? + + + + + Linux kernel modules are packaged individually. + To ensure a specific kernel module is included in an image, + include it in the appropriate machine + RRECOMMENDS + variable. + These other variables are useful for installing specific + modules: + MACHINE_ESSENTIAL_EXTRA_RDEPENDS MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS MACHINE_EXTRA_RDEPENDS MACHINE_EXTRA_RRECOMMENDS - - For example, set the following in the qemux86.conf - file to include the ab123 kernel modules - with images built for the qemux86 machine: - + + For example, set the following in the qemux86.conf + file to include the ab123 kernel modules + with images built for the qemux86 machine: + MACHINE_EXTRA_RRECOMMENDS += "kernel-module-ab123" - - For more information, see the - "Incorporating Out-of-Tree Modules" - section. - - - + + For more information, see the + "Incorporating Out-of-Tree Modules" + section. + + + - - - - How do I change the Linux kernel command line? - - - - - The Linux kernel command line is typically specified in - the machine config using the APPEND variable. + + + + How do I change the Linux kernel command line? + + + + + The Linux kernel command line is typically specified in + the machine config using the APPEND variable. For example, you can add some helpful debug information doing - the following: - + the following: + APPEND += "printk.time=y initcall_debug debug" - - - - - - + + + + + + +