meta-yocto-bsp: bump to linux-yocto 4.1 for the non-x86 BSPs
PATCH 1/1 meta-yocto-bsp: bump to linux-yocto 4.1 for the non-x86 BSPs
Boot test for all these boards.
--- meta-yocto-bsp/conf/machine/beaglebone.conf | 2 +- meta-yocto-bsp/conf/machine/edgerouter.conf | 2 +- meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf | 2 +- meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.1.bbappend | 9 +++++++++ 4 files changed, 12 insertions(+), 3 deletions(-)
meta-yocto-bsp/conf/machine/beaglebone.conf +1 -1
@@ -22,7 +22,7 @@ EXTRA_IMAGECMD_jffs2 = "-lnp " SERIAL_CONSOLE = "115200 ttyO0" PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" -PREFERRED_VERSION_linux-yocto ?= "3.19%" +PREFERRED_VERSION_linux-yocto ?= "4.1%" KERNEL_IMAGETYPE = "zImage" KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb"
meta-yocto-bsp/conf/machine/edgerouter.conf +1 -1
@@ -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 ?= "3.19%" +PREFERRED_VERSION_linux-yocto ?= "4.1%" SERIAL_CONSOLE = "115200 ttyS0" USE_VT ?= "0"
meta-yocto-bsp/conf/machine/mpc8315e-rdb.conf +1 -1
@@ -14,7 +14,7 @@ SERIAL_CONSOLE = "115200 ttyS0" MACHINE_FEATURES = "keyboard pci ext2 ext3 serial" -PREFERRED_VERSION_linux-yocto ?= "3.19%" +PREFERRED_VERSION_linux-yocto ?= "4.1%" PREFERRED_PROVIDER_virtual/kernel = "linux-yocto" PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.1.bbappend +9 -0
@@ -1,11 +1,20 @@ KBRANCH_genericx86 = "standard/base" KBRANCH_genericx86-64 = "standard/base" +KBRANCH_edgerouter = "standard/edgerouter" +KBRANCH_beaglebone = "standard/beaglebone" +KBRANCH_mpc8315e-rdb = "standard/fsl-mpc8315e-rdb" KMACHINE_genericx86 ?= "common-pc" KMACHINE_genericx86-64 ?= "common-pc-64" SRCREV_machine_genericx86 ?= "4e30e64c44df9e59bd13239951bb8d2b5b276e6f" SRCREV_machine_genericx86-64 ?= "4e30e64c44df9e59bd13239951bb8d2b5b276e6f" +SRCREV_machine_edgerouter ?= "79a31b9d23db126f8a6be3eb88fd683056a213f1" +SRCREV_machine_beaglebone ?= "efb6ffb2ca96a364f916c9890ad023fc595e0e6e" +SRCREV_machine_mpc8315e-rdb ?= "79a31b9d23db126f8a6be3eb88fd683056a213f1" COMPATIBLE_MACHINE_genericx86 = "genericx86" COMPATIBLE_MACHINE_genericx86-64 = "genericx86-64" +COMPATIBLE_MACHINE_edgerouter = "edgerouter" +COMPATIBLE_MACHINE_beaglebone = "beaglebone" +COMPATIBLE_MACHINE_mpc8315e-rdb = "mpc8315e-rdb"
Signature · 1 line
2.0.1
Quoted 2 lines · Kevin Hao
Boot test for all these boards.
If I build the edgerouter kernel I get this warning:
WARNING: Section not found: .comment
I've no idea if this is bad or not...
Ross
Quoted 12 lines · Ross
On 29 September 2015 at 10:42, Kevin Hao <[email protected] <mailto:[email protected]>> wrote:
Boot test for all these boards.If I build the edgerouter kernel I get this warning:
WARNING: Section not found: .comment
I've no idea if this is bad or not…
functionally no harm since its the strip code which is complaining about it so this section was going to go away from kernel image anyway it seems we must have included .comment in KERNEL_IMAGE_STRIP
Now the more curious case would be if its being stripped by kernel build, we explicitly disabled kernel build stripping the kernel image and here it might be thats not happening with new kernel. That aspect could be investigated.
Quoted 7 lines
Ross
--
_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky
Quoted 16 lines · Khem Raj
On Sep 29, 2015, at 3:01 AM, Burton, Ross <[email protected]> wrote:
On 29 September 2015 at 10:42, Kevin Hao <[email protected]> wrote:
Boot test for all these boards.
If I build the edgerouter kernel I get this warning:
WARNING: Section not found: .comment
I've no idea if this is bad or not…
Quoted 8 lines
functionally no harm since its the strip code which is complaining about it so this section was going to go away from kernel image anyway
it seems we must have included .comment inKERNEL_IMAGE_STRIPNow the more curious case would be if its being stripped by kernel build, we explicitly disabled kernel build stripping the kernel image
and here it might be thats not happening with new kernel. That aspect could be investigated.
Actually the warning is a bug in the do_strip() of kernel build. The vmlinux image does have the .comment section, but the code that checking if the .comment section is existed is wrong. Please see the following codes in do_strip():
for str in ${KERNEL_IMAGE_STRIP_EXTRA_SECTIONS}; do {
if [ "$headers" != *"$str"* ]; then
bbwarn "Section not found: $str";
fi
"$CROSS_COMPILE"strip -s -R $str ${KERNEL_OUTPUT}
}; doneThe "*" doesn't have special meaning in the if string test. So it will return true even the $str is a substring of $headers. How about change the test to:
if ! (echo "$headers" | grep -q "^$str$"); then
Thanks,
Kevin
Quoted 1 line · Kevin Hao
if ! (echo "$headers" | grep -q "^$str$"); then
I think that would be ok