diff options
| author | Kevin Hao <kexin.hao@windriver.com> | 2023-01-12 19:31:53 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-13 17:34:08 +0000 |
| commit | 2e33c422a48e026a1d7913d97129612417e356ee (patch) | |
| tree | 215c8336aa8e4303e810d032247c4bf855cef33c | |
| parent | e1a661e3d2d4d62aa0c47c2abb0a6824e1b17ede (diff) | |
| download | poky-2e33c422a48e026a1d7913d97129612417e356ee.tar.gz | |
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.
(From meta-yocto rev: 7494f08fa1c85611a1dce3444a2737ef06fc8fdf)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 files changed, 26 insertions, 3 deletions
diff --git a/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf b/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf index 284559c50c..362f6e040e 100644 --- a/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf +++ b/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf | |||
| @@ -24,7 +24,7 @@ SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyO0 115200;ttyAMA0" | |||
| 24 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | 24 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" |
| 25 | 25 | ||
| 26 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" | 26 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" |
| 27 | PREFERRED_VERSION_linux-yocto ?= "5.15%" | 27 | PREFERRED_VERSION_linux-yocto ?= "6.1%" |
| 28 | 28 | ||
| 29 | KERNEL_IMAGETYPE = "zImage" | 29 | KERNEL_IMAGETYPE = "zImage" |
| 30 | KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb" | 30 | KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb" |
diff --git a/meta-yocto-bsp/conf/machine/edgerouter.conf b/meta-yocto-bsp/conf/machine/edgerouter.conf index 249864e9ce..ffdcf55f02 100644 --- a/meta-yocto-bsp/conf/machine/edgerouter.conf +++ b/meta-yocto-bsp/conf/machine/edgerouter.conf | |||
| @@ -11,7 +11,7 @@ KERNEL_ALT_IMAGETYPE = "vmlinux.bin" | |||
| 11 | KERNEL_IMAGE_STRIP_EXTRA_SECTIONS = ".comment" | 11 | KERNEL_IMAGE_STRIP_EXTRA_SECTIONS = ".comment" |
| 12 | 12 | ||
| 13 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" | 13 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" |
| 14 | PREFERRED_VERSION_linux-yocto ?= "5.15%" | 14 | PREFERRED_VERSION_linux-yocto ?= "6.1%" |
| 15 | 15 | ||
| 16 | SERIAL_CONSOLES = "115200;ttyS0" | 16 | SERIAL_CONSOLES = "115200;ttyS0" |
| 17 | USE_VT ?= "0" | 17 | USE_VT ?= "0" |
diff --git a/meta-yocto-bsp/conf/machine/include/genericx86-common.inc b/meta-yocto-bsp/conf/machine/include/genericx86-common.inc index 8c5e5522bc..e3badebf86 100644 --- a/meta-yocto-bsp/conf/machine/include/genericx86-common.inc +++ b/meta-yocto-bsp/conf/machine/include/genericx86-common.inc | |||
| @@ -2,7 +2,7 @@ include conf/machine/include/x86/x86-base.inc | |||
| 2 | require conf/machine/include/x86/qemuboot-x86.inc | 2 | require conf/machine/include/x86/qemuboot-x86.inc |
| 3 | MACHINE_FEATURES += "wifi efi pcbios" | 3 | MACHINE_FEATURES += "wifi efi pcbios" |
| 4 | 4 | ||
| 5 | PREFERRED_VERSION_linux-yocto ?= "5.15%" | 5 | PREFERRED_VERSION_linux-yocto ?= "6.1%" |
| 6 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" | 6 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" |
| 7 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" | 7 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" |
| 8 | XSERVER ?= "${XSERVER_X86_BASE} \ | 8 | XSERVER ?= "${XSERVER_X86_BASE} \ |
diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.1.bbappend b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.1.bbappend new file mode 100644 index 0000000000..e693cb32e4 --- /dev/null +++ b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.1.bbappend | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | KBRANCH:genericx86 = "v6.1/standard/base" | ||
| 2 | KBRANCH:genericx86-64 = "v6.1/standard/base" | ||
| 3 | KBRANCH:edgerouter = "v6.1/standard/edgerouter" | ||
| 4 | KBRANCH:beaglebone-yocto = "v6.1/standard/beaglebone" | ||
| 5 | |||
| 6 | KMACHINE:genericx86 ?= "common-pc" | ||
| 7 | KMACHINE:genericx86-64 ?= "common-pc-64" | ||
| 8 | KMACHINE:beaglebone-yocto ?= "beaglebone" | ||
| 9 | |||
| 10 | SRCREV_machine:genericx86 ?= "872afe79c5e568acf5f971952e78caada8424df7" | ||
| 11 | SRCREV_machine:genericx86-64 ?= "872afe79c5e568acf5f971952e78caada8424df7" | ||
| 12 | SRCREV_machine:edgerouter ?= "872afe79c5e568acf5f971952e78caada8424df7" | ||
| 13 | SRCREV_machine:beaglebone-yocto ?= "872afe79c5e568acf5f971952e78caada8424df7" | ||
| 14 | |||
| 15 | COMPATIBLE_MACHINE:genericx86 = "genericx86" | ||
| 16 | COMPATIBLE_MACHINE:genericx86-64 = "genericx86-64" | ||
| 17 | COMPATIBLE_MACHINE:edgerouter = "edgerouter" | ||
| 18 | COMPATIBLE_MACHINE:beaglebone-yocto = "beaglebone-yocto" | ||
| 19 | |||
| 20 | LINUX_VERSION:genericx86 = "6.1.3" | ||
| 21 | LINUX_VERSION:genericx86-64 = "6.1.3" | ||
| 22 | LINUX_VERSION:edgerouter = "6.1.3" | ||
| 23 | LINUX_VERSION:beaglebone-yocto = "6.1.3" | ||
