Skip to contentSkip to conversation

meta-yocto-bsp: bump to the latest linux stable kernel for the non-x86 BSPs

PATCH In review Kevin Hao 3 participants 6 messages Jun 10, 2018 – Jun 11, 2018

lore
Share & tools
lore

Kevin Hao

author
#0 lore raw

PATCH 1/1 meta-yocto-bsp: bump to the latest linux stable kernel for the non-x86 BSPs

Bump to the latest stable kernel for 4.12, 4.14 and 4.15.

---

This is based on the patch [1] from Anuj Mittal.

[1] https://lists.yoctoproject.org/pipermail/poky/2018-June/011384.html

 .../recipes-kernel/linux/linux-yocto_4.12.bbappend           | 12 ++++++------
 .../recipes-kernel/linux/linux-yocto_4.14.bbappend           | 12 ++++++------
 .../recipes-kernel/linux/linux-yocto_4.15.bbappend           | 12 ++++++------
 3 files changed, 18 insertions(+), 18 deletions(-)
meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.12.bbappend +6 -6
index 4f040dcdb354..642809a3861e 100644
@@ -10,9 +10,9 @@ KBRANCH_mpc8315e-rdb = "standard/fsl-mpc8315e-rdb"
 
 SRCREV_machine_genericx86    ?= "7e7ac3f0fda9707e94b3311a4510ae080cd86238"
 SRCREV_machine_genericx86-64 ?= "7e7ac3f0fda9707e94b3311a4510ae080cd86238"
-SRCREV_machine_edgerouter ?= "97e710ef0545c19d3c10bd81a61bdca9fe543b81"
-SRCREV_machine_beaglebone-yocto ?= "97e710ef0545c19d3c10bd81a61bdca9fe543b81"
-SRCREV_machine_mpc8315e-rdb ?= "55fcfbee2560f57a490c5724ac5b5cb49bacb01c"
+SRCREV_machine_edgerouter ?= "89e003746eee54e86bc78e1170e7029d6597b583"
+SRCREV_machine_beaglebone-yocto ?= "89e003746eee54e86bc78e1170e7029d6597b583"
+SRCREV_machine_mpc8315e-rdb ?= "7080a5fe6af338576207fff999ea2ca35e689997"
 
 
 COMPATIBLE_MACHINE_genericx86 = "genericx86"
@@ -23,6 +23,6 @@ COMPATIBLE_MACHINE_mpc8315e-rdb = "mpc8315e-rdb"
 
 LINUX_VERSION_genericx86 = "4.12.24"
 LINUX_VERSION_genericx86-64 = "4.12.24"
-LINUX_VERSION_edgerouter = "4.12.21"
-LINUX_VERSION_beaglebone-yocto = "4.12.21"
-LINUX_VERSION_mpc8315e-rdb = "4.12.21"
+LINUX_VERSION_edgerouter = "4.12.24"
+LINUX_VERSION_beaglebone-yocto = "4.12.24"
+LINUX_VERSION_mpc8315e-rdb = "4.12.24"
meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.14.bbappend +6 -6
index 41bcf0509061..0099364154f4 100644
@@ -10,9 +10,9 @@ KMACHINE_beaglebone-yocto ?= "beaglebone"
 
 SRCREV_machine_genericx86    ?= "2bf00ed1aee9c26b48c26b10c731c2f8970d50c2"
 SRCREV_machine_genericx86-64 ?= "2bf00ed1aee9c26b48c26b10c731c2f8970d50c2"
-SRCREV_machine_edgerouter ?= "f2dc94f77d19ab65a832bad6f42662c509d2ef9e"
-SRCREV_machine_beaglebone-yocto ?= "6c1a02d4a9c227eca356911715a52cf92457ec16"
-SRCREV_machine_mpc8315e-rdb ?= "7e9a0b017be7b685e094638f4bdaa33a7df8f7c0"
+SRCREV_machine_edgerouter ?= "5a43b07d1800543dd4cd416c4c930514592c152d"
+SRCREV_machine_beaglebone-yocto ?= "d62ddfa26a59c83f6128790b7aa2baadc04d2960"
+SRCREV_machine_mpc8315e-rdb ?= "80a106ecf737b69864e07b955eccb62f809cf120"
 
 COMPATIBLE_MACHINE_genericx86 = "genericx86"
 COMPATIBLE_MACHINE_genericx86-64 = "genericx86-64"
