Skip to contentSkip to conversation

yocto-bsp: Bump the default kernel to v6.12 for beaglebone

PATCH New Kevin Hao 1 participant 2 messages Dec 14, 2024

lore
Share & tools
lore

Kevin Hao

author
#0 lore raw

PATCH 1/2 yocto-bsp: Bump the default kernel to v6.12 for beaglebone

There have been no specific patches on beaglebone branche for many years, so I have decided to switch to using the base branch for this machine. This approach eliminates the need to adjust the corresponding SRCREV_machine and LINUX_VERSION with each stable kernel version bump.

---
 meta-yocto-bsp/conf/machine/beaglebone-yocto.conf             | 2 +-
 meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.12.bbappend | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)
meta-yocto-bsp/conf/machine/beaglebone-yocto.conf +1 -1
index 459c83f5c28c..db9cfec497ac 100644
@@ -20,7 +20,7 @@ do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do
 SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0 115200;ttyAMA0"
 
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
-PREFERRED_VERSION_linux-yocto ?= "6.6%"
+PREFERRED_VERSION_linux-yocto ?= "6.12%"
 
 KERNEL_IMAGETYPE = "zImage"
 DTB_FILES = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb"
meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.12.bbappend +3 -0
index 97e512fbc5f7..768f100067dd 100644
@@ -1,4 +1,7 @@
 COMPATIBLE_MACHINE:genericarm64 = "genericarm64"
+COMPATIBLE_MACHINE:beaglebone-yocto = "beaglebone-yocto"
+
+KMACHINE:beaglebone-yocto ?= "beaglebone"
 
 # Incorporate fixes post 6.12.3
 SRCREV_meta:genericarm64 = "9ee4baec963b10d213c060622fce6d2b34166f40"
Signature · 1 line
2.47.1
author
#1 lore raw

PATCH 2/2 yocto-bsp: Bump the default kernel to v6.12 for x86 machines

---
 meta-yocto-bsp/conf/machine/include/genericx86-common.inc     | 2 +-
 meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.12.bbappend | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)
meta-yocto-bsp/conf/machine/include/genericx86-common.inc +1 -1
index 50a233dd8f2c..943604c01cc1 100644
@@ -2,7 +2,7 @@ include conf/machine/include/x86/x86-base.inc
 require conf/machine/include/x86/qemuboot-x86.inc
 MACHINE_FEATURES += "wifi efi pcbios"
 
-PREFERRED_VERSION_linux-yocto ?= "6.6%"
+PREFERRED_VERSION_linux-yocto ?= "6.12%"
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
 PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
 XSERVER ?= "${XSERVER_X86_BASE} \
meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.12.bbappend +4 -0
index 768f100067dd..b47b3aa5a9ed 100644
@@ -1,7 +1,11 @@
 COMPATIBLE_MACHINE:genericarm64 = "genericarm64"
 COMPATIBLE_MACHINE:beaglebone-yocto = "beaglebone-yocto"
+COMPATIBLE_MACHINE:genericx86 = "genericx86"
+COMPATIBLE_MACHINE:genericx86-64 = "genericx86-64"
 
 KMACHINE:beaglebone-yocto ?= "beaglebone"
+KMACHINE:genericx86 ?= "common-pc"
+KMACHINE:genericx86-64 ?= "common-pc-64"
 
 # Incorporate fixes post 6.12.3
 SRCREV_meta:genericarm64 = "9ee4baec963b10d213c060622fce6d2b34166f40"
Signature · 1 line
2.47.1