Skip to contentSkip to conversation

poky/yocto-bsps: introduce 4.9 as the default kernel

PATCH In review Bruce Ashfield 3 participants 5 messages Feb 1, 2017 – Feb 24, 2017

lore
Share & tools
lore
#0 lore raw

cover poky/yocto-bsps: introduce 4.9 as the default kernel

Hi all,

4.9 has been soaking for a while now, and it is ready (as far as we know) to be the default for the qemu* machines.

I've also introduced a 4.9 bbappend for the reference BSPs, but have not confirmed their boot myself. The reference maintainers can follow up with ack/nak and updates.

I also have patches to remove 4.8, but I'm sitting on them until we know that switching to 4.9 as the default has gone smoothly.

Bruce

The following changes since commit 58245344b178052e11a0e8b97100e154b1f4d83c:

linux-yocto/4.9: yaffs2 fixes (2017-02-01 09:50:20 -0500)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib zedd/kernel-yocto
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel-yocto

Bruce Ashfield (2):
poky: make 4.9 the preferred qemu version
yocto-bsps: add 4.9 bbappend

 meta-poky/conf/distro/poky.conf                    | 14 ++++++------
 .../recipes-kernel/linux/linux-yocto_4.9.bbappend  | 26 ++++++++++++++++++++++
 2 files changed, 33 insertions(+), 7 deletions(-)
 create mode 100644 meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.9.bbappend
Signature · 1 line
2.5.0
#1 lore raw

PATCH 1/2 poky: make 4.9 the preferred qemu version

4.9 has been selected as the LTS kernel, and has been valided for all archictures.

We can now make this the default kernel version for qemu.

---
 meta-poky/conf/distro/poky.conf | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
meta-poky/conf/distro/poky.conf +7 -7
index 8fa391458b21..a9b34a280fc7 100644
@@ -21,13 +21,13 @@ POKY_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet"
 
 DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC} ${POKY_DEFAULT_DISTRO_FEATURES}"
 
-PREFERRED_VERSION_linux-yocto ?= "4.8%"
-PREFERRED_VERSION_linux-yocto_qemux86 ?= "4.8%"
-PREFERRED_VERSION_linux-yocto_qemux86-64 ?= "4.8%"
-PREFERRED_VERSION_linux-yocto_qemuarm ?= "4.8%"
-PREFERRED_VERSION_linux-yocto_qemumips ?= "4.8%"
-PREFERRED_VERSION_linux-yocto_qemumips64 ?= "4.8%"
-PREFERRED_VERSION_linux-yocto_qemuppc ?= "4.8%"
+PREFERRED_VERSION_linux-yocto ?= "4.9%"
+PREFERRED_VERSION_linux-yocto_qemux86 ?= "4.9%"
+PREFERRED_VERSION_linux-yocto_qemux86-64 ?= "4.9%"
+PREFERRED_VERSION_linux-yocto_qemuarm ?= "4.9%"
+PREFERRED_VERSION_linux-yocto_qemumips ?= "4.9%"
+PREFERRED_VERSION_linux-yocto_qemumips64 ?= "4.9%"
+PREFERRED_VERSION_linux-yocto_qemuppc ?= "4.9%"
 
 SDK_NAME = "${DISTRO}-${TCLIBC}-${SDK_ARCH}-${IMAGE_BASENAME}-${TUNE_PKGARCH}"
 SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"
Signature · 1 line
2.5.0
#2 lore raw

PATCH 2/2 yocto-bsps: add 4.9 bbappend

In reply to Bruce Ashfield

Introduce a 4.9 bbappend for the h/w reference BSPs. Since 4.8 will be removed, we need to have this file in place.

---
 .../recipes-kernel/linux/linux-yocto_4.9.bbappend  | 26 ++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.9.bbappend
meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.9.bbappend new file +26 -0
new file mode 100644
index 000000000000..6a0493070065
@@ -0,0 +1,26 @@
+KBRANCH_genericx86  = "standard/base"
+KBRANCH_genericx86-64  = "standard/base"
+
+KMACHINE_genericx86 ?= "common-pc"
+KMACHINE_genericx86-64 ?= "common-pc-64"
+KBRANCH_edgerouter = "standard/edgerouter"
+KBRANCH_beaglebone = "standard/beaglebone"
+KBRANCH_mpc8315e-rdb = "standard/fsl-mpc8315e-rdb"
+
+SRCREV_machine_genericx86    ?= "021b4aef55b44597587a1ce5879be642b3dca155"
+SRCREV_machine_genericx86-64 ?= "0b52a52fb892c0dd20823268830ab22a9e3a92b8"
+SRCREV_machine_edgerouter ?= "0b52a52fb892c0dd20823268830ab22a9e3a92b8"
+SRCREV_machine_beaglebone ?= "0b52a52fb892c0dd20823268830ab22a9e3a92b8"
+SRCREV_machine_mpc8315e-rdb ?= "b4a4ce5c575d3673dcb4a6922285a78868539fb2"
+
+COMPATIBLE_MACHINE_genericx86 = "genericx86"
+COMPATIBLE_MACHINE_genericx86-64 = "genericx86-64"
+COMPATIBLE_MACHINE_edgerouter = "edgerouter"
+COMPATIBLE_MACHINE_beaglebone = "beaglebone"
+COMPATIBLE_MACHINE_mpc8315e-rdb = "mpc8315e-rdb"
+
+LINUX_VERSION_genericx86 = "4.9.6"
+LINUX_VERSION_genericx86-64 = "4.9.6"
+LINUX_VERSION_edgerouter = "4.9.6"
+LINUX_VERSION_beaglebone = "4.9.6"
+LINUX_VERSION_mpc8315e-rdb = "4.9.6"
Signature · 1 line
2.5.0
#3 lore raw
In reply to Bruce Ashfield
Quoted 6 lines · Bruce Ashfield

Hi all,

4.9 has been soaking for a while now, and it is ready (as far as we know) to
be the default for the qemu* machines.

Quoted 7 lines

I've also introduced a 4.9 bbappend for the reference BSPs, but have not confirmed their boot myself. The reference maintainers can follow up with ack/nak and updates.

I also have patches to remove 4.8, but I'm sitting on them until we know that switching to 4.9 as the default has gone smoothly.

I noticed that the 4.9 bbappend merged, but not the switch of the default version
to 4.9.

Is there a bug or other issue lurking that I should look into ?

I'm prep'ing a 4.10 tree now, so this may be a moot point and we could jump all
the way to 4.10 instead of the intermediate 4.9.

Bruce

Quoted 33 lines

Bruce

The following changes since commit 58245344b178052e11a0e8b97100e1 54b1f4d83c:

linux-yocto/4.9: yaffs2 fixes (2017-02-01 09:50:20 -0500)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib zedd/kernel-yocto
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel-yocto

Bruce Ashfield (2):
poky: make 4.9 the preferred qemu version
yocto-bsps: add 4.9 bbappend

 meta-poky/conf/distro/poky.conf                    | 14 ++++++------
 .../recipes-kernel/linux/linux-yocto_4.9.bbappend  | 26
++++++++++++++++++++++
 2 files changed, 33 insertions(+), 7 deletions(-)
 create mode 100644 meta-yocto-bsp/recipes-kernel/

linux/linux-yocto_4.9.bbappend

--
2.5.0

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
#4 lore raw
Quoted 2 lines · Bruce Ashfield

Is there a bug or other issue lurking that I should look into ?

The autobuilder sanity tests were failing for every MIPS machine. I can run a rebuild now to verify it still happens.

Ross