The following lists some solutions for common questions.
C.1.1. |
How do I use my own Linux kernel |
Refer to the "Changing the Configuration" section for information. |
|
C.1.2. |
How do I create configuration fragments? |
Refer to the "Generating Configuration Files" section for information. |
|
C.1.3. |
How do I use my own Linux kernel sources? |
Refer to the "Working With Your Own Sources" section for information. |
|
C.1.4. |
How do I install/not-install the kernel image on the rootfs? |
The kernel image (e.g. See the "Using .bbappend Files in Your Layer" section in the Yocto Project Development Manual for information on how to use an append file to override metadata. |
|
C.1.5. |
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
These other variables are useful for installing specific modules:
For example, set the following in the MACHINE_EXTRA_RRECOMMENDS += "kernel-module-ab123" For more information, see the "Incorporating Out-of-Tree Modules" section. |
|
C.1.6. |
How do I change the Linux kernel command line? |
The Linux kernel command line is typically specified in
the machine config using the APPEND += "printk.time=y initcall_debug debug"
|