From 29de6abb5589b5d41b8c8a4396fc7f2692e21f04 Mon Sep 17 00:00:00 2001 From: Sam Dolt Date: Thu, 21 Mar 2024 15:15:59 +0100 Subject: [PATCH] feat(beaglebone): update kernel to 6.6 --- layers/meta-belden-coreos-bsp/conf/machine/beaglebone.conf | 4 ++-- .../recipes-kernel/linux/linux-yocto_6.6.bbappend | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/layers/meta-belden-coreos-bsp/conf/machine/beaglebone.conf b/layers/meta-belden-coreos-bsp/conf/machine/beaglebone.conf index d5dc4b4..156dda8 100644 --- a/layers/meta-belden-coreos-bsp/conf/machine/beaglebone.conf +++ b/layers/meta-belden-coreos-bsp/conf/machine/beaglebone.conf @@ -21,10 +21,10 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" APPEND:append = " console=ttyS0,115200" PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" -PREFERRED_VERSION_linux-yocto ?= "5.15%" +PREFERRED_VERSION_linux-yocto ?= "6.6%" KERNEL_IMAGETYPE = "zImage" -KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb" +DTB_FILES = "ti/omap/am335x-bone.dtb ti/omap/am335x-boneblack.dtb ti/omap/am335x-bonegreen.dtb" KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot" 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 index 5781cb8..be7465b 100644 --- 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 @@ -3,6 +3,9 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/files:" KMACHINE:eagle40-03 ?= "common-pc-64" COMPATIBLE_MACHINE:eagle40-03 = "eagle40-03" +KMACHINE:beaglebone ?= "beaglebone" +COMPATIBLE_MACHINE:beaglebone = "beaglebone" + require ${@bb.utils.contains("COMBINED_FEATURES", "efi", "linux-yocto-coreos-efi.inc", "", d)} SRC_URI += " file://eagle40-03.cfg"