All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi][PATCH 1/3] linux-raspberrypi_4.9.bb: Upgrade to 4.9.50
@ 2017-09-18  5:41 Khem Raj
  2017-09-18  5:41 ` [meta-raspberrypi][PATCH 2/3] raspberrypi3-64: Use vc4-fkms-v3d overlay for rpi64 Khem Raj
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Khem Raj @ 2017-09-18  5:41 UTC (permalink / raw)
  To: yocto

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 recipes-kernel/linux/linux-raspberrypi_4.9.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-kernel/linux/linux-raspberrypi_4.9.bb b/recipes-kernel/linux/linux-raspberrypi_4.9.bb
index ba17020..068965f 100644
--- a/recipes-kernel/linux/linux-raspberrypi_4.9.bb
+++ b/recipes-kernel/linux/linux-raspberrypi_4.9.bb
@@ -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



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [meta-raspberrypi][PATCH 2/3] raspberrypi3-64: Use vc4-fkms-v3d overlay for rpi64
  2017-09-18  5:41 [meta-raspberrypi][PATCH 1/3] linux-raspberrypi_4.9.bb: Upgrade to 4.9.50 Khem Raj
@ 2017-09-18  5:41 ` Khem Raj
  2017-09-18  5:41 ` [meta-raspberrypi][PATCH 3/3] linux-raspberrypi: Build dtbs with dtbs make target " Khem Raj
  2017-09-18 18:48 ` [meta-raspberrypi][PATCH 1/3] linux-raspberrypi_4.9.bb: Upgrade to 4.9.50 Martin Jansa
  2 siblings, 0 replies; 9+ messages in thread
From: Khem Raj @ 2017-09-18  5:41 UTC (permalink / raw)
  To: yocto

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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 conf/machine/raspberrypi3-64.conf       |  1 +
 recipes-bsp/bootfiles/rpi-config_git.bb | 14 ++++++++++++--
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/conf/machine/raspberrypi3-64.conf b/conf/machine/raspberrypi3-64.conf
index e3d11f2..237684a 100644
--- a/conf/machine/raspberrypi3-64.conf
+++ b/conf/machine/raspberrypi3-64.conf
@@ -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"
diff --git a/recipes-bsp/bootfiles/rpi-config_git.bb b/recipes-bsp/bootfiles/rpi-config_git.bb
index 38a1237..4353061 100644
--- a/recipes-bsp/bootfiles/rpi-config_git.bb
+++ b/recipes-bsp/bootfiles/rpi-config_git.bb
@@ -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
-- 
2.14.1



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [meta-raspberrypi][PATCH 3/3] linux-raspberrypi: Build dtbs with dtbs make target for rpi64
  2017-09-18  5:41 [meta-raspberrypi][PATCH 1/3] linux-raspberrypi_4.9.bb: Upgrade to 4.9.50 Khem Raj
  2017-09-18  5:41 ` [meta-raspberrypi][PATCH 2/3] raspberrypi3-64: Use vc4-fkms-v3d overlay for rpi64 Khem Raj
@ 2017-09-18  5:41 ` Khem Raj
  2017-09-18 18:48 ` [meta-raspberrypi][PATCH 1/3] linux-raspberrypi_4.9.bb: Upgrade to 4.9.50 Martin Jansa
  2 siblings, 0 replies; 9+ messages in thread
From: Khem Raj @ 2017-09-18  5:41 UTC (permalink / raw)
  To: yocto

OE 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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 recipes-kernel/linux/linux-raspberrypi.inc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc
index f336490..e0b14e9 100644
--- a/recipes-kernel/linux/linux-raspberrypi.inc
+++ b/recipes-kernel/linux/linux-raspberrypi.inc
@@ -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
 }
-- 
2.14.1



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [meta-raspberrypi][PATCH 1/3] linux-raspberrypi_4.9.bb: Upgrade to 4.9.50
  2017-09-18  5:41 [meta-raspberrypi][PATCH 1/3] linux-raspberrypi_4.9.bb: Upgrade to 4.9.50 Khem Raj
  2017-09-18  5:41 ` [meta-raspberrypi][PATCH 2/3] raspberrypi3-64: Use vc4-fkms-v3d overlay for rpi64 Khem Raj
  2017-09-18  5:41 ` [meta-raspberrypi][PATCH 3/3] linux-raspberrypi: Build dtbs with dtbs make target " Khem Raj
@ 2017-09-18 18:48 ` Martin Jansa
  2017-09-18 19:29   ` Khem Raj
  2 siblings, 1 reply; 9+ messages in thread
From: Martin Jansa @ 2017-09-18 18:48 UTC (permalink / raw)
  To: Khem Raj; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 2184 bytes --]

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'


On Mon, Sep 18, 2017 at 7:41 AM, Khem Raj <raj.khem@gmail.com> wrote:

> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  recipes-kernel/linux/linux-raspberrypi_4.9.bb | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-kernel/linux/linux-raspberrypi_4.9.bb
> b/recipes-kernel/linux/linux-raspberrypi_4.9.bb
> index ba17020..068965f 100644
> --- a/recipes-kernel/linux/linux-raspberrypi_4.9.bb
> +++ b/recipes-kernel/linux/linux-raspberrypi_4.9.bb
> @@ -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
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>

[-- Attachment #2: Type: text/html, Size: 3544 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-raspberrypi][PATCH 1/3] linux-raspberrypi_4.9.bb: Upgrade to 4.9.50
  2017-09-18 18:48 ` [meta-raspberrypi][PATCH 1/3] linux-raspberrypi_4.9.bb: Upgrade to 4.9.50 Martin Jansa
