[yocto] Sysroot bug in bitbake or wrong configuration?

2017-09-19 Thread Svein Seldal


I have the spu-image.bb recipe below, and running on Pyro, the recipe 
behaves differently if the recipe is run on a fresh system with no 
sstate elements, compared to a system that has a sstate cache present.


The failure is that the spu-image required the host tool "uuidgen", and 
thus has DEPENDS on "util-linux-native". When the -c cleanall spu-image 
is run prior to building spu-image, the recipe sysroot is properly 
initialized with util-linux-native and uuidgen is available in the task 
functions.


If -c clean is run prior to build, or simply by deleting tmp, the 
sysroot will not be properly initialized and uuidgen is not available 
and the recipe fails


Is this a bug in bitbake or am I missing something in my recipe?


Best regards,
Svein Seldal


# spu-image.bb
DESCRIPTION = "Upgrade Image"

LICENSE = "MIT"
LIC_FILES_CHKSUM = 
"file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690"


DEPENDS = "util-linux-native"
INHIBIT_DEFAULT_DEPS = "1"

fakeroot do_spu_rootfs() {
uuidgen
}
addtask do_spu_rootfs before do_build

fakeroot do_spu_image () {
uuidgen
}
addtask do_spu_image after do_spu_rootfs before do_build

# It does not matter if these are noexec-ed or not
#do_fetch[noexec] = "1"
#do_unpack[noexec] = "1"
#do_patch[noexec] = "1"
#do_configure[noexec] = "1"
#do_compile[noexec] = "1"
#do_install[noexec] = "1"
#do_package[noexec] = "1"
#do_package_qa[noexec] = "1"
#do_packagedata[noexec] = "1"
#do_package_write_ipk[noexec] = "1"
#do_package_write_deb[noexec] = "1"
#do_package_write_rpm[noexec] = "1"


# 1) Running works fine
#   bitbake -v spu-image |tee log1.txt
#   cat log1.txt | grep -2 uuidgen
#
# 2) Cleaning
#   bitbake -c clean spu-image
#
# 3) Rebuilding -- now fails
#   bitbake -v spu-image |tee log2.txt
#   cat log2.txt | grep -2 uuidgen
#
# 4) Sstate cleaning
#   bitbake -c cleanall spu-image
#
# 5) Works again:
#   bitbake -v spu-image |tee log3.txt
#   cat log3.txt | grep -2 uuidgen

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-raspberrypi][PATCH V2 4/4] xserver-xf86-config: Disable glamor for the modesetting driver on pi64

2017-09-19 Thread Khem Raj
Fixes a xorg server crash with musl see details
https://github.com/voidlinux/void-packages/issues/6091

Signed-off-by: Khem Raj 
---
 .../xserver-xf86-config/rpi/xorg.conf.d/10-noglamor.conf | 6 ++
 recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend   | 9 +++--
 2 files changed, 13 insertions(+), 2 deletions(-)
 create mode 100644 
recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-noglamor.conf

diff --git 
a/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-noglamor.conf
 
b/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-noglamor.conf
new file mode 100644
index 000..1a562ea
--- /dev/null
+++ 
b/recipes-graphics/xorg-xserver/xserver-xf86-config/rpi/xorg.conf.d/10-noglamor.conf
@@ -0,0 +1,6 @@
+# 
+Section "Device"
+   Identifier "modeset"
+   Driver "modesetting"
+   Option "AccelMethod" "None"
+EndSection
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend 
b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
index b361eef..7902f20 100644
--- a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
+++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
@@ -4,7 +4,9 @@ SRC_URI_append_rpi = " \
 file://xorg.conf.d/98-pitft.conf \
 file://xorg.conf.d/99-calibration.conf \
 "
-
+SRC_URI_append_libc-musl_raspberrypi3-64 = " \
+file://xorg.conf.d/10-noglamor.conf \
+"
 do_install_append_rpi () {
 PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}"
 if [ "${PITFT}" = "1" ]; then
@@ -13,5 +15,8 @@ do_install_append_rpi () {
 install -m 0644 ${WORKDIR}/xorg.conf.d/99-calibration.conf 
${D}/${sysconfdir}/X11/xorg.conf.d/
 fi
 }
-
+do_install_append_libc-musl_raspberrypi3-64 () {
+install -d ${D}/${sysconfdir}/X11/xorg.conf.d/
+install -m 0644 ${WORKDIR}/xorg.conf.d/10-noglamor.conf 
${D}/${sysconfdir}/X11/xorg.conf.d/
+}
 FILES_${PN}_rpi += "${sysconfdir}/X11/xorg.conf 
${sysconfdir}/X11/xorg.conf.d/*"
-- 
2.14.1

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-raspberrypi][PATCH V2 3/4] linux-raspberrypi: Build dtbs with dtbs make target for rpi64

2017-09-19 Thread Khem Raj
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 
---
Changes in v2: Use KERNEL_CC and KERNEL_LD

 recipes-kernel/linux/linux-raspberrypi.inc | 5 +
 1 file changed, 5 insertions(+)

diff --git a/recipes-kernel/linux/linux-raspberrypi.inc 
b/recipes-kernel/linux/linux-raspberrypi.inc
index f336490..b348a9d 100644
--- a/recipes-kernel/linux/linux-raspberrypi.inc
+++ b/recipes-kernel/linux/linux-raspberrypi.inc
@@ -38,6 +38,11 @@ python __anonymous () {
 d.setVar("KERNEL_DEVICETREE", kerneldt)
 }
 
+do_compile_append_raspberrypi3-64() {
+cc_extra=$(get_cc_option)
+oe_runmake dtbs CC="${KERNEL_CC} $cc_extra " LD="${KERNEL_LD}" 
${KERNEL_EXTRA_ARGS}
+}
+
 do_install_prepend() {
 install -d ${D}/lib/firmware
 }
-- 
2.14.1

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-raspberrypi][PATCH V2 2/4] raspberrypi3-64: Use vc4-fkms-v3d overlay for rpi64

2017-09-19 Thread Khem Raj
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 
---
Changes in v2: None
 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

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-raspberrypi][PATCH V2 1/4] linux-raspberrypi_4.9.bb: Upgrade to 4.9.50

2017-09-19 Thread Khem Raj
Signed-off-by: Khem Raj 
---
Changes in v2: None

 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


Re: [yocto] [meta-raspberrypi][PATCH 1/3] linux-raspberrypi_4.9.bb: Upgrade to 4.9.50

2017-09-19 Thread Khem Raj
On Tue, Sep 19, 2017 at 7:13 AM, Martin Jansa  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  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 
>> 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 
>> >> 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  wrote:
>> >> >>
>> >> >> Signed-off-by: Khem Raj 
>> >> >> ---
>> >> >>  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.ja...@gmail.com
>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 1/3] linux-raspberrypi_4.9.bb: Upgrade to 4.9.50

2017-09-19 Thread Martin Jansa
Yes,

GNU gold (GNU Binutils 2.29.0.20170912) 1.14

On Tue, Sep 19, 2017 at 4:01 PM, Khem Raj  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 
> 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 
> 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  wrote:
> >> >>
> >> >> Signed-off-by: Khem Raj 
> >> >> ---
> >> >>  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.ja...@gmail.com
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 1/3] linux-raspberrypi_4.9.bb: Upgrade to 4.9.50

2017-09-19 Thread 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 ?

On Tue, Sep 19, 2017 at 6:58 AM, Martin Jansa  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  
>> 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  wrote:
>> >>
>> >> Signed-off-by: Khem Raj 
>> >> ---
>> >>  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.ja...@gmail.com
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 1/3] linux-raspberrypi_4.9.bb: Upgrade to 4.9.50

2017-09-19 Thread Martin Jansa
On Mon, Sep 18, 2017 at 12:29:44PM -0700, Khem Raj wrote:
> On Mon, Sep 18, 2017 at 11:48 AM, Martin Jansa  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  wrote:
> >>
> >> Signed-off-by: Khem Raj 
> >> ---
> >>  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.ja...@gmail.com


signature.asc
Description: Digital signature
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto