From 7f18f3d4b9064f4e4afbb542f555f389cd28a4b6 Mon Sep 17 00:00:00 2001 From: Patrick Vogelaar Date: Sun, 25 Feb 2024 21:18:55 +0100 Subject: [PATCH] feat(eagle40-03): switch to kernel v6.6 for eagle-40-03 --- layers/meta-belden-coreos-bsp/conf/machine/eagle40-03.conf | 2 +- .../recipes-kernel/linux/linux-yocto_6.6.bbappend | 6 ++++++ templates/bblayers.conf.sample | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 layers/meta-belden-coreos-bsp/recipes-kernel/linux/linux-yocto_6.6.bbappend diff --git a/layers/meta-belden-coreos-bsp/conf/machine/eagle40-03.conf b/layers/meta-belden-coreos-bsp/conf/machine/eagle40-03.conf index bca4a27..e35d684 100644 --- a/layers/meta-belden-coreos-bsp/conf/machine/eagle40-03.conf +++ b/layers/meta-belden-coreos-bsp/conf/machine/eagle40-03.conf @@ -10,7 +10,7 @@ MACHINE_FEATURES += "pci usbhost x86 acpi serial efi tpm2 " # Kernel configuration # ****************************************************************************** -PREFERRED_VERSION_linux-yocto ?= "5.15%" +PREFERRED_VERSION_linux-yocto ?= "6.6%" PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" KERNEL_IMAGETYPE = "bzImage" diff --git a/layers/meta-belden-coreos-bsp/recipes-kernel/linux/linux-yocto_6.6.bbappend b/layers/meta-belden-coreos-bsp/recipes-kernel/linux/linux-yocto_6.6.bbappend new file mode 100644 index 0000000..c33bb73 --- /dev/null +++ b/layers/meta-belden-coreos-bsp/recipes-kernel/linux/linux-yocto_6.6.bbappend @@ -0,0 +1,6 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/files:" + +KMACHINE:eagle40-03 ?= "common-pc-64" +COMPATIBLE_MACHINE:eagle40-03 = "eagle40-03" + +require ${@bb.utils.contains("COMBINED_FEATURES", "efi", "linux-yocto-coreos-efi.inc", "", d)} diff --git a/templates/bblayers.conf.sample b/templates/bblayers.conf.sample index 3b07568..9d6f252 100644 --- a/templates/bblayers.conf.sample +++ b/templates/bblayers.conf.sample @@ -23,4 +23,5 @@ BBLAYERS ?= " \ ##COREOS_EXTLAYERSDIR##/meta-arm/meta-arm \ ##COREOS_EXTLAYERSDIR##/meta-arm/meta-arm-toolchain \ ##COREOS_EXTLAYERSDIR##/meta-ti/meta-ti-bsp \ + ##COREOS_EXTLAYERSDIR##/meta-lts-mixins \ "