diff options
| author | Robert P. J. Day <rpjday@crashcourse.ca> | 2025-06-18 06:33:57 -0400 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-06-20 08:06:30 -0700 |
| commit | 207921bccaca157c48ef25546522fb3eaadd97af (patch) | |
| tree | f5443302707e11ae9604fbe31e93381a71d91ae9 /documentation | |
| parent | 70473efe13d892f9077ba3ab004caaaf4a80600c (diff) | |
| download | poky-207921bccaca157c48ef25546522fb3eaadd97af.tar.gz | |
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: 4894e00cc69cf499d28b90a991d4bac0cecb97e7)
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>
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/bsp-guide/bsp.rst | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/documentation/bsp-guide/bsp.rst b/documentation/bsp-guide/bsp.rst index 47e4193f38..34d22d7bb3 100644 --- a/documentation/bsp-guide/bsp.rst +++ b/documentation/bsp-guide/bsp.rst | |||
| @@ -675,21 +675,21 @@ to the kernel recipe by using a similarly named append file, which is | |||
| 675 | located in the BSP Layer for your target device (e.g. the | 675 | located in the BSP Layer for your target device (e.g. the |
| 676 | ``meta-bsp_root_name/recipes-kernel/linux`` directory). | 676 | ``meta-bsp_root_name/recipes-kernel/linux`` directory). |
| 677 | 677 | ||
| 678 | Suppose you are using the ``linux-yocto_4.4.bb`` recipe to build the | 678 | Suppose you are using the ``linux-yocto_6.12.bb`` recipe to build the |
| 679 | kernel. In other words, you have selected the kernel in your | 679 | kernel. In other words, you have selected the kernel in your |
| 680 | ``"bsp_root_name".conf`` file by adding | 680 | ``"bsp_root_name".conf`` file by adding |
| 681 | :term:`PREFERRED_PROVIDER` and :term:`PREFERRED_VERSION` | 681 | :term:`PREFERRED_PROVIDER` and :term:`PREFERRED_VERSION` |
| 682 | statements as follows:: | 682 | statements as follows:: |
| 683 | 683 | ||
| 684 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" | 684 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" |
| 685 | PREFERRED_VERSION_linux-yocto ?= "4.4%" | 685 | PREFERRED_VERSION_linux-yocto ?= "6.12%" |
| 686 | 686 | ||
| 687 | .. note:: | 687 | .. note:: |
| 688 | 688 | ||
| 689 | When the preferred provider is assumed by default, the :term:`PREFERRED_PROVIDER` | 689 | When the preferred provider is assumed by default, the :term:`PREFERRED_PROVIDER` |
| 690 | statement does not appear in the ``"bsp_root_name".conf`` file. | 690 | statement does not appear in the ``"bsp_root_name".conf`` file. |
| 691 | 691 | ||
| 692 | You would use the ``linux-yocto_4.4.bbappend`` file to append specific | 692 | You would use the ``linux-yocto_6.12.bbappend`` file to append specific |
| 693 | BSP settings to the kernel, thus configuring the kernel for your | 693 | BSP settings to the kernel, thus configuring the kernel for your |
| 694 | particular BSP. | 694 | particular BSP. |
| 695 | 695 | ||
| @@ -699,14 +699,19 @@ in the Yocto Project Linux Kernel Development Manual. | |||
| 699 | 699 | ||
| 700 | An alternate scenario is when you create your own kernel recipe for the | 700 | An alternate scenario is when you create your own kernel recipe for the |
| 701 | BSP. A good example of this is the Raspberry Pi BSP. If you examine the | 701 | BSP. A good example of this is the Raspberry Pi BSP. If you examine the |
| 702 | ``recipes-kernel/linux`` directory you see the following:: | 702 | ``recipes-kernel/linux`` directory in that layer you see the following |
| 703 | Raspberry Pi-specific recipes and associated files:: | ||
| 703 | 704 | ||
| 705 | files/ | ||
| 706 | linux-raspberrypi_6.12.bb | ||
| 707 | linux-raspberrypi_6.1.bb | ||
| 708 | linux-raspberrypi_6.6.bb | ||
| 704 | linux-raspberrypi-dev.bb | 709 | linux-raspberrypi-dev.bb |
| 705 | linux-raspberrypi.inc | 710 | linux-raspberrypi.inc |
| 706 | linux-raspberrypi_4.14.bb | 711 | linux-raspberrypi-v7_6.12.bb |
| 707 | linux-raspberrypi_4.9.bb | 712 | linux-raspberrypi-v7_6.1.bb |
| 708 | 713 | linux-raspberrypi-v7_6.6.bb | |
| 709 | The directory contains three kernel recipes and a common include file. | 714 | linux-raspberrypi-v7.inc |
| 710 | 715 | ||
| 711 | Developing a Board Support Package (BSP) | 716 | Developing a Board Support Package (BSP) |
| 712 | ======================================== | 717 | ======================================== |
