diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
| commit | 8c22ff0d8b70d9b12f0487ef696a7e915b9e3173 (patch) | |
| tree | efdc32587159d0050a69009bdf2330a531727d95 /documentation/kernel-dev/faq.rst | |
| parent | d412d2747595c1cc4a5e3ca975e3adc31b2f7891 (diff) | |
| download | poky-8c22ff0d8b70d9b12f0487ef696a7e915b9e3173.tar.gz | |
The poky repository master branch is no longer being updated.
You can either:
a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs
b) use the new bitbake-setup
You can find information about either approach in our documentation:
https://docs.yoctoproject.org/
Note that "poky" the distro setting is still available in meta-yocto as
before and we continue to use and maintain that.
Long live Poky!
Some further information on the background of this change can be found
in: https://lists.openembedded.org/g/openembedded-architecture/message/2179
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/kernel-dev/faq.rst')
| -rw-r--r-- | documentation/kernel-dev/faq.rst | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/documentation/kernel-dev/faq.rst b/documentation/kernel-dev/faq.rst deleted file mode 100644 index 4dffa90dbd..0000000000 --- a/documentation/kernel-dev/faq.rst +++ /dev/null | |||
| @@ -1,76 +0,0 @@ | |||
| 1 | .. SPDX-License-Identifier: CC-BY-SA-2.0-UK | ||
| 2 | |||
| 3 | ********************** | ||
| 4 | Kernel Development FAQ | ||
| 5 | ********************** | ||
| 6 | |||
| 7 | Common Questions and Solutions | ||
| 8 | ============================== | ||
| 9 | |||
| 10 | Here are some solutions for common questions. | ||
| 11 | |||
| 12 | How do I use my own Linux kernel ``.config`` file? | ||
| 13 | -------------------------------------------------- | ||
| 14 | |||
| 15 | Refer to the | ||
| 16 | ":ref:`kernel-dev/common:changing the configuration`" | ||
| 17 | section for information. | ||
| 18 | |||
| 19 | How do I create configuration fragments? | ||
| 20 | ---------------------------------------- | ||
| 21 | |||
| 22 | A: Refer to the | ||
| 23 | ":ref:`kernel-dev/common:creating configuration fragments`" | ||
| 24 | section for information. | ||
| 25 | |||
| 26 | How do I use my own Linux kernel sources? | ||
| 27 | ----------------------------------------- | ||
| 28 | |||
| 29 | Refer to the | ||
| 30 | ":ref:`kernel-dev/common:working with your own sources`" | ||
| 31 | section for information. | ||
| 32 | |||
| 33 | How do I install/not-install the kernel image on the root filesystem? | ||
| 34 | --------------------------------------------------------------------- | ||
| 35 | |||
| 36 | The kernel image (e.g. ``vmlinuz``) is provided by the | ||
| 37 | ``kernel-image`` package. Image recipes depend on ``kernel-base``. To | ||
| 38 | specify whether or not the kernel image is installed in the generated | ||
| 39 | root filesystem, override ``RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base`` to include or not | ||
| 40 | include "kernel-image". See the | ||
| 41 | ":ref:`dev-manual/layers:appending other layers metadata with your layer`" | ||
| 42 | section in the | ||
| 43 | Yocto Project Development Tasks Manual for information on how to use an | ||
| 44 | append file to override metadata. | ||
| 45 | |||
| 46 | How do I install a specific kernel module? | ||
| 47 | ------------------------------------------ | ||
| 48 | |||
| 49 | Linux kernel modules are packaged individually. To ensure a | ||
| 50 | specific kernel module is included in an image, include it in the | ||
| 51 | appropriate machine :term:`RRECOMMENDS` variable. | ||
| 52 | These other variables are useful for installing specific modules: | ||
| 53 | - :term:`MACHINE_ESSENTIAL_EXTRA_RDEPENDS` | ||
| 54 | - :term:`MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS` | ||
| 55 | - :term:`MACHINE_EXTRA_RDEPENDS` | ||
| 56 | - :term:`MACHINE_EXTRA_RRECOMMENDS` | ||
| 57 | |||
| 58 | For example, set the following in the ``qemux86.conf`` file to include | ||
| 59 | the ``ab123`` kernel modules with images built for the ``qemux86`` | ||
| 60 | machine:: | ||
| 61 | |||
| 62 | MACHINE_EXTRA_RRECOMMENDS += "kernel-module-ab123" | ||
| 63 | |||
| 64 | For more information, see the | ||
| 65 | ":ref:`kernel-dev/common:incorporating out-of-tree modules`" section. | ||
| 66 | |||
| 67 | How do I change the Linux kernel command line? | ||
| 68 | ---------------------------------------------- | ||
| 69 | |||
| 70 | The Linux kernel command line is | ||
| 71 | typically specified in the machine config using the :term:`APPEND` variable. | ||
| 72 | For example, you can add some helpful debug information doing the | ||
| 73 | following:: | ||
| 74 | |||
| 75 | APPEND += "printk.time=y initcall_debug debug" | ||
| 76 | |||
