1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 00:59:48 +00:00

bsp guide: update kernel version example to 6.12

Change the sample kernel version being used from 4.4 to a more modern
6.12.

(From yocto-docs rev: 13235b2c604ccff8737bfb9ee2add626e0ea0503)

Signed-off-by: "Robert P. J. Day" <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 1bad12b6ccfe1c0d26918926176a0c743568de26)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
Robert P. J. Day
2025-06-18 06:33:57 -04:00
committed by Steve Sakoman
parent 051830ab7d
commit 9acc51fef1
+13 -8
View File
@@ -674,21 +674,21 @@ to the kernel recipe by using a similarly named append file, which is
located in the BSP Layer for your target device (e.g. the located in the BSP Layer for your target device (e.g. the
``meta-bsp_root_name/recipes-kernel/linux`` directory). ``meta-bsp_root_name/recipes-kernel/linux`` directory).
Suppose you are using the ``linux-yocto_4.4.bb`` recipe to build the Suppose you are using the ``linux-yocto_6.12.bb`` recipe to build the
kernel. In other words, you have selected the kernel in your kernel. In other words, you have selected the kernel in your
``"bsp_root_name".conf`` file by adding ``"bsp_root_name".conf`` file by adding
:term:`PREFERRED_PROVIDER` and :term:`PREFERRED_VERSION` :term:`PREFERRED_PROVIDER` and :term:`PREFERRED_VERSION`
statements as follows:: statements as follows::
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
PREFERRED_VERSION_linux-yocto ?= "4.4%" PREFERRED_VERSION_linux-yocto ?= "6.12%"
.. note:: .. note::
When the preferred provider is assumed by default, the :term:`PREFERRED_PROVIDER` When the preferred provider is assumed by default, the :term:`PREFERRED_PROVIDER`
statement does not appear in the ``"bsp_root_name".conf`` file. statement does not appear in the ``"bsp_root_name".conf`` file.
You would use the ``linux-yocto_4.4.bbappend`` file to append specific You would use the ``linux-yocto_6.12.bbappend`` file to append specific
BSP settings to the kernel, thus configuring the kernel for your BSP settings to the kernel, thus configuring the kernel for your
particular BSP. particular BSP.
@@ -698,14 +698,19 @@ in the Yocto Project Linux Kernel Development Manual.
An alternate scenario is when you create your own kernel recipe for the An alternate scenario is when you create your own kernel recipe for the
BSP. A good example of this is the Raspberry Pi BSP. If you examine the BSP. A good example of this is the Raspberry Pi BSP. If you examine the
``recipes-kernel/linux`` directory you see the following:: ``recipes-kernel/linux`` directory in that layer you see the following
Raspberry Pi-specific recipes and associated files::
files/
linux-raspberrypi_6.12.bb
linux-raspberrypi_6.1.bb
linux-raspberrypi_6.6.bb
linux-raspberrypi-dev.bb linux-raspberrypi-dev.bb
linux-raspberrypi.inc linux-raspberrypi.inc
linux-raspberrypi_4.14.bb linux-raspberrypi-v7_6.12.bb
linux-raspberrypi_4.9.bb linux-raspberrypi-v7_6.1.bb
linux-raspberrypi-v7_6.6.bb
The directory contains three kernel recipes and a common include file. linux-raspberrypi-v7.inc
Developing a Board Support Package (BSP) Developing a Board Support Package (BSP)
======================================== ========================================