@@ -22,6 +22,6 @@ COMPATIBLE_MACHINE_mpc8315e-rdb = "mpc8315e-rdb"
 
 LINUX_VERSION_genericx86 = "4.14.48"
 LINUX_VERSION_genericx86-64 = "4.14.48"
-LINUX_VERSION_edgerouter = "4.14.30"
-LINUX_VERSION_beaglebone-yocto = "4.14.30"
-LINUX_VERSION_mpc8315e-rdb = "4.14.30"
+LINUX_VERSION_edgerouter = "4.14.48"
+LINUX_VERSION_beaglebone-yocto = "4.14.48"
+LINUX_VERSION_mpc8315e-rdb = "4.14.48"
meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.15.bbappend +6 -6
index a9f23aea7471..6e402ff31b0e 100644
@@ -10,9 +10,9 @@ KMACHINE_beaglebone-yocto ?= "beaglebone"
 
 SRCREV_machine_genericx86    ?= "51273ff79f4ad930f4a788257f58e1266cb236e3"
 SRCREV_machine_genericx86-64 ?= "51273ff79f4ad930f4a788257f58e1266cb236e3"
-SRCREV_machine_edgerouter ?= "f73fd8783a3e7529902366ba75aafb81c19ec3c9"
-SRCREV_machine_beaglebone-yocto ?= "f73fd8783a3e7529902366ba75aafb81c19ec3c9"
-SRCREV_machine_mpc8315e-rdb ?= "cc2711c4f3b83b5cd78358e7c949fdbb6076e25b"
+SRCREV_machine_edgerouter ?= "683cfd2540fcb659774458352e8fb121ec764e0e"
+SRCREV_machine_beaglebone-yocto ?= "683cfd2540fcb659774458352e8fb121ec764e0e"
+SRCREV_machine_mpc8315e-rdb ?= "0b32edc46dfe7c40bf5451e9b7533c823bb2c6c4"
 
 COMPATIBLE_MACHINE_genericx86 = "genericx86"
 COMPATIBLE_MACHINE_genericx86-64 = "genericx86-64"
@@ -22,6 +22,6 @@ COMPATIBLE_MACHINE_mpc8315e-rdb = "mpc8315e-rdb"
 
 LINUX_VERSION_genericx86 = "4.15.18"
 LINUX_VERSION_genericx86-64 = "4.15.18"
-LINUX_VERSION_edgerouter = "4.15.13"
-LINUX_VERSION_beaglebone-yocto = "4.15.13"
-LINUX_VERSION_mpc8315e-rdb = "4.15.13"
+LINUX_VERSION_edgerouter = "4.15.18"
+LINUX_VERSION_beaglebone-yocto = "4.15.18"
+LINUX_VERSION_mpc8315e-rdb = "4.15.18"
Signature · 1 line
2.14.3
#1 lore raw
Quoted 3 lines · Kevin Hao

Bump to the latest stable kernel for 4.12, 4.14 and 4.15.

Thanks for this. This addresses some of the failures we saw but not for edgerouter:

https://autobuilder.yocto.io/builders/nightly-mips-lsb/builds/1046/steps/BuildImages_1/logs/stdio
https://autobuilder.yocto.io/builders/nightly-mips/builds/1050/steps/BuildImages_1/logs/stdio

Any idea why that is contiuing to fail on 4.14 and 4.15? Were the patches for gcc8 not merged into that branch?

Cheers,

Richard

#2 lore raw
Quoted 9 lines · Richard Purdie
Quoted 3 lines · Kevin Hao

Bump to the latest stable kernel for 4.12, 4.14 and 4.15.

Thanks for this. This addresses some of the failures we saw but not for
edgerouter:

Quoted 7 lines

https://autobuilder.yocto.io/builders/nightly-mips-lsb/builds/1046/st
eps/BuildImages_1/logs/stdio
https://autobuilder.yocto.io/builders/nightly-mips/builds/1050/steps/
BuildImages_1/logs/stdio

Any idea why that is contiuing to fail on 4.14 and 4.15? Were the patches for gcc8 not merged into that branch?

Perhaps we need https://git.kernel.org/pub/scm/linux/kernel/git/torvald
s/linux.git/commit/?id=2479bfc9bc600dcce7f932d52dcfa8d677c41f93 converted for mips?

Also https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
/commit/?id=415520373975d2eba565c256d2cad875ed4e9243

This looks like the upstream version of Khem's ppc fix.

Cheers,

Richard

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

Bump to the latest stable kernel for 4.12, 4.14 and 4.15.

Thanks for this. This addresses some of the failures we saw but not for
edgerouter:

https://autobuilder.yocto.io/builders/nightly-mips-lsb/builds/1046/st
eps/BuildImages_1/logs/stdio
https://autobuilder.yocto.io/builders/nightly-mips/builds/1050/steps/
BuildImages_1/logs/stdio

Quoted 6 lines
Quoted 2 lines

Any idea why that is contiuing to fail on 4.14 and 4.15? Were the patches for gcc8 not merged into that branch?

Perhaps we need https://git.kernel.org/pub/scm/linux/kernel/git/torvald
s/linux.git/commit/?id=2479bfc9bc600dcce7f932d52dcfa8d677c41f93 converted for mips?

No. The CFLAGS which is set to workaround the gcc 8 warning has been override when some kernel options are enabled. I composed a patch [1] to fix this.

[1] https://lists.yoctoproject.org/pipermail/linux-yocto/2018-June/007140.html

Thanks,
Kevin

Quoted 9 lines

Also https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
/commit/?id=415520373975d2eba565c256d2cad875ed4e9243

This looks like the upstream version of Khem's ppc fix.

Cheers,

Richard

#4 lore raw
Quoted 19 lines · Kevin Hao
Quoted 18 lines · Richard Purdie
Quoted 16 lines · Richard Purdie
Quoted 3 lines · Kevin Hao

Bump to the latest stable kernel for 4.12, 4.14 and 4.15.

Thanks for this. This addresses some of the failures we saw but not for
edgerouter:

https://autobuilder.yocto.io/builders/nightly-mips-lsb/builds/1046/st
eps/BuildImages_1/logs/stdio
https://autobuilder.yocto.io/builders/nightly-mips/builds/1050/steps/
BuildImages_1/logs/stdio

Any idea why that is contiuing to fail on 4.14 and 4.15? Were the patches for gcc8 not merged into that branch?

Quoted 9 lines
Quoted 3 lines

Perhaps we need https://git.kernel.org/pub/scm/linux/kernel/git/torvald
s/linux.git/commit/?id=2479bfc9bc600dcce7f932d52dcfa8d677c41f93 converted for mips?

No. The CFLAGS which is set to workaround the gcc 8 warning has been override when some kernel options are enabled. I composed a patch [1] to fix this.

[1] https://lists.yoctoproject.org/pipermail/linux-yocto/2018-June/007140.html

this looks good for upstreaming as well.

Quoted 13 lines

Thanks,
Kevin

Quoted 10 lines

Also https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
/commit/?id=415520373975d2eba565c256d2cad875ed4e9243

This looks like the upstream version of Khem's ppc fix.

Cheers,

Richard

#5 lore raw
In reply to Richard Purdie
Quoted 15 lines · Richard Purdie
Quoted 14 lines · Richard Purdie
Quoted 3 lines · Kevin Hao

Bump to the latest stable kernel for 4.12, 4.14 and 4.15.

Thanks for this. This addresses some of the failures we saw but not for
edgerouter:

https://autobuilder.yocto.io/builders/nightly-mips-lsb/builds/1046/st
eps/BuildImages_1/logs/stdio
https://autobuilder.yocto.io/builders/nightly-mips/builds/1050/steps/
BuildImages_1/logs/stdio

Quoted 7 lines
Quoted 2 lines

Any idea why that is contiuing to fail on 4.14 and 4.15? Were the patches for gcc8 not merged into that branch?

Perhaps we need https://git.kernel.org/pub/scm/linux/kernel/git/torvald
s/linux.git/commit/?id=2479bfc9bc600dcce7f932d52dcfa8d677c41f93 converted for mips?

Actually, I posted the mips patches to lkml few weeks back, there was inclination to include another patch which implements a infra change across kernel but that hasn't made it in. So my patches are alternative in meantime but the issue you are seeing is actually new, probably specific to edgeeouter since it is a different SOC then qemu. It might be exercising different code which is not yet fixed for gcc8 or otherwise.

Quoted 9 lines

Also https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
/commit/?id=415520373975d2eba565c256d2cad875ed4e9243

This looks like the upstream version of Khem's ppc fix.

Cheers,

Richard