diff options
author | Kevin Hao <kexin.hao@windriver.com> | 2021-01-11 12:42:55 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-13 23:14:06 +0000 |
commit | 09c7fc6e5341bfadb0f6037e7294aee2454eedef (patch) | |
tree | 59dd7d11a50557f57e03af017fcced2f9e557449 | |
parent | eb80e80538eb66a1123e94357c455cc6e8f78e75 (diff) | |
download | poky-09c7fc6e5341bfadb0f6037e7294aee2454eedef.tar.gz |
meta-yocto-bsp: Bump the kernel to v5.10
Build and boot for all these machines and also explicitly set the
preferred kernel version for the x86 machines so that we can override
the default setting in oe-core.
(From meta-yocto rev: a93344439e01e8aba4ba15d3123ce31b4500add1)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 files changed, 26 insertions, 2 deletions
diff --git a/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf b/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf index 523472ab12..f8368ebd0e 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.8%" | 27 | PREFERRED_VERSION_linux-yocto ?= "5.10%" |
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 75bc5e5f28..fbe33be9d1 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.8%" | 14 | PREFERRED_VERSION_linux-yocto ?= "5.10%" |
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 a6c396c79e..1de069011d 100644 --- a/meta-yocto-bsp/conf/machine/include/genericx86-common.inc +++ b/meta-yocto-bsp/conf/machine/include/genericx86-common.inc | |||
@@ -2,6 +2,7 @@ include conf/machine/include/x86-base.inc | |||
2 | require conf/machine/include/qemuboot-x86.inc | 2 | require conf/machine/include/qemuboot-x86.inc |
3 | MACHINE_FEATURES += "wifi efi pcbios" | 3 | MACHINE_FEATURES += "wifi efi pcbios" |
4 | 4 | ||
5 | PREFERRED_VERSION_linux-yocto ?= "5.10%" | ||
5 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" | 6 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" |
6 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" | 7 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg" |
7 | XSERVER ?= "${XSERVER_X86_BASE} \ | 8 | XSERVER ?= "${XSERVER_X86_BASE} \ |
diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_5.10.bbappend b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_5.10.bbappend new file mode 100644 index 0000000000..d6c5424fc7 --- /dev/null +++ b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_5.10.bbappend | |||
@@ -0,0 +1,23 @@ | |||
1 | KBRANCH_genericx86 = "v5.10/standard/base" | ||
2 | KBRANCH_genericx86-64 = "v5.10/standard/base" | ||
3 | KBRANCH_edgerouter = "v5.10/standard/edgerouter" | ||
4 | KBRANCH_beaglebone-yocto = "v5.10/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 ?= "f08df324ccdbc73b9f0c2de2826a2843bcdf651b" | ||
11 | SRCREV_machine_genericx86-64 ?= "f08df324ccdbc73b9f0c2de2826a2843bcdf651b" | ||
12 | SRCREV_machine_edgerouter ?= "1f3d7b6a85e98317771367e70824f7803ff9ca30" | ||
13 | SRCREV_machine_beaglebone-yocto ?= "f08df324ccdbc73b9f0c2de2826a2843bcdf651b" | ||
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 = "5.10.5" | ||
21 | LINUX_VERSION_genericx86-64 = "5.10.5" | ||
22 | LINUX_VERSION_edgerouter = "5.10.5" | ||
23 | LINUX_VERSION_beaglebone-yocto = "5.10.5" | ||