[PATCH 3/7] arm-bsp/corstone1000: Add linux-yocto 6.19 kernel recipe
Michael Safwat <[email protected]> Mon, 30 Mar 2026 11:43:13 +0100
| Newsgroups | org.yoctoproject.lists.meta-arm |
|---|---|
| Message-ID | <[email protected]> |
linux-yocto does not currently ship a 6.19 recipe, so add a meta-arm-bsp linux-yocto_6.19.bb that tracks linux-yocto-dev v6.19/base. Pin SRCREV_machine to fixed revision to keep builds reproducible. Update Corstone-1000 to prefer linux-yocto 6.19 and align the user guide pointers accordingly. Signed-off-by: Michael Safwat <[email protected]> --- .../conf/machine/include/corstone1000.inc | 2 +- .../documentation/corstone1000/user-guide.rst | 2 +- .../recipes-kernel/linux/linux-yocto_6.19.bb | 37 +++++++++++++++++++ 3 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-yocto_6.19.bb diff --git a/meta-arm-bsp/conf/machine/include/corstone1000.inc b/meta-arm-bsp/conf/machine/include/corstone1000.inc index 6f82c597..309fae61 100644 --- a/meta-arm-bsp/conf/machine/include/corstone1000.inc +++ b/meta-arm-bsp/conf/machine/include/corstone1000.inc @@ -37,7 +37,7 @@ IMAGE_CMD:wic[vardeps] += "GRUB_LINUX_APPEND" # Linux kernel PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" -PREFERRED_VERSION_linux-yocto ?= "6.18.%" +PREFERRED_VERSION_linux-yocto ?= "6.19%" KERNEL_IMAGETYPE = "Image" KERNEL_IMAGETYPE:firmware = "Image.gz" # add FF-A support in the kernel diff --git a/meta-arm-bsp/documentation/corstone1000/user-guide.rst b/meta-arm-bsp/documentation/corstone1000/user-guide.rst index 18086d25..2a35f432 100644 --- a/meta-arm-bsp/documentation/corstone1000/user-guide.rst +++ b/meta-arm-bsp/documentation/corstone1000/user-guide.rst @@ -157,7 +157,7 @@ The provided distribution is based on `BusyBox <https://www.busybox.net/>`__ and +-----------+------------------------------------------------------------------------------------------------+ | bbappend | ``${WORKSPACE}/meta-arm/meta-arm-bsp/recipes-kernel/linux/linux-yocto_%.bbappend`` | +-----------+------------------------------------------------------------------------------------------------+ -| Recipe | ``${WORKSPACE}/core/meta/recipes-kernel/linux/linux-yocto_6.18.bb`` | +| Recipe | ``${WORKSPACE}/meta-arm/meta-arm-bsp/recipes-kernel/linux/linux-yocto_6.19.bb`` | +-----------+------------------------------------------------------------------------------------------------+ | defconfig | ``${WORKSPACE}/meta-arm/meta-arm-bsp/recipes-kernel/linux/files/corstone1000/defconfig`` | +-----------+------------------------------------------------------------------------------------------------+ diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-yocto_6.19.bb b/meta-arm-bsp/recipes-kernel/linux/linux-yocto_6.19.bb new file mode 100644 index 00000000..9c6d421b --- /dev/null +++ b/meta-arm-bsp/recipes-kernel/linux/linux-yocto_6.19.bb @@ -0,0 +1,37 @@ +require recipes-kernel/linux/linux-yocto.inc + +# provide this .inc to set specific revisions +include recipes-kernel/linux/linux-yocto-dev-revisions.inc + +KBRANCH = "v6.19/standard/base" +KMETA = "kernel-meta" + +DEFAULT_PREFERENCE = "-1" + +# CVE exclusions +include recipes-kernel/linux/cve-exclusion.inc +include recipes-kernel/linux/cve-exclusion_6.19.inc + +# linux-yocto-dev pinned to 6.19 +KBRANCH = "v6.19/standard/base" +SRCREV_machine = "c042e9e14dd7efb27e9556c42db39425a2860572" +SRCREV_meta = "6df48aa0b0d32d05614d7eda898f8d930a7600b7" + +SRC_URI = "git://git.yoctoproject.org/linux-yocto-dev.git;name=machine;branch=${KBRANCH};protocol=https \ + git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=master;destsuffix=${KMETA};protocol=https" + +LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" + +KCONF_BSP_AUDIT_LEVEL = "1" + +# Functionality flags +KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc" +KERNEL_FEATURES:append = " ${KERNEL_EXTRA_FEATURES}" +KERNEL_FEATURES:append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "", d)}" +KERNEL_FEATURES:append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/scsi/scsi-debug.scc features/nf_tables/nft_test.scc", "", d)}" +KERNEL_FEATURES:append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/gpio/mockup.scc features/gpio/sim.scc", "", d)}" +KERNEL_FEATURES:append = " ${@bb.utils.contains("KERNEL_DEBUG", "True", " features/reproducibility/reproducibility.scc features/debug/debug-btf.scc", "", d)}" +# libteam ptests from meta-oe needs it +KERNEL_FEATURES:append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/net/team/team.scc", "", d)}" +# openl2tp tests from meta-networking needs it +KERNEL_FEATURES:append = " ${@bb.utils.contains("DISTRO_FEATURES", "ptest", " cgl/cfg/net/l2tp.scc", "", d)}"