Skip to contentSkip to conversation

meta-yocto-bsp: Bump the kernel to v4.18

PATCH In review Kevin Hao 3 participants 4 messages Aug 25, 2018 – Aug 27, 2018

lore
Share & tools
lore

Kevin Hao

author
#0 lore raw

PATCH 1/1 meta-yocto-bsp: Bump the kernel to v4.18

Bump the kernel to v4.18 for all the boards in meta-yocto-bsp layer.

---

This is based on the following patches from Bruce:
http://lists.openembedded.org/pipermail/openembedded-core/2018-August/154796.html

 meta-yocto-bsp/conf/machine/beaglebone-yocto.conf  |  2 +-
 meta-yocto-bsp/conf/machine/edgerouter.conf        |  2 +-
 meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf      |  2 +-
 .../recipes-kernel/linux/linux-yocto_4.18.bbappend | 27 ++++++++++++++++++++++
 4 files changed, 30 insertions(+), 3 deletions(-)
 create mode 100644 meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.18.bbappend
meta-yocto-bsp/conf/machine/beaglebone-yocto.conf +1 -1
index 5cc292390367..e911e7500490 100644
@@ -23,7 +23,7 @@ do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do
 SERIAL_CONSOLES = "115200;ttyO0"
 
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
-PREFERRED_VERSION_linux-yocto ?= "4.15%"
+PREFERRED_VERSION_linux-yocto ?= "4.18%"
 
 KERNEL_IMAGETYPE = "zImage"
 KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb"
meta-yocto-bsp/conf/machine/edgerouter.conf +1 -1
index a3eeebf2f66a..b7a94e9cbbe3 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 ?= "4.15%"
+PREFERRED_VERSION_linux-yocto ?= "4.18%"
 
 SERIAL_CONSOLES = "115200;ttyS0"
 USE_VT ?= "0"
meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf +1 -1
index 441987a78e92..6f5b9859d722 100644
@@ -14,7 +14,7 @@ SERIAL_CONSOLES = "115200;ttyS0"
 
 MACHINE_FEATURES = "keyboard pci ext2 ext3 serial"
 
-PREFERRED_VERSION_linux-yocto ?= "4.15%"
+PREFERRED_VERSION_linux-yocto ?= "4.18%"
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
 
 PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.18.bbappend new file +27 -0
new file mode 100644
index 000000000000..0ce757860aa1
@@ -0,0 +1,27 @@
+KBRANCH_genericx86  = "v4.18/standard/base"
+KBRANCH_genericx86-64  = "v4.18/standard/base"
+KBRANCH_edgerouter = "v4.18/standard/edgerouter"
+KBRANCH_beaglebone-yocto = "v4.18/standard/beaglebone"
+KBRANCH_mpc8315e-rdb = "v4.18/standard/fsl-mpc8315e-rdb"
+
+KMACHINE_genericx86 ?= "common-pc"
+KMACHINE_genericx86-64 ?= "common-pc-64"
+KMACHINE_beaglebone-yocto ?= "beaglebone"
+
+SRCREV_machine_genericx86    ?= "eba03655e8e436ef6090100423bcea43e4911478"
+SRCREV_machine_genericx86-64 ?= "eba03655e8e436ef6090100423bcea43e4911478"
+SRCREV_machine_edgerouter ?= "eba03655e8e436ef6090100423bcea43e4911478"
+SRCREV_machine_beaglebone-yocto ?= "eba03655e8e436ef6090100423bcea43e4911478"
+SRCREV_machine_mpc8315e-rdb ?= "193513391ec14cb5402fcc4ed7bb2b49193842bb"
+
+COMPATIBLE_MACHINE_genericx86 = "genericx86"
+COMPATIBLE_MACHINE_genericx86-64 = "genericx86-64"
+COMPATIBLE_MACHINE_edgerouter = "edgerouter"
+COMPATIBLE_MACHINE_beaglebone-yocto = "beaglebone-yocto"
+COMPATIBLE_MACHINE_mpc8315e-rdb = "mpc8315e-rdb"
+
+LINUX_VERSION_genericx86 = "4.18.3"
+LINUX_VERSION_genericx86-64 = "4.18.3"
+LINUX_VERSION_edgerouter = "4.18.3"
+LINUX_VERSION_beaglebone-yocto = "4.18.3"
+LINUX_VERSION_mpc8315e-rdb = "4.18.3"
Signature · 1 line
2.14.4
#1 lore raw
Quoted 2 lines · Kevin Hao

Bump the kernel to v4.18 for all the boards in meta-yocto-bsp layer.

Thanks Kevin, this is fantastic.

Richard: I don't know the status of my other 4.18 changes, but I could take this into my queue and re-submit it all with the 4.15 kernel being removed.

Or since there are no major problems with my 4.18 uprev, maybe this should just be independently grabbed ? Versus me re-submitting unchanged patches.

Bruce

Quoted 86 lines

---

This is based on the following patches from Bruce:

   http://lists.openembedded.org/pipermail/openembedded-core/2018-August/154796.html
  meta-yocto-bsp/conf/machine/beaglebone-yocto.conf  |  2 +-
  meta-yocto-bsp/conf/machine/edgerouter.conf        |  2 +-
  meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf      |  2 +-
  .../recipes-kernel/linux/linux-yocto_4.18.bbappend | 27 ++++++++++++++++++++++
  4 files changed, 30 insertions(+), 3 deletions(-)

create mode 100644 meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.18.bbappend

