Skip to contentSkip to conversation

meta-yocto-bsp: Update the default kernel to 6.1

PATCH In review Kevin Hao 3 participants 5 messages Jan 12, 2023 – Jan 15, 2023

lore
Share & tools
lore

Kevin Hao

author
#0 lore raw

PATCH 1/1 meta-yocto-bsp: Update the default kernel to 6.1

Create the corresponding 6.1 bbappend and also update the default kernel to 6.1 for all the boards.

---
 .../conf/machine/beaglebone-yocto.conf        |  2 +-
 meta-yocto-bsp/conf/machine/edgerouter.conf   |  2 +-
 .../machine/include/genericx86-common.inc     |  2 +-
 .../linux/linux-yocto_6.1.bbappend            | 23 +++++++++++++++++++
 4 files changed, 26 insertions(+), 3 deletions(-)
 create mode 100644 meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.1.bbappend
meta-yocto-bsp/conf/machine/beaglebone-yocto.conf +1 -1
index 284559c50c9c..362f6e040e77 100644
@@ -24,7 +24,7 @@ SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0 115200;ttyAMA0"
 SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
 
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
-PREFERRED_VERSION_linux-yocto ?= "5.15%"
+PREFERRED_VERSION_linux-yocto ?= "6.1%"
 
 KERNEL_IMAGETYPE = "zImage"
 KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb"
meta-yocto-bsp/conf/machine/edgerouter.conf +1 -1
index 249864e9cebc..ffdcf55f02b1 100644
@@ -11,7 +11,7 @@ KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
 KERNEL_IMAGE_STRIP_EXTRA_SECTIONS  = ".comment"
 
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
-PREFERRED_VERSION_linux-yocto ?= "5.15%"
+PREFERRED_VERSION_linux-yocto ?= "6.1%"
 
 SERIAL_CONSOLES = "115200;ttyS0"
 USE_VT ?= "0"
meta-yocto-bsp/conf/machine/include/genericx86-common.inc +1 -1
index 8c5e5522bcf2..e3badebf86d8 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 ?= "5.15%"
+PREFERRED_VERSION_linux-yocto ?= "6.1%"
 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.1.bbappend new file +23 -0
new file mode 100644
index 000000000000..e693cb32e489
@@ -0,0 +1,23 @@
+KBRANCH:genericx86  = "v6.1/standard/base"
+KBRANCH:genericx86-64  = "v6.1/standard/base"
+KBRANCH:edgerouter = "v6.1/standard/edgerouter"
+KBRANCH:beaglebone-yocto = "v6.1/standard/beaglebone"
+
+KMACHINE:genericx86 ?= "common-pc"
+KMACHINE:genericx86-64 ?= "common-pc-64"
+KMACHINE:beaglebone-yocto ?= "beaglebone"
+
+SRCREV_machine:genericx86 ?= "872afe79c5e568acf5f971952e78caada8424df7"
+SRCREV_machine:genericx86-64 ?= "872afe79c5e568acf5f971952e78caada8424df7"
+SRCREV_machine:edgerouter ?= "872afe79c5e568acf5f971952e78caada8424df7"
+SRCREV_machine:beaglebone-yocto ?= "872afe79c5e568acf5f971952e78caada8424df7"
+
+COMPATIBLE_MACHINE:genericx86 = "genericx86"
+COMPATIBLE_MACHINE:genericx86-64 = "genericx86-64"
+COMPATIBLE_MACHINE:edgerouter = "edgerouter"
+COMPATIBLE_MACHINE:beaglebone-yocto = "beaglebone-yocto"
+
+LINUX_VERSION:genericx86 = "6.1.3"
+LINUX_VERSION:genericx86-64 = "6.1.3"
+LINUX_VERSION:edgerouter = "6.1.3"
+LINUX_VERSION:beaglebone-yocto = "6.1.3"
Signature · 1 line
2.38.1
#1 lore raw

Thanks Kevin,

This looks good to me.

I'll start the removal of 5.19 shortly (once this merges).

Bruce

Quoted 84 lines · Kevin Hao

Create the corresponding 6.1 bbappend and also update the default kernel to 6.1 for all the boards.

---
 .../conf/machine/beaglebone-yocto.conf        |  2 +-
 meta-yocto-bsp/conf/machine/edgerouter.conf   |  2 +-
 .../machine/include/genericx86-common.inc     |  2 +-
 .../linux/linux-yocto_6.1.bbappend            | 23 +++++++++++++++++++
 4 files changed, 26 insertions(+), 3 deletions(-)
 create mode 100644 meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.1.bbappend
meta-yocto-bsp/conf/machine/beaglebone-yocto.conf +1 -1
index 284559c50c9c..362f6e040e77 100644
@@ -24,7 +24,7 @@ SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0 115200;ttyAMA0"
 SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
 
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
-PREFERRED_VERSION_linux-yocto ?= "5.15%"
+PREFERRED_VERSION_linux-yocto ?= "6.1%"
 
 KERNEL_IMAGETYPE = "zImage"
 KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb"
meta-yocto-bsp/conf/machine/edgerouter.conf +1 -1
index 249864e9cebc..ffdcf55f02b1 100644
@@ -11,7 +11,7 @@ KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
 KERNEL_IMAGE_STRIP_EXTRA_SECTIONS  = ".comment"
 
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
-PREFERRED_VERSION_linux-yocto ?= "5.15%"
+PREFERRED_VERSION_linux-yocto ?= "6.1%"
 
 SERIAL_CONSOLES = "115200;ttyS0"
 USE_VT ?= "0"
meta-yocto-bsp/conf/machine/include/genericx86-common.inc +1 -1
index 8c5e5522bcf2..e3badebf86d8 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 ?= "5.15%"
+PREFERRED_VERSION_linux-yocto ?= "6.1%"
 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.1.bbappend new file +23 -1
new file mode 100644
index 000000000000..e693cb32e489
@@ -0,0 +1,23 @@
+KBRANCH:genericx86  = "v6.1/standard/base"
+KBRANCH:genericx86-64  = "v6.1/standard/base"
+KBRANCH:edgerouter = "v6.1/standard/edgerouter"
+KBRANCH:beaglebone-yocto = "v6.1/standard/beaglebone"
+
+KMACHINE:genericx86 ?= "common-pc"
+KMACHINE:genericx86-64 ?= "common-pc-64"
+KMACHINE:beaglebone-yocto ?= "beaglebone"
+
+SRCREV_machine:genericx86 ?= "872afe79c5e568acf5f971952e78caada8424df7"
+SRCREV_machine:genericx86-64 ?= "872afe79c5e568acf5f971952e78caada8424df7"
+SRCREV_machine:edgerouter ?= "872afe79c5e568acf5f971952e78caada8424df7"
+SRCREV_machine:beaglebone-yocto ?= "872afe79c5e568acf5f971952e78caada8424df7"
+
+COMPATIBLE_MACHINE:genericx86 = "genericx86"
+COMPATIBLE_MACHINE:genericx86-64 = "genericx86-64"
+COMPATIBLE_MACHINE:edgerouter = "edgerouter"
+COMPATIBLE_MACHINE:beaglebone-yocto = "beaglebone-yocto"
+
+LINUX_VERSION:genericx86 = "6.1.3"
+LINUX_VERSION:genericx86-64 = "6.1.3"
+LINUX_VERSION:edgerouter = "6.1.3"
+LINUX_VERSION:beaglebone-yocto = "6.1.3"
--

2.38.1

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
#2 lore raw
Quoted 5 lines · Bruce Ashfield

Thanks Kevin,

This looks good to me.

I'll start the removal of 5.19 shortly (once this merges).

Thanks for the update!

This did merge but afterwards, a warning seems to have cropped up:

https://autobuilder.yoctoproject.org/typhoon/#/builders/62/builds/6530

WARNING: linux-yocto-6.1.3+gitAUTOINC+c56c1ed8bd_872afe79c5-r0 do_kernel_configcheck: [kernel config]: This BSP contains fragments with warnings:
[INFO]: the following symbols were not found in the active configuration:
- CONFIG_OCTEON_USB

Cheers,

Richard

author
#3 lore raw
Quoted 12 lines · Richard Purdie

CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.

Quoted 5 lines · Bruce Ashfield

Thanks Kevin,

This looks good to me.

I'll start the removal of 5.19 shortly (once this merges).

Thanks for the update!

Quoted 7 lines

This did merge but afterwards, a warning seems to have cropped up:

https://autobuilder.yoctoproject.org/typhoon/#/builders/62/builds/6530

WARNING: linux-yocto-6.1.3+gitAUTOINC+c56c1ed8bd_872afe79c5-r0 do_kernel_configcheck: [kernel config]: This BSP contains fragments with warnings:
[INFO]: the following symbols were not found in the active configuration:
- CONFIG_OCTEON_USB

This is a known issue. The fix has already been merged into yocto-kernel-cache and the warning will disappear after Bruce bump the SRCREV_meta.

Thanks,
Kevin

#4 lore raw
Quoted 15 lines · Kevin Hao
Quoted 14 lines · Richard Purdie

CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.

Quoted 5 lines · Bruce Ashfield

Thanks Kevin,

This looks good to me.

I'll start the removal of 5.19 shortly (once this merges).

Thanks for the update!

This did merge but afterwards, a warning seems to have cropped up:

Quoted 8 lines
Quoted 5 lines

https://autobuilder.yoctoproject.org/typhoon/#/builders/62/builds/6530

WARNING: linux-yocto-6.1.3+gitAUTOINC+c56c1ed8bd_872afe79c5-r0 do_kernel_configcheck: [kernel config]: This BSP contains fragments with warnings:
[INFO]: the following symbols were not found in the active configuration:
- CONFIG_OCTEON_USB

This is a known issue. The fix has already been merged into yocto-kernel-cache and the warning will disappear after Bruce bump the SRCREV_meta.

Great, thanks!

Cheers,

Richard