linux-raspberrypi_4.9.bb: Upgrade to 4.9.50
PATCH 1/3 linux-raspberrypi_4.9.bb: Upgrade to 4.9.50
--- recipes-kernel/linux/linux-raspberrypi_4.9.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-kernel/linux/linux-raspberrypi_4.9.bb +2 -2
@@ -1,8 +1,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" -LINUX_VERSION ?= "4.9.41" +LINUX_VERSION ?= "4.9.50" -SRCREV = "4153f509b449f1c1c816cf124c314975c3daa824" +SRCREV = "46e2d4d1bd2c17e2f84dd90768321ee0bbaa6b8a" SRC_URI = "git://github.com/raspberrypi/linux.git;branch=rpi-4.9.y" require linux-raspberrypi.inc
Signature · 1 line
2.14.1
PATCH 2/3 raspberrypi3-64: Use vc4-fkms-v3d overlay for rpi64
Use correct overlay for enabled vc4 accelaration This enable 3D accelaration over dispmanx on vc4/rpi64 Enable audio over HDMI
Disable overscan to avoid graphics glitches
--- conf/machine/raspberrypi3-64.conf | 1 + recipes-bsp/bootfiles/rpi-config_git.bb | 14 ++++++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-)
conf/machine/raspberrypi3-64.conf +1 -0
@@ -31,6 +31,7 @@ KERNEL_DEVICETREE = " \ overlays/pi3-disable-bt.dtbo \ overlays/pi3-miniuart-bt.dtbo \ overlays/vc4-kms-v3d.dtbo \ + overlays/vc4-fkms-v3d.dtbo \ " SERIAL_CONSOLE ?= "115200 ttyS0"
recipes-bsp/bootfiles/rpi-config_git.bb +12 -2
@@ -21,7 +21,8 @@ PITFT28r="${@bb.utils.contains("MACHINE_FEATURES", "pitft28r", "1", "0", d)}" PITFT35r="${@bb.utils.contains("MACHINE_FEATURES", "pitft35r", "1", "0", d)}" VC4GRAPHICS="${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "1", "0", d)}" - +VC4DTBO_raspberrypi3-64 = "vc4-fkms-v3d" +VC4DTBO ?= "vc4-kms-v3d" inherit deploy do_deploy() {
@@ -114,7 +115,7 @@ do_deploy() { # VC4 Graphics support if [ "${VC4GRAPHICS}" = "1" ]; then echo "# Enable VC4 Graphics" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt - echo "dtoverlay=vc4-kms-v3d,${VC4_CMA_SIZE}" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt + echo "dtoverlay=${VC4DTBO},${VC4_CMA_SIZE}" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt fi # Waveshare "C" 1024x600 7" Rev2.1 IPS capacitive touch (http://www.waveshare.com/7inch-HDMI-LCD-C.htm)
@@ -129,6 +130,15 @@ do_deploy() { } do_deploy_append_raspberrypi3-64() { + echo "# have a properly sized image" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt + echo "disable_overscan=1" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt + + echo "# for sound over HDMI" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt + echo "hdmi_drive=2" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt + + echo "# Enable audio (loads snd_bcm2835)" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt + echo "dtparam=audio=on" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt + # Device Tree support echo "# Load correct Device Tree for Aarch64" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt echo "device_tree=bcm2710-rpi-3-b.dtb" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
Signature · 1 line
2.14.1
PATCH 3/3 linux-raspberrypi: Build dtbs with dtbs make target for rpi64
In reply to Khem RajOE currently builds dtb files with its own custom targets by specifying each dtb file as makefile target, this creates bad dtb for rpi64 bit. This patch calles 'make dtbs' at the end which regenerates the correct dtb files
This makes the vc4 initialize properly on rpi64
--- recipes-kernel/linux/linux-raspberrypi.inc | 4 ++++ 1 file changed, 4 insertions(+)
recipes-kernel/linux/linux-raspberrypi.inc +4 -0
@@ -38,6 +38,10 @@ python __anonymous () { d.setVar("KERNEL_DEVICETREE", kerneldt) } +do_compile_append_raspberrypi3-64() { + oe_runmake dtbs +} + do_install_prepend() { install -d ${D}/lib/firmware }
Signature · 1 line
2.14.1
With these 3 changes included I see following failure with raspberrypi3-64, it might be something caused by last oe-core upgrade, but I haven't noticed anything suspicious there.
Looks familiar?
| VDSOL arch/arm64/kernel/vdso/vdso.so.dbg
| /OE/build/owpb/webos-ports/tmp-glibc/work/raspberrypi3_64-webos-linux/linux-raspberrypi/1_4.9.50+gitAUTOINC+46e2d4d1bd-r0/recipe-sysroot-native/usr/bin/aarch64-webos-linux/../../libexec/aarch64-webos-linux/gcc/aarch64-webos-linux/7.2.0/ld:
fatal error: -shared and -static are incompatible
| collect2: error: ld returned 1 exit status
| make[3]: ***
[/OE/build/owpb/webos-ports/tmp-glibc/work-shared/raspberrypi3-64/kernel-source/arch/arm64/kernel/vdso/Makefile:34:arch/arm64/kernel/vdso/vdso.so.dbg] Error 1
| make[2]: *** [arch/arm64/Makefile:144: vdso_prepare] Error 2 | make[1]: *** [Makefile:150: sub-make] Error 2 | make: *** [Makefile:24: __sub-make] Error 2 | ERROR: oe_runmake failed | WARNING:
/OE/build/owpb/webos-ports/tmp-glibc/work/raspberrypi3_64-webos-linux/linux-raspberrypi/1_4.9.50+gitAUTOINC+46e2d4d1bd-r0/temp/run.do_compile.29341:1 exit 1 from 'exit 1'
Quoted 30 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>--- recipes-kernel/linux/linux-raspberrypi_4.9.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)recipes-kernel/linux/linux-raspberrypi_4.9.bb +2
-3@@ -1,8 +1,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" -LINUX_VERSION ?= "4.9.41" +LINUX_VERSION ?= "4.9.50" -SRCREV = "4153f509b449f1c1c816cf124c314975c3daa824" +SRCREV = "46e2d4d1bd2c17e2f84dd90768321ee0bbaa6b8a" SRC_URI = "git://github.com/raspberrypi/linux.git;branch=rpi-4.9.y" require linux-raspberrypi.inc --2.14.1
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Quoted 5 lines · Martin Jansa
With these 3 changes included I see following failure with raspberrypi3-64, it might be something caused by last oe-core upgrade, but I haven't noticed anything suspicious there.
Looks familiar?
havent seen it here. I would say unbolt these changes and try out see if it goes away or not.
Quoted 51 lines
| VDSOL
arch/arm64/kernel/vdso/vdso.so.dbg
| /OE/build/owpb/webos-ports/tmp-glibc/work/raspberrypi3_64-webos-linux/linux-raspberrypi/1_4.9.50+gitAUTOINC+46e2d4d1bd-r0/recipe-sysroot-native/usr/bin/aarch64-webos-linux/../../libexec/aarch64-webos-linux/gcc/aarch64-webos-linux/7.2.0/ld:
fatal error: -shared and -static are incompatible
| collect2: error: ld returned 1 exit status
| make[3]: ***
[/OE/build/owpb/webos-ports/tmp-glibc/work-shared/raspberrypi3-64/kernel-source/arch/arm64/kernel/vdso/Makefile:34:arch/arm64/kernel/vdso/vdso.so.dbg] Error 1| make[2]: *** [arch/arm64/Makefile:144: vdso_prepare] Error 2 | make[1]: *** [Makefile:150: sub-make] Error 2 | make: *** [Makefile:24: __sub-make] Error 2 | ERROR: oe_runmake failed | WARNING:/OE/build/owpb/webos-ports/tmp-glibc/work/raspberrypi3_64-webos-linux/linux-raspberrypi/1_4.9.50+gitAUTOINC+46e2d4d1bd-r0/temp/run.do_compile.29341:1 exit 1 from 'exit 1'
Quoted 30 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>--- recipes-kernel/linux/linux-raspberrypi_4.9.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)recipes-kernel/linux/linux-raspberrypi_4.9.bb +2
-3@@ -1,8 +1,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" -LINUX_VERSION ?= "4.9.41" +LINUX_VERSION ?= "4.9.50" -SRCREV = "4153f509b449f1c1c816cf124c314975c3daa824" +SRCREV = "46e2d4d1bd2c17e2f84dd90768321ee0bbaa6b8a" SRC_URI = "git://github.com/raspberrypi/linux.git;branch=rpi-4.9.y" require linux-raspberrypi.inc --2.14.1
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Quoted 9 lines · Khem Raj
Quoted 5 lines · Martin Jansa
With these 3 changes included I see following failure with raspberrypi3-64, it might be something caused by last oe-core upgrade, but I haven't noticed anything suspicious there.
Looks familiar?
havent seen it here. I would say unbolt these changes and try out see if it goes away or not.
The last one "linux-raspberrypi: Build dtbs with dtbs make target for rpi64" is causing this error.
Quoted 52 lines
Quoted 52 lines
| VDSOL
arch/arm64/kernel/vdso/vdso.so.dbg
| /OE/build/owpb/webos-ports/tmp-glibc/work/raspberrypi3_64-webos-linux/linux-raspberrypi/1_4.9.50+gitAUTOINC+46e2d4d1bd-r0/recipe-sysroot-native/usr/bin/aarch64-webos-linux/../../libexec/aarch64-webos-linux/gcc/aarch64-webos-linux/7.2.0/ld:
fatal error: -shared and -static are incompatible
| collect2: error: ld returned 1 exit status
| make[3]: ***
[/OE/build/owpb/webos-ports/tmp-glibc/work-shared/raspberrypi3-64/kernel-source/arch/arm64/kernel/vdso/Makefile:34:arch/arm64/kernel/vdso/vdso.so.dbg] Error 1| make[2]: *** [arch/arm64/Makefile:144: vdso_prepare] Error 2 | make[1]: *** [Makefile:150: sub-make] Error 2 | make: *** [Makefile:24: __sub-make] Error 2 | ERROR: oe_runmake failed | WARNING:/OE/build/owpb/webos-ports/tmp-glibc/work/raspberrypi3_64-webos-linux/linux-raspberrypi/1_4.9.50+gitAUTOINC+46e2d4d1bd-r0/temp/run.do_compile.29341:1 exit 1 from 'exit 1'
Quoted 30 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>--- recipes-kernel/linux/linux-raspberrypi_4.9.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)recipes-kernel/linux/linux-raspberrypi_4.9.bb +2
-3@@ -1,8 +1,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" -LINUX_VERSION ?= "4.9.41" +LINUX_VERSION ?= "4.9.50" -SRCREV = "4153f509b449f1c1c816cf124c314975c3daa824" +SRCREV = "46e2d4d1bd2c17e2f84dd90768321ee0bbaa6b8a" SRC_URI = "git://github.com/raspberrypi/linux.git;branch=rpi-4.9.y" require linux-raspberrypi.inc --2.14.1
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
is /OE/build/owpb/webos-ports/tmp-glibc/work/raspberrypi3_64-webos-linux/linux-raspberrypi/1_4.9.50+gitAUTOINC+46e2d4d1bd-r0/recipe-sysroot-native/usr/bin/aarch64-webos-linux/../../libexec/aarch64-webos-linux/gcc/aarch64-webos-linux/7.2.0/ld
gold ?
Quoted 69 lines · Martin Jansa
Quoted 9 lines · Khem Raj
Quoted 5 lines · Martin Jansa
With these 3 changes included I see following failure with raspberrypi3-64, it might be something caused by last oe-core upgrade, but I haven't noticed anything suspicious there.
Looks familiar?
havent seen it here. I would say unbolt these changes and try out see if it goes away or not.
The last one "linux-raspberrypi: Build dtbs with dtbs make target for rpi64" is causing this error.
Quoted 45 lines
Quoted 45 lines
| VDSOL
arch/arm64/kernel/vdso/vdso.so.dbg
| /OE/build/owpb/webos-ports/tmp-glibc/work/raspberrypi3_64-webos-linux/linux-raspberrypi/1_4.9.50+gitAUTOINC+46e2d4d1bd-r0/recipe-sysroot-native/usr/bin/aarch64-webos-linux/../../libexec/aarch64-webos-linux/gcc/aarch64-webos-linux/7.2.0/ld:
fatal error: -shared and -static are incompatible
| collect2: error: ld returned 1 exit status
| make[3]: ***
[/OE/build/owpb/webos-ports/tmp-glibc/work-shared/raspberrypi3-64/kernel-source/arch/arm64/kernel/vdso/Makefile:34:arch/arm64/kernel/vdso/vdso.so.dbg] Error 1| make[2]: *** [arch/arm64/Makefile:144: vdso_prepare] Error 2 | make[1]: *** [Makefile:150: sub-make] Error 2 | make: *** [Makefile:24: __sub-make] Error 2 | ERROR: oe_runmake failed | WARNING:/OE/build/owpb/webos-ports/tmp-glibc/work/raspberrypi3_64-webos-linux/linux-raspberrypi/1_4.9.50+gitAUTOINC+46e2d4d1bd-r0/temp/run.do_compile.29341:1 exit 1 from 'exit 1'
Quoted 25 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>--- recipes-kernel/linux/linux-raspberrypi_4.9.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)recipes-kernel/linux/linux-raspberrypi_4.9.bb +2
-3@@ -1,8 +1,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" -LINUX_VERSION ?= "4.9.41" +LINUX_VERSION ?= "4.9.50" -SRCREV = "4153f509b449f1c1c816cf124c314975c3daa824" +SRCREV = "46e2d4d1bd2c17e2f84dd90768321ee0bbaa6b8a" SRC_URI = "git://github.com/raspberrypi/linux.git;branch=rpi-4.9.y" require linux-raspberrypi.inc --2.14.1
Quoted 7 lines
Quoted 7 lines
Quoted 5 lines
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto--
Martin 'JaMa' Jansa jabber: [email protected]
Yes,
GNU gold (GNU Binutils 2.29.0.20170912) 1.14
Quoted 89 lines · Khem Raj
is /OE/build/owpb/webos-ports/tmp-glibc/work/raspberrypi3_ 64-webos-linux/linux-raspberrypi/1_4.9.50+gitAUTOINC+46e2d4d1bd-r0/ recipe-sysroot-native/usr/bin/aarch64-webos-linux/../../ libexec/aarch64-webos-linux/gcc/aarch64-webos-linux/7.2.0/ld
gold ?
Quoted 2 lines · Martin Jansa
Quoted 1 line · Khem Raj
On Mon, Sep 18, 2017 at 11:48 AM, Martin Jansa <[email protected]>
Quoted 1 line · wrote:
Quoted 1 line
Quoted 1 line
With these 3 changes included I see following failure with
raspberrypi3-64,
Quoted 1 line
Quoted 1 line
Quoted 1 line
it might be something caused by last oe-core upgrade, but I haven't
noticed
Quoted 15 lines
Quoted 6 lines
Quoted 3 lines
anything suspicious there.
Looks familiar?
havent seen it here. I would say unbolt these changes and try out see if it goes away or not.
The last one "linux-raspberrypi: Build dtbs with dtbs make target for rpi64" is causing this error.
Quoted 5 lines
Quoted 5 lines
| VDSOL
arch/arm64/kernel/vdso/vdso.so.dbg
| /OE/build/owpb/webos-ports/tmp-glibc/work/raspberrypi3_64-webos-linux/linux-raspberrypi/1_4.9.50+gitAUTOINC+46e2d4d1bd-r0/ recipe-sysroot-native/usr/bin/aarch64-webos-linux/../../ libexec/aarch64-webos-linux/gcc/aarch64-webos-linux/7.2.0/ld:
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
fatal error: -shared and -static are incompatible | collect2: error: ld returned 1 exit status | make[3]: *** [/OE/build/owpb/webos-ports/tmp-glibc/work-shared/
raspberrypi3-64/kernel-source/arch/arm64/kernel/vdso/Makefile:34:
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
arch/arm64/kernel/vdso/vdso.so.dbg] Error 1| make[2]: *** [arch/arm64/Makefile:144: vdso_prepare] Error 2 | make[1]: *** [Makefile:150: sub-make] Error 2 | make: *** [Makefile:24: __sub-make] Error 2 | ERROR: oe_runmake failed | WARNING:/OE/build/owpb/webos-ports/tmp-glibc/work/raspberrypi3_
64-webos-linux/linux-raspberrypi/1_4.9.50+gitAUTOINC+46e2d4d1bd-r0/temp/ run.do_compile.29341:1
Quoted 39 lines
Quoted 29 lines
Quoted 29 lines
exit 1 from 'exit 1'
Quoted 25 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>--- recipes-kernel/linux/linux-raspberrypi_4.9.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)recipes-kernel/linux/linux-raspberrypi_4.9.bb +2
-3@@ -1,8 +1,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" -LINUX_VERSION ?= "4.9.41" +LINUX_VERSION ?= "4.9.50" -SRCREV = "4153f509b449f1c1c816cf124c314975c3daa824" +SRCREV = "46e2d4d1bd2c17e2f84dd90768321ee0bbaa6b8a" SRC_URI = "git://github.com/raspberrypi/linux.git;branch=rpi-4.9.y" require linux-raspberrypi.inc --2.14.1
Quoted 7 lines
Quoted 7 lines
Quoted 5 lines
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto--
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 3 lines · Martin Jansa
Yes,
GNU gold (GNU Binutils 2.29.0.20170912) 1.14
that is the problem. We can't use gold for kernel.
Quoted 88 lines · Khem Raj
Quoted 84 lines
is
/OE/build/owpb/webos-ports/tmp-glibc/work/raspberrypi3_64-webos-linux/linux-raspberrypi/1_4.9.50+gitAUTOINC+46e2d4d1bd-r0/recipe-sysroot-native/usr/bin/aarch64-webos-linux/../../libexec/aarch64-webos-linux/gcc/aarch64-webos-linux/7.2.0/ld
gold ?
Quoted 75 lines · Martin Jansa
Quoted 8 lines · Khem Raj
Quoted 6 lines · Martin Jansa
With these 3 changes included I see following failure with raspberrypi3-64,
it might be something caused by last oe-core upgrade, but I haven't noticed
anything suspicious there.Quoted 4 lines
Quoted 1 line
Looks familiar?
havent seen it here. I would say unbolt these changes and try out see if it goes away or not.
The last one "linux-raspberrypi: Build dtbs with dtbs make target for rpi64" is causing this error.
Quoted 48 lines
Quoted 48 lines
| VDSOL
arch/arm64/kernel/vdso/vdso.so.dbg
|/OE/build/owpb/webos-ports/tmp-glibc/work/raspberrypi3_64-webos-linux/linux-raspberrypi/1_4.9.50+gitAUTOINC+46e2d4d1bd-r0/recipe-sysroot-native/usr/bin/aarch64-webos-linux/../../libexec/aarch64-webos-linux/gcc/aarch64-webos-linux/7.2.0/ld:
fatal error: -shared and -static are incompatible
| collect2: error: ld returned 1 exit status
| make[3]: ***[/OE/build/owpb/webos-ports/tmp-glibc/work-shared/raspberrypi3-64/kernel-source/arch/arm64/kernel/vdso/Makefile:34:
arch/arm64/kernel/vdso/vdso.so.dbg] Error 1| make[2]: *** [arch/arm64/Makefile:144: vdso_prepare] Error 2 | make[1]: *** [Makefile:150: sub-make] Error 2 | make: *** [Makefile:24: __sub-make] Error 2 | ERROR: oe_runmake failed | WARNING:/OE/build/owpb/webos-ports/tmp-glibc/work/raspberrypi3_64-webos-linux/linux-raspberrypi/1_4.9.50+gitAUTOINC+46e2d4d1bd-r0/temp/run.do_compile.29341:1 exit 1 from 'exit 1'
Quoted 25 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>--- recipes-kernel/linux/linux-raspberrypi_4.9.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)recipes-kernel/linux/linux-raspberrypi_4.9.bb +2
-3@@ -1,8 +1,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" -LINUX_VERSION ?= "4.9.41" +LINUX_VERSION ?= "4.9.50" -SRCREV = "4153f509b449f1c1c816cf124c314975c3daa824" +SRCREV = "46e2d4d1bd2c17e2f84dd90768321ee0bbaa6b8a" SRC_URI = "git://github.com/raspberrypi/linux.git;branch=rpi-4.9.y" require linux-raspberrypi.inc --2.14.1
Quoted 7 lines
Quoted 7 lines
Quoted 5 lines
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto--
Martin 'JaMa' Jansa jabber: [email protected]