meta-yocto-bsp/conf/machine/beaglebone-yocto.conf +1 -1
index 5cc292390367..e911e7500490 100644
@@ -23,7 +23,7 @@ do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do
  SERIAL_CONSOLES = "115200;ttyO0"
 
  PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
-PREFERRED_VERSION_linux-yocto ?= "4.15%"
+PREFERRED_VERSION_linux-yocto ?= "4.18%"
 
  KERNEL_IMAGETYPE = "zImage"
  KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb"
meta-yocto-bsp/conf/machine/edgerouter.conf +1 -1
index a3eeebf2f66a..b7a94e9cbbe3 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 ?= "4.15%"
+PREFERRED_VERSION_linux-yocto ?= "4.18%"
 
  SERIAL_CONSOLES = "115200;ttyS0"
  USE_VT ?= "0"
meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf +1 -1
index 441987a78e92..6f5b9859d722 100644
@@ -14,7 +14,7 @@ SERIAL_CONSOLES = "115200;ttyS0"
 
  MACHINE_FEATURES = "keyboard pci ext2 ext3 serial"
 
-PREFERRED_VERSION_linux-yocto ?= "4.15%"
+PREFERRED_VERSION_linux-yocto ?= "4.18%"
  PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
 
  PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.18.bbappend new file +27 -0
new file mode 100644
index 000000000000..0ce757860aa1
@@ -0,0 +1,27 @@
+KBRANCH_genericx86  = "v4.18/standard/base"
+KBRANCH_genericx86-64  = "v4.18/standard/base"
+KBRANCH_edgerouter = "v4.18/standard/edgerouter"
+KBRANCH_beaglebone-yocto = "v4.18/standard/beaglebone"
+KBRANCH_mpc8315e-rdb = "v4.18/standard/fsl-mpc8315e-rdb"
+
+KMACHINE_genericx86 ?= "common-pc"
+KMACHINE_genericx86-64 ?= "common-pc-64"
+KMACHINE_beaglebone-yocto ?= "beaglebone"
+
+SRCREV_machine_genericx86    ?= "eba03655e8e436ef6090100423bcea43e4911478"
+SRCREV_machine_genericx86-64 ?= "eba03655e8e436ef6090100423bcea43e4911478"
+SRCREV_machine_edgerouter ?= "eba03655e8e436ef6090100423bcea43e4911478"
+SRCREV_machine_beaglebone-yocto ?= "eba03655e8e436ef6090100423bcea43e4911478"
+SRCREV_machine_mpc8315e-rdb ?= "193513391ec14cb5402fcc4ed7bb2b49193842bb"
+
+COMPATIBLE_MACHINE_genericx86 = "genericx86"
+COMPATIBLE_MACHINE_genericx86-64 = "genericx86-64"
+COMPATIBLE_MACHINE_edgerouter = "edgerouter"
+COMPATIBLE_MACHINE_beaglebone-yocto = "beaglebone-yocto"
+COMPATIBLE_MACHINE_mpc8315e-rdb = "mpc8315e-rdb"
+
+LINUX_VERSION_genericx86 = "4.18.3"
+LINUX_VERSION_genericx86-64 = "4.18.3"
+LINUX_VERSION_edgerouter = "4.18.3"
+LINUX_VERSION_beaglebone-yocto = "4.18.3"
+LINUX_VERSION_mpc8315e-rdb = "4.18.3"
#2 lore raw
Quoted 12 lines · Bruce Ashfield
Quoted 3 lines · Kevin Hao

Bump the kernel to v4.18 for all the boards in meta-yocto-bsp layer.

Thanks Kevin, this is fantastic.

Richard: I don't know the status of my other 4.18 changes, but I could
take this into my queue and re-submit it all with the 4.15 kernel being removed.

Quoted 4 lines

Or since there are no major problems with my 4.18 uprev, maybe this should just be independently grabbed ? Versus me re-submitting unchanged
patches.

The original patch queue was testing in -next. I was away for the weekend so the results were waiting for me when I got back.

As you say, it seems ok from the kernel perspective, there were some other issues with other patches.

I've pulled in Kevin's patch for the next round of testing, no need to resend anything.

If it works out and merges, we can then just remove 4.15 with a new additional patch submission?

Cheers,

Richard

#3 lore raw
Quoted 21 lines · On 2018-08-27 7:12 PM, [email protected] wrote:
Quoted 12 lines · Bruce Ashfield
Quoted 3 lines · Kevin Hao

Bump the kernel to v4.18 for all the boards in meta-yocto-bsp layer.

Thanks Kevin, this is fantastic.

Richard: I don't know the status of my other 4.18 changes, but I could
take this into my queue and re-submit it all with the 4.15 kernel being removed.

Quoted 4 lines

Or since there are no major problems with my 4.18 uprev, maybe this should just be independently grabbed ? Versus me re-submitting unchanged
patches.

The original patch queue was testing in -next. I was away for the weekend so the results were waiting for me when I got back.

Quoted 8 lines

As you say, it seems ok from the kernel perspective, there were some other issues with other patches.

I've pulled in Kevin's patch for the next round of testing, no need to resend anything.

If it works out and merges, we can then just remove 4.15 with a new additional patch submission?

Yep. I'd do that in a separate patch anyway. I don't have any more queued changes for 4.18 until the core support goes in, and then I'll send a -stable update, etc, for 4.18 and the other kernels.

Bruce

Quoted 5 lines

Cheers,

Richard