@ 2017-09-18 19:29   ` Khem Raj
  2017-09-19 13:58     ` Martin Jansa
  0 siblings, 1 reply; 9+ messages in thread
From: Khem Raj @ 2017-09-18 19:29 UTC (permalink / raw)
  To: Martin Jansa; +Cc: yocto

On Mon, Sep 18, 2017 at 11:48 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> 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.

>
> |   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'
>
>
> On Mon, Sep 18, 2017 at 7:41 AM, Khem Raj <raj.khem@gmail.com> wrote:
>>
>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> ---
>>  recipes-kernel/linux/linux-raspberrypi_4.9.bb | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/recipes-kernel/linux/linux-raspberrypi_4.9.bb
>> b/recipes-kernel/linux/linux-raspberrypi_4.9.bb
>> index ba17020..068965f 100644
>> --- a/recipes-kernel/linux/linux-raspberrypi_4.9.bb
>> +++ b/recipes-kernel/linux/linux-raspberrypi_4.9.bb
>> @@ -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
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>
>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-raspberrypi][PATCH 1/3] linux-raspberrypi_4.9.bb: Upgrade to 4.9.50
  2017-09-18 19:29   ` Khem Raj
@ 2017-09-19 13:58     ` Martin Jansa
  2017-09-19 14:01       ` Khem Raj
  0 siblings, 1 reply; 9+ messages in thread
From: Martin Jansa @ 2017-09-19 13:58 UTC (permalink / raw)
  To: Khem Raj; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 2792 bytes --]

On Mon, Sep 18, 2017 at 12:29:44PM -0700, Khem Raj wrote:
> On Mon, Sep 18, 2017 at 11:48 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> > 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.

> 
> >
> > |   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'
> >
> >
> > On Mon, Sep 18, 2017 at 7:41 AM, Khem Raj <raj.khem@gmail.com> wrote:
> >>
> >> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> >> ---
> >>  recipes-kernel/linux/linux-raspberrypi_4.9.bb | 4 ++--
> >>  1 file changed, 2 insertions(+), 2 deletions(-)
> >>
> >> diff --git a/recipes-kernel/linux/linux-raspberrypi_4.9.bb
> >> b/recipes-kernel/linux/linux-raspberrypi_4.9.bb
> >> index ba17020..068965f 100644
> >> --- a/recipes-kernel/linux/linux-raspberrypi_4.9.bb
> >> +++ b/recipes-kernel/linux/linux-raspberrypi_4.9.bb
> >> @@ -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
> >> yocto@yoctoproject.org
> >> https://lists.yoctoproject.org/listinfo/yocto
> >
> >

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-raspberrypi][PATCH 1/3] linux-raspberrypi_4.9.bb: Upgrade to 4.9.50
  2017-09-19 13:58     ` Martin Jansa
@ 2017-09-19 14:01       ` Khem Raj
  2017-09-19 14:13         ` Martin Jansa
  0 siblings, 1 reply; 9+ messages in thread
From: Khem Raj @ 2017-09-19 14:01 UTC (permalink / raw)
  To: Martin Jansa; +Cc: yocto

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 ?

On Tue, Sep 19, 2017 at 6:58 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Mon, Sep 18, 2017 at 12:29:44PM -0700, Khem Raj wrote:
>> On Mon, Sep 18, 2017 at 11:48 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
>> > 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.
>
>>
>> >
>> > |   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'
>> >
>> >
>> > On Mon, Sep 18, 2017 at 7:41 AM, Khem Raj <raj.khem@gmail.com> wrote:
>> >>
>> >> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> >> ---
>> >>  recipes-kernel/linux/linux-raspberrypi_4.9.bb | 4 ++--
>> >>  1 file changed, 2 insertions(+), 2 deletions(-)
>> >>
>> >> diff --git a/recipes-kernel/linux/linux-raspberrypi_4.9.bb
>> >> b/recipes-kernel/linux/linux-raspberrypi_4.9.bb
>> >> index ba17020..068965f 100644
>> >> --- a/recipes-kernel/linux/linux-raspberrypi_4.9.bb
>> >> +++ b/recipes-kernel/linux/linux-raspberrypi_4.9.bb
>> >> @@ -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
>> >> yocto@yoctoproject.org
>> >> https://lists.yoctoproject.org/listinfo/yocto
>> >
>> >
>
> --
> Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-raspberrypi][PATCH 1/3] linux-raspberrypi_4.9.bb: Upgrade to 4.9.50
  2017-09-19 14:01       ` Khem Raj
@ 2017-09-19 14:13         ` Martin Jansa
  2017-09-19 15:53           ` Khem Raj
  0 siblings, 1 reply; 9+ messages in thread
From: Martin Jansa @ 2017-09-19 14:13 UTC (permalink / raw)
  To: Khem Raj; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 3526 bytes --]

Yes,

GNU gold (GNU Binutils 2.29.0.20170912) 1.14

On Tue, Sep 19, 2017 at 4:01 PM, Khem Raj <raj.khem@gmail.com> wrote:

> 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 ?
>
> On Tue, Sep 19, 2017 at 6:58 AM, Martin Jansa <martin.jansa@gmail.com>
> wrote:
> > On Mon, Sep 18, 2017 at 12:29:44PM -0700, Khem Raj wrote:
> >> On Mon, Sep 18, 2017 at 11:48 AM, Martin Jansa <martin.jansa@gmail.com>
> wrote:
> >> > 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.
> >
> >>
> >> >
> >> > |   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'
> >> >
> >> >
> >> > On Mon, Sep 18, 2017 at 7:41 AM, Khem Raj <raj.khem@gmail.com> wrote:
> >> >>
> >> >> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> >> >> ---
> >> >>  recipes-kernel/linux/linux-raspberrypi_4.9.bb | 4 ++--
> >> >>  1 file changed, 2 insertions(+), 2 deletions(-)
> >> >>
> >> >> diff --git a/recipes-kernel/linux/linux-raspberrypi_4.9.bb
> >> >> b/recipes-kernel/linux/linux-raspberrypi_4.9.bb
> >> >> index ba17020..068965f 100644
> >> >> --- a/recipes-kernel/linux/linux-raspberrypi_4.9.bb
> >> >> +++ b/recipes-kernel/linux/linux-raspberrypi_4.9.bb
> >> >> @@ -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
> >> >> yocto@yoctoproject.org
> >> >> https://lists.yoctoproject.org/listinfo/yocto
> >> >
> >> >
> >
> > --
> > Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com
>

[-- Attachment #2: Type: text/html, Size: 5813 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-raspberrypi][PATCH 1/3] linux-raspberrypi_4.9.bb: Upgrade to 4.9.50
  2017-09-19 14:13         ` Martin Jansa
@ 2017-09-19 15:53           ` Khem Raj
  0 siblings, 0 replies; 9+ messages in thread
From: Khem Raj @ 2017-09-19 15:53 UTC (permalink / raw)
  To: Martin Jansa; +Cc: yocto

On Tue, Sep 19, 2017 at 7:13 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> Yes,
>
> GNU gold (GNU Binutils 2.29.0.20170912) 1.14

that is the problem. We can't use gold for kernel.

>
> On Tue, Sep 19, 2017 at 4:01 PM, Khem Raj <raj.khem@gmail.com> wrote:
>>
>> 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 ?
>>
>> On Tue, Sep 19, 2017 at 6:58 AM, Martin Jansa <martin.jansa@gmail.com>
>> wrote:
>> > On Mon, Sep 18, 2017 at 12:29:44PM -0700, Khem Raj wrote:
>> >> On Mon, Sep 18, 2017 at 11:48 AM, Martin Jansa <martin.jansa@gmail.com>
>> >> wrote:
>> >> > 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.
>> >
>> >>
>> >> >
>> >> > |   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'
>> >> >
>> >> >
>> >> > On Mon, Sep 18, 2017 at 7:41 AM, Khem Raj <raj.khem@gmail.com> wrote:
>> >> >>
>> >> >> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> >> >> ---
>> >> >>  recipes-kernel/linux/linux-raspberrypi_4.9.bb | 4 ++--
>> >> >>  1 file changed, 2 insertions(+), 2 deletions(-)
>> >> >>
>> >> >> diff --git a/recipes-kernel/linux/linux-raspberrypi_4.9.bb
>> >> >> b/recipes-kernel/linux/linux-raspberrypi_4.9.bb
>> >> >> index ba17020..068965f 100644
>> >> >> --- a/recipes-kernel/linux/linux-raspberrypi_4.9.bb
>> >> >> +++ b/recipes-kernel/linux/linux-raspberrypi_4.9.bb
>> >> >> @@ -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
>> >> >> yocto@yoctoproject.org
>> >> >> https://lists.yoctoproject.org/listinfo/yocto
>> >> >
>> >> >
>> >
>> > --
>> > Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com
>
>


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-09-19 15:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-18  5:41 [meta-raspberrypi][PATCH 1/3] linux-raspberrypi_4.9.bb: Upgrade to 4.9.50 Khem Raj
2017-09-18  5:41 ` [meta-raspberrypi][PATCH 2/3] raspberrypi3-64: Use vc4-fkms-v3d overlay for rpi64 Khem Raj
2017-09-18  5:41 ` [meta-raspberrypi][PATCH 3/3] linux-raspberrypi: Build dtbs with dtbs make target " Khem Raj
2017-09-18 18:48 ` [meta-raspberrypi][PATCH 1/3] linux-raspberrypi_4.9.bb: Upgrade to 4.9.50 Martin Jansa
2017-09-18 19:29   ` Khem Raj
2017-09-19 13:58     ` Martin Jansa
2017-09-19 14:01       ` Khem Raj
2017-09-19 14:13         ` Martin Jansa
2017-09-19 15:53           ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.