Re: [yocto] [meta-raspberrypi][PATCH] rpi-base.inc: Include pi3-disable-bt-overlay.dtb

2016-11-08 Thread Andrei Gherzan
On Sat, Nov 05, 2016 at 02:56:58PM +1100, Jonathan Liu wrote:
> This is used to disable Bluetooth and restore the serial console.
>
> Signed-off-by: Jonathan Liu 
> ---
>  conf/machine/include/rpi-base.inc | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/conf/machine/include/rpi-base.inc 
> b/conf/machine/include/rpi-base.inc
> index 3364516..6657aff 100644
> --- a/conf/machine/include/rpi-base.inc
> +++ b/conf/machine/include/rpi-base.inc
> @@ -36,6 +36,7 @@ KERNEL_DEVICETREE ?= " \
>  overlays/rpi-ft5406.dtbo \
>  overlays/w1-gpio.dtbo \
>  overlays/w1-gpio-pullup.dtbo \
> +overlays/pi3-disable-bt.dtbo \
>  overlays/pi3-miniuart-bt.dtbo \
>  overlays/vc4-kms-v3d.dtbo \
>  "
> --
> 2.10.1
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

Merged to master. Thanks.

--
Andrei Gherzan


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


Re: [yocto] FW: cmake version 3.0.0 or greater

2016-11-08 Thread Burton, Ross
On 8 November 2016 at 04:52, Dinh Nguyen (dinhn)  wrote:

> Our SDK has the Yocto Project 1.7 Dizzy version and it supports cmake
> 2.8.12 version as show below:
> ./meta/recipes-devtools/cmake/cmake_2.8.12.2.bb
> ./meta/recipes-devtools/cmake/cmake-native_2.8.12.2.bb
>
> We need to pulling the cmake 3.x.x version for our sdk-dslink-c recipe
> build.
>
> I found  git://git.openembedded.org/openembedded-core has version  3.6.x
> So I tried to pull it in. But this version got a trace back when
> integrated to our SDK Yocto Dizzy.
>
> Can you advise which open embedded-core version/git location to pull in
> to SDK Dizzy version for cmake 3.x.x version
>

There is no official dizzy recipe for cmake 3.  If you share what the error
is, then we may be able to help backporting the recipe to dizzy.

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


Re: [yocto] [meta-raspberrypi][PATCH V2] gstreamer1.0-plugins-bad_%.bbappend: Set PACKAGECONFIG_GL for RPi

2016-11-08 Thread Andrei Gherzan
On Thu, Nov 03, 2016 at 01:57:09PM -0700, Khem Raj wrote:
> Enable dispmanx support if using bcm driver
>
> Signed-off-by: Khem Raj 
> ---
> Changes from V1->V2:
> - Remove spurious "
> - Rearrange code
> - Remove duplicate packageconfig for dispmanx
>
>  .../gstreamer/gstreamer1.0-plugins-bad_%.bbappend  | 14 
> --
>  1 file changed, 12 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend 
> b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
> index ab0280e..7292f90 100644
> --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
> +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
> @@ -1,2 +1,12 @@
> -EXTRA_OECONF_append_rpi = " 
> CPPFLAGS='-I${STAGING_DIR_TARGET}/usr/include/interface/vcos/pthreads \
> -   
> -I${STAGING_DIR_TARGET}/usr/include/interface/vmcs_host/linux'"
> +EXTRA_OECONF_append_rpi = " 
> CPPFLAGS='-I${STAGING_INCDIR}/interface/vcos/pthreads \
> +   
> -I${STAGING_INCDIR}/interface/vmcs_host/linux'"
> +
> +# if using bcm driver enable dispmanx not when using VC4 driver
> +
> +PACKAGECONFIG_append_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 
> 'vc4graphics', '', ' dispmanx', d)}"
> +
> +PACKAGECONFIG_GL_rpi = "egl gles2"
> +
> +PACKAGECONFIG_append_rpi = " hls libmms faad"
> +
> +PACKAGECONFIG[dispmanx] = "--enable-dispmanx,--disable-dispmanx,userland"
> --
> 2.10.2
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

Merged to master. Thanks.

--
Andrei Gherzan


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


Re: [yocto] [meta-raspberrypi][PATCH 6/6] linux-raspberrypi-4.4: Update to 4.4.28

2016-11-08 Thread Andrei Gherzan
On Mon, Oct 31, 2016 at 09:52:08AM -0700, Khem Raj wrote:
> Signed-off-by: Khem Raj 
> ---
>  recipes-kernel/linux/linux-raspberrypi_4.4.bb | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-kernel/linux/linux-raspberrypi_4.4.bb 
> b/recipes-kernel/linux/linux-raspberrypi_4.4.bb
> index 4b15f88..19e8552 100644
> --- a/recipes-kernel/linux/linux-raspberrypi_4.4.bb
> +++ b/recipes-kernel/linux/linux-raspberrypi_4.4.bb
> @@ -1,8 +1,8 @@
>  FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
>
> -LINUX_VERSION ?= "4.4.23"
> +LINUX_VERSION ?= "4.4.28"
>
> -SRCREV = "c2a1d975537fcac01da80ce34f10bc491620a64e"
> +SRCREV = "5afda48c3408e15742d4569459a4ff668e2857f7"
>  SRC_URI = 
> "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-4.4.y \
> file://0001-fix-dtbo-rules.patch \
>  "
> --
> 2.10.1
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

Merged to master. Thanks.

--
Andrei Gherzan


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


Re: [yocto] [meta-raspberrypi][PATCH 5/6] firmware: Update to 20161030

2016-11-08 Thread Andrei Gherzan
On Mon, Oct 31, 2016 at 09:52:07AM -0700, Khem Raj wrote:
> Signed-off-by: Khem Raj 
> ---
>  recipes-bsp/common/firmware.inc | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-bsp/common/firmware.inc b/recipes-bsp/common/firmware.inc
> index 6ce89a5..ed0782f 100644
> --- a/recipes-bsp/common/firmware.inc
> +++ b/recipes-bsp/common/firmware.inc
> @@ -1,5 +1,5 @@
> -RPIFW_SRCREV ?= "ec5a517ed6051974a5a09f7b7811d21c443a7c74"
> -RPIFW_DATE ?= "20161020"
> +RPIFW_SRCREV ?= "413fc664838e81caeabdc4118dc51e138d5d6c71"
> +RPIFW_DATE ?= "20161030"
>  RPIFW_SRC_URI ?= 
> "git://github.com/raspberrypi/firmware.git;protocol=git;branch=master"
>  RPIFW_S ?= "${WORKDIR}/git"
>
> --
> 2.10.1
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

Merged to master. Thanks.

--
Andrei Gherzan


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


Re: [yocto] [meta-raspberrypi][PATCH 4/6] userland: Update to latest master tip

2016-11-08 Thread Andrei Gherzan
On Mon, Oct 31, 2016 at 09:52:06AM -0700, Khem Raj wrote:
> Signed-off-by: Khem Raj 
> ---
>  recipes-graphics/userland/userland_git.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-graphics/userland/userland_git.bb 
> b/recipes-graphics/userland/userland_git.bb
> index 3c63f94..7558851 100644
> --- a/recipes-graphics/userland/userland_git.bb
> +++ b/recipes-graphics/userland/userland_git.bb
> @@ -16,7 +16,7 @@ COMPATIBLE_MACHINE = "raspberrypi"
>
>  SRCBRANCH = "master"
>  SRCFORK = "raspberrypi"
> -SRCREV = "2350bf2511fa49e177fb35c9613eef1b657a7506"
> +SRCREV = "2852d9ff5a9038021f1c22d95e8a9e3aad09893f"
>
>  SRC_URI = "\
>  
> git://github.com/${SRCFORK}/userland.git;protocol=git;branch=${SRCBRANCH} \
> --
> 2.10.1
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

Merged to master. Thanks.

--
Andrei Gherzan


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


Re: [yocto] [meta-raspberrypi][PATCH 5/6] firmware: Update to 20161030

2016-11-08 Thread Gary Thomas

On 2016-11-08 11:57, Andrei Gherzan wrote:

On Mon, Oct 31, 2016 at 09:52:07AM -0700, Khem Raj wrote:

Signed-off-by: Khem Raj 
---
 recipes-bsp/common/firmware.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/common/firmware.inc b/recipes-bsp/common/firmware.inc
index 6ce89a5..ed0782f 100644
--- a/recipes-bsp/common/firmware.inc
+++ b/recipes-bsp/common/firmware.inc
@@ -1,5 +1,5 @@
-RPIFW_SRCREV ?= "ec5a517ed6051974a5a09f7b7811d21c443a7c74"
-RPIFW_DATE ?= "20161020"
+RPIFW_SRCREV ?= "413fc664838e81caeabdc4118dc51e138d5d6c71"
+RPIFW_DATE ?= "20161030"
 RPIFW_SRC_URI ?= 
"git://github.com/raspberrypi/firmware.git;protocol=git;branch=master"
 RPIFW_S ?= "${WORKDIR}/git"

--
2.10.1

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


Merged to master. Thanks.

--
Andrei Gherzan





What about the patches to switch to tarballs for the firmware?
This seems much more sensible than sloshing around 6+GB GIT files...

--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

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


Re: [yocto] UTF-89 support

2016-11-08 Thread Keskinarkaus, Teemu
Hi,

I tried that. I have now these lines in the local.conf

GLIBC_GENERATE_LOCALES = "en_GB en_US en_GB.UTF-8 en_US.UTF-8"
IMAGE_LINGUAS = "en-gb en-us"

I had to add the "en-us" to IMAGE_LINGUAS or I would only get en_GB locale and 
not en_US at all. Still missing the UTF-8 locales though.

Teemu Keskinarkaus
Software system engineer
CrossControl
making machines smart, safe and productive


-Original Message-
From: Khem Raj [mailto:raj.k...@gmail.com]
Sent: 7. marraskuuta 2016 22:12
To: Paul Eggleton
Cc: yocto@yoctoproject.org; Keskinarkaus, Teemu
Subject: Re: [yocto] UTF-89 support

On Mon, Nov 7, 2016 at 11:48 AM, Paul Eggleton  
wrote:
> On Mon, 07 Nov 2016 09:24:18 Khem Raj wrote:
>> On 11/7/16 3:48 AM, Keskinarkaus, Teemu wrote:
>> > Hi,
>> >
>> >
>> >
>> > I tried googling this and reading the manual, but I guess this is
>> > too trivial or I’m doing something wrong.
>> >
>> >
>> >
>> > I’m trying to get UTF-8 support to my image. UTF-8 locale more specific.
>> > If I run locale –a command I get these locales listed:
>> >
>> > C
>> >
>> > POSIX
>> >
>> > en_GB
>> >
>> > en_US
>> >
>> >
>> >
>> > I added this line to my local.conf:
>> >
>> > GLIBC_GENERATE_LOCALES = "en_GB.UTF-8 en_US.UTF-8 en_GB en_US"
>>
>> you also need to set IMAGE_LINGUAS to include it into image e.g.
>>
>> GLIBC_GENERATE_LOCALES = "en-gb"
>
> I guess you meant IMAGE_LINGUAS = "en-gb"

yes thanks for noting

>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre



Actuant Corporation Email Notice

This message is intended only for the use of the Addressee and may contain 
information that is PRIVILEGED and/or CONFIDENTIAL.
This email is intended only for the personal and confidential use of the 
recipient(s) named above. If the reader of this email is not an intended 
recipient, you have received this email in error and any review, dissemination, 
distribution or copying is strictly prohibited.
If you have received this email in error, please notify the sender immediately 
by return mail and permanently delete the copy you received.

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


Re: [yocto] [meta-raspberrypi][PATCH 3/6] weston: Unify bbappends for weston into single file

2016-11-08 Thread Andrei Gherzan
On Mon, Oct 31, 2016 at 09:52:05AM -0700, Khem Raj wrote:
> Signed-off-by: Khem Raj 
> ---
>  recipes-graphics/wayland/weston_%.bbappend | 10 ++
>  recipes-graphics/weston/weston_%.bbappend  |  8 
>  2 files changed, 10 insertions(+), 8 deletions(-)
>  delete mode 100644 recipes-graphics/weston/weston_%.bbappend
>
> diff --git a/recipes-graphics/wayland/weston_%.bbappend 
> b/recipes-graphics/wayland/weston_%.bbappend
> index 57b8079..f2cb7aa 100644
> --- a/recipes-graphics/wayland/weston_%.bbappend
> +++ b/recipes-graphics/wayland/weston_%.bbappend
> @@ -1,2 +1,12 @@
>  EXTRA_OECONF_append_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 
> 'vc4graphics', '', ' --enable-rpi-compositor 
> WESTON_NATIVE_BACKEND=rpi-backend.so', d)}"
>
> +PACKAGECONFIG_remove_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 
> 'vc4graphics', 'fbdev', '', d)}"
> +
> +EXTRA_OECONF += "--disable-xwayland-test \
> + --disable-simple-egl-clients \
> +"
> +
> +EXTRA_OECONF += "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 
> '--enable-rpi-compositor', d)}"
> +EXTRA_OECONF += "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 
> '--disable-resize-optimization', d)}"
> +EXTRA_OECONF += "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 
> '--disable-setuid-install', d)}"
> +EXTRA_OECONF += "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 
> 'WESTON_NATIVE_BACKEND=rpi-backend.so', d)}"
> diff --git a/recipes-graphics/weston/weston_%.bbappend 
> b/recipes-graphics/weston/weston_%.bbappend
> deleted file mode 100644
> index b964542..000
> --- a/recipes-graphics/weston/weston_%.bbappend
> +++ /dev/null
> @@ -1,8 +0,0 @@
> -PACKAGECONFIG_remove_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 
> 'vc4graphics', ' fbdev', '', d)}"
> -EXTRA_OECONF += "--disable-xwayland-test \
> - --disable-simple-egl-clients \
> -"
> -EXTRA_OECONF += "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 
> '--enable-rpi-compositor', d)}"
> -EXTRA_OECONF += "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 
> '--disable-resize-optimization', d)}"
> -EXTRA_OECONF += "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 
> '--disable-setuid-install', d)}"
> -EXTRA_OECONF += "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 
> 'WESTON_NATIVE_BACKEND=rpi-backend.so', d)}"
> --
> 2.10.1
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

Merged to master. Thanks.
--
Andrei Gherzan


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


Re: [yocto] [meta-raspberrypi][PATCH 5/6] firmware: Update to 20161030

2016-11-08 Thread Andrei Gherzan
On Tue, Nov 08, 2016 at 12:04:55PM +0100, Gary Thomas wrote:
> On 2016-11-08 11:57, Andrei Gherzan wrote:
> > On Mon, Oct 31, 2016 at 09:52:07AM -0700, Khem Raj wrote:
> > > Signed-off-by: Khem Raj 
> > > ---
> > >  recipes-bsp/common/firmware.inc | 4 ++--
> > >  1 file changed, 2 insertions(+), 2 deletions(-)
> > >
> > > diff --git a/recipes-bsp/common/firmware.inc 
> > > b/recipes-bsp/common/firmware.inc
> > > index 6ce89a5..ed0782f 100644
> > > --- a/recipes-bsp/common/firmware.inc
> > > +++ b/recipes-bsp/common/firmware.inc
> > > @@ -1,5 +1,5 @@
> > > -RPIFW_SRCREV ?= "ec5a517ed6051974a5a09f7b7811d21c443a7c74"
> > > -RPIFW_DATE ?= "20161020"
> > > +RPIFW_SRCREV ?= "413fc664838e81caeabdc4118dc51e138d5d6c71"
> > > +RPIFW_DATE ?= "20161030"
> > >  RPIFW_SRC_URI ?= 
> > > "git://github.com/raspberrypi/firmware.git;protocol=git;branch=master"
> > >  RPIFW_S ?= "${WORKDIR}/git"
> > >
> > > --
> > > 2.10.1
> > >
> > > --
> > > ___
> > > yocto mailing list
> > > yocto@yoctoproject.org
> > > https://lists.yoctoproject.org/listinfo/yocto
> >
> > Merged to master. Thanks.
> >
> > --
> > Andrei Gherzan
> >
> >
> >
>
> What about the patches to switch to tarballs for the firmware?
> This seems much more sensible than sloshing around 6+GB GIT files...
>

Next in line. :)

--
Andrei Gherzan


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


Re: [yocto] [meta-raspberrypi][PATCH 1/2] firmware: Use release tarballs

2016-11-08 Thread Andrei Gherzan
On Sun, Nov 6, 2016 at 7:25 AM, Khem Raj  wrote:
> This is a binary repo and its quite large in size
> we do not need the whole history of this repo since
> most of stuff needed is binaries, therefore switch
> to release tarballs
>
> Signed-off-by: Khem Raj 
> ---
>  recipes-bsp/common/firmware.inc | 12 +++-
>  1 file changed, 7 insertions(+), 5 deletions(-)
>
> diff --git a/recipes-bsp/common/firmware.inc b/recipes-bsp/common/firmware.inc
> index ed0782f..8862f58 100644
> --- a/recipes-bsp/common/firmware.inc
> +++ b/recipes-bsp/common/firmware.inc
> @@ -1,8 +1,10 @@
> -RPIFW_SRCREV ?= "413fc664838e81caeabdc4118dc51e138d5d6c71"
> -RPIFW_DATE ?= "20161030"
> -RPIFW_SRC_URI ?= 
> "git://github.com/raspberrypi/firmware.git;protocol=git;branch=master"
> -RPIFW_S ?= "${WORKDIR}/git"
> +RPIFW_DATE ?= "20161020"
> +RPIFW_SRC_URI ?= 
> "https://github.com/raspberrypi/firmware/archive/1.${RPIFW_DATE}.tar.gz";
> +RPIFW_S ?= "${WORKDIR}/firmware-1.${RPIFW_DATE}"
>
>  SRC_URI = "${RPIFW_SRC_URI}"
> -SRCREV = "${RPIFW_SRCREV}"
> +SRC_URI[md5sum] = "d3c388c114af4c672dd3ee0ed8e984d3"
> +SRC_URI[sha256sum] = 
> "1c7c49d58800aab2dd1b5ff59a1e297934f9ea6f47ebdf0a3f90632561dc690b"
> +
>  PV = "${RPIFW_DATE}"

Merged to master. Thanks.

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


Re: [yocto] [meta-raspberrypi][PATCH 2/2] userland: Bump to latest and add ASNEEDED = ""

2016-11-08 Thread Andrei Gherzan
On Sun, Nov 06, 2016 at 12:25:15AM -0700, Khem Raj wrote:
> ASNEEDED does not work with userland libraries as
> noted in see
> https://lists.yoctoproject.org/pipermail/yocto/2014-June/019933.html
>
> Helps with running kodi using gles2
>
> Signed-off-by: Khem Raj 
> ---
>  .../userland/0003-wayland-Add-Wayland-example.patch| 14 
> +++---
>  recipes-graphics/userland/userland_git.bb  |  4 +++-
>  2 files changed, 10 insertions(+), 8 deletions(-)
>
> diff --git 
> a/recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch 
> b/recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch
> index 49a7872..98f18c8 100644
> --- 
> a/recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch
> +++ 
> b/recipes-graphics/userland/userland/0003-wayland-Add-Wayland-example.patch
> @@ -1,4 +1,4 @@
> -From 7f52662a4d1965988ee5ada28ce3525c38ebf164 Mon Sep 17 00:00:00 2001
> +From 6ee44bd040bf8e8abf9c5a7be7f6ea4b82d5671a Mon Sep 17 00:00:00 2001
>  From: Tomeu Vizoso 
>  Date: Tue, 1 Oct 2013 13:19:20 +0200
>  Subject: [PATCH 03/13] wayland: Add Wayland example
> @@ -844,23 +844,23 @@ index 000..1a7bfc4
>  +}
>  +
>  diff --git a/host_applications/linux/apps/hello_pi/rebuild.sh 
> b/host_applications/linux/apps/hello_pi/rebuild.sh
> -index fa4539e..37120ac 100755
> +index 8225dd5..0be6ce7 100755
>  --- a/host_applications/linux/apps/hello_pi/rebuild.sh
>  +++ b/host_applications/linux/apps/hello_pi/rebuild.sh
> -@@ -13,6 +13,7 @@ make -C hello_jpeg clean
> - make -C hello_videocube clean
> +@@ -14,6 +14,7 @@ make -C hello_videocube clean
>   make -C hello_teapot clean
>   make -C hello_fft clean
> + make -C hello_mmal_encode clean
>  +make -C hello_wayland clean
>
>   make -C libs/ilclient
>   make -C libs/vgfont
> -@@ -29,4 +30,4 @@ make -C hello_jpeg
> - make -C hello_videocube
> +@@ -31,4 +32,4 @@ make -C hello_videocube
>   make -C hello_teapot
>   make -C hello_fft
> + make -C hello_mmal_encode
>  -
>  +make -C hello_wayland
>  --
> -2.10.0
> +2.10.2
>
> diff --git a/recipes-graphics/userland/userland_git.bb 
> b/recipes-graphics/userland/userland_git.bb
> index 7558851..84d6854 100644
> --- a/recipes-graphics/userland/userland_git.bb
> +++ b/recipes-graphics/userland/userland_git.bb
> @@ -16,7 +16,7 @@ COMPATIBLE_MACHINE = "raspberrypi"
>
>  SRCBRANCH = "master"
>  SRCFORK = "raspberrypi"
> -SRCREV = "2852d9ff5a9038021f1c22d95e8a9e3aad09893f"
> +SRCREV = "100f8bb3e74e29d04fb99857183cc34aaa712e3f"
>
>  SRC_URI = "\
>  
> git://github.com/${SRCFORK}/userland.git;protocol=git;branch=${SRCBRANCH} \
> @@ -38,6 +38,8 @@ S = "${WORKDIR}/git"
>
>  inherit cmake pkgconfig
>
> +ASNEEDED = ""
> +
>  EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release 
> -DCMAKE_EXE_LINKER_FLAGS='-Wl,--no-as-needed' \
>   -DVMCS_INSTALL_PREFIX=${exec_prefix} \
>  "
> --
> 2.10.2
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

Merged to master. Thanks.

--
Andrei Gherzan


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


Re: [yocto] [meta-raspberrypi][PATCH 1/2] firmware: Use release tarballs

2016-11-08 Thread Gary Thomas

On 2016-11-08 12:16, Andrei Gherzan wrote:

On Sun, Nov 6, 2016 at 7:25 AM, Khem Raj  wrote:

This is a binary repo and its quite large in size
we do not need the whole history of this repo since
most of stuff needed is binaries, therefore switch
to release tarballs

Signed-off-by: Khem Raj 
---
 recipes-bsp/common/firmware.inc | 12 +++-
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/recipes-bsp/common/firmware.inc b/recipes-bsp/common/firmware.inc
index ed0782f..8862f58 100644
--- a/recipes-bsp/common/firmware.inc
+++ b/recipes-bsp/common/firmware.inc
@@ -1,8 +1,10 @@
-RPIFW_SRCREV ?= "413fc664838e81caeabdc4118dc51e138d5d6c71"
-RPIFW_DATE ?= "20161030"
-RPIFW_SRC_URI ?= 
"git://github.com/raspberrypi/firmware.git;protocol=git;branch=master"
-RPIFW_S ?= "${WORKDIR}/git"
+RPIFW_DATE ?= "20161020"
+RPIFW_SRC_URI ?= 
"https://github.com/raspberrypi/firmware/archive/1.${RPIFW_DATE}.tar.gz";
+RPIFW_S ?= "${WORKDIR}/firmware-1.${RPIFW_DATE}"

 SRC_URI = "${RPIFW_SRC_URI}"
-SRCREV = "${RPIFW_SRCREV}"
+SRC_URI[md5sum] = "d3c388c114af4c672dd3ee0ed8e984d3"
+SRC_URI[sha256sum] = 
"1c7c49d58800aab2dd1b5ff59a1e297934f9ea6f47ebdf0a3f90632561dc690b"
+
 PV = "${RPIFW_DATE}"


Merged to master. Thanks.


Sadly, the firmware revision went backwards in this change.
Do you want a new patch to play catch-up?

--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

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


Re: [yocto] [meta-raspberrypi][PATCH] linux-firmware_git.bbappend: Delete

2016-11-08 Thread Andrei Gherzan
On Thu, Nov 03, 2016 at 03:26:09PM -0700, Khem Raj wrote:
> OE-core already bumped the base rev on linux-firmware package
> to include the upstreamed version of brcmfmac43430 firmware in
> september via OE-Core commit a0bc732976670810505286ba43feee70e2c812ce
>
> Signed-off-by: Khem Raj 

Merged to master. Thanks.

--
Andrei Gherzan


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


Re: [yocto] [meta-raspberrypi][PATCH 1/2] firmware: Use release tarballs

2016-11-08 Thread Andrei Gherzan
On Tue, Nov 08, 2016 at 12:35:47PM +0100, Gary Thomas wrote:
> On 2016-11-08 12:16, Andrei Gherzan wrote:
> > On Sun, Nov 6, 2016 at 7:25 AM, Khem Raj  wrote:
> > > This is a binary repo and its quite large in size
> > > we do not need the whole history of this repo since
> > > most of stuff needed is binaries, therefore switch
> > > to release tarballs
> > >
> > > Signed-off-by: Khem Raj 
> > > ---
> > >  recipes-bsp/common/firmware.inc | 12 +++-
> > >  1 file changed, 7 insertions(+), 5 deletions(-)
> > >
> > > diff --git a/recipes-bsp/common/firmware.inc 
> > > b/recipes-bsp/common/firmware.inc
> > > index ed0782f..8862f58 100644
> > > --- a/recipes-bsp/common/firmware.inc
> > > +++ b/recipes-bsp/common/firmware.inc
> > > @@ -1,8 +1,10 @@
> > > -RPIFW_SRCREV ?= "413fc664838e81caeabdc4118dc51e138d5d6c71"
> > > -RPIFW_DATE ?= "20161030"
> > > -RPIFW_SRC_URI ?= 
> > > "git://github.com/raspberrypi/firmware.git;protocol=git;branch=master"
> > > -RPIFW_S ?= "${WORKDIR}/git"
> > > +RPIFW_DATE ?= "20161020"
> > > +RPIFW_SRC_URI ?= 
> > > "https://github.com/raspberrypi/firmware/archive/1.${RPIFW_DATE}.tar.gz";
> > > +RPIFW_S ?= "${WORKDIR}/firmware-1.${RPIFW_DATE}"
> > >
> > >  SRC_URI = "${RPIFW_SRC_URI}"
> > > -SRCREV = "${RPIFW_SRCREV}"
> > > +SRC_URI[md5sum] = "d3c388c114af4c672dd3ee0ed8e984d3"
> > > +SRC_URI[sha256sum] = 
> > > "1c7c49d58800aab2dd1b5ff59a1e297934f9ea6f47ebdf0a3f90632561dc690b"
> > > +
> > >  PV = "${RPIFW_DATE}"
> >
> > Merged to master. Thanks.
>
> Sadly, the firmware revision went backwards in this change.
> Do you want a new patch to play catch-up?
>

Good catch. I'll fix it. Thanks.

--
Andrei Gherzan


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


Re: [yocto] FW: cmake version 3.0.0 or greater

2016-11-08 Thread Dinh Nguyen (dinhn)
Thanks Ross,

Here is the error message when trying to build sdk-dslink-c within Yocto  Dizzy 
version.

| + echo 
/media/raghuram/data/dinhn/ioxDevLatest/ioxsdk/yp64/tmp/work/core2-64-poky-linux/sdk-dslink-c/1.1-r0
| + 
/media/raghuram/data/dinhn/ioxDevLatest/ioxsdk/yp64/tmp/work/core2-64-poky-linux/sdk-dslink-c/1.1-r0/sdk-dslink-c-939fb15c97688276b1234a0e0092e61fdbe65c03/tools/build.sh
| CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
|   CMake 3.0.0 or higher is required.  You are running version 2.8.12.2
|
|
| -- Configuring incomplete, errors occurred!
| See also 
"/media/raghuram/data/dinhn/ioxDevLatest/ioxsdk/yp64/tmp/work/core2-64-poky-linux/sdk-dslink-c/1.1-r0/sdk-dslink-c-939fb15c97688276b1234a0e0092e61fdbe65c03/build/CMakeFiles/CMakeOutput.log".
| See also 
"/media/raghuram/data/dinhn/ioxDevLatest/ioxsdk/yp64/tmp/work/core2-64-poky-linux/sdk-dslink-c/1.1-r0/sdk-dslink-c-939fb15c97688276b1234a0e0092e61fdbe65c03/build/CMakeFiles/CMakeError.log".
| + bb_exit_handler

Here  is part of the CMakeList.txt for sdk-dslink-c that required the minimum 
version:

cmake_minimum_required(VERSION 3.0.0 FATAL_ERROR)
project(sdk_dslink_c C)

option(USE_CCACHE "Enable CCache Support" ON)
option(DSLINK_BUILD_BROKER "Whether to build the broker" OFF)
option(DSLINK_BUILD_EXAMPLES "Whether to build the examples" OFF)
option(DSLINK_TEST "Whether to enable tests" OFF)
option(TOOLCHAIN_DYNAMIC_LINK_ENABLE "Enable Dynamic Linking for Toolchain" ON)

# Configure CMake Modules #

set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/tools/cmake)

include(MacroEnsureOutOfSourceBuild)
ensure_out_of_source_build("Please do not build the C SDK inside the source 
directory.")

# Check Configuration #

if ("${CMAKE_GENERATOR}" STREQUAL "Ninja" AND DSLINK_TEST)
message(WARNING "C SDK Unit Tests are currently not supported under Ninja.")
set(DSLINK_TEST OFF)
endif()
…

Thanks

From: "Burton, Ross" mailto:ross.bur...@intel.com>>
Date: Tuesday, November 8, 2016 at 2:00 AM
To: dinhn mailto:di...@cisco.com>>
Cc: "yocto@yoctoproject.org" 
mailto:yocto@yoctoproject.org>>
Subject: Re: [yocto] FW: cmake version 3.0.0 or greater


On 8 November 2016 at 04:52, Dinh Nguyen (dinhn) 
mailto:di...@cisco.com>> wrote:
Our SDK has the Yocto Project 1.7 Dizzy version and it supports cmake 2.8.12 
version as show below:
./meta/recipes-devtools/cmake/cmake_2.8.12.2.bb
./meta/recipes-devtools/cmake/cmake-native_2.8.12.2.bb

We need to pulling the cmake 3.x.x version for our sdk-dslink-c recipe build.

I found  
git://git.openembedded.org/openembedded-core
 has version  3.6.x
So I tried to pull it in. But this version got a trace back when integrated to 
our SDK Yocto Dizzy.

Can you advise which open embedded-core version/git location to pull in to SDK 
Dizzy version for cmake 3.x.x version

There is no official dizzy recipe for cmake 3.  If you share what the error is, 
then we may be able to help backporting the recipe to dizzy.

Ross
cmake_minimum_required(VERSION 3.0.0 FATAL_ERROR)
project(sdk_dslink_c C)

option(USE_CCACHE "Enable CCache Support" ON)
option(DSLINK_BUILD_BROKER "Whether to build the broker" OFF)
option(DSLINK_BUILD_EXAMPLES "Whether to build the examples" OFF)
option(DSLINK_TEST "Whether to enable tests" OFF)
option(TOOLCHAIN_DYNAMIC_LINK_ENABLE "Enable Dynamic Linking for Toolchain" ON)

# Configure CMake Modules #

set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/tools/cmake)

include(MacroEnsureOutOfSourceBuild)
ensure_out_of_source_build("Please do not build the C SDK inside the source 
directory.")

# Check Configuration #

if ("${CMAKE_GENERATOR}" STREQUAL "Ninja" AND DSLINK_TEST)
message(WARNING "C SDK Unit Tests are currently not supported under Ninja.")
set(DSLINK_TEST OFF)
endif()

# Define Macros #

macro(ADD_C_FLAGS flags)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${flags}")
endmacro()

# Git Version Info 

set(GIT_DIR "${CMAKE_SOURCE_DIR}/.git")
if (EXISTS "${GIT_DIR}" AND IS_DIRECTORY "${GIT_DIR}" AND NOT 
"${GIT_COMMIT_HASH}")
execute_process(
COMMAND git log -1 --format=%H
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
OUTPUT_VARIABLE GIT_COMMIT_HASH
OUTPUT_STRIP_TRAILING_WHITESPACE
)
endif()

# Toolchain Configuration #

ADD_C_FLAGS("${TOOLCHAIN_C_FLAGS}")

if (NOT TOOLCHAIN_DYNAMIC_LINK_ENABLE)
set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS)
set(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS)
endif()

# Configure CCache Support 

find_program(CCACHE_FOUND ccache)
if (CCACHE_FOUND AND USE_CCACHE)
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
endif()

# Configure Dependencies #

foreach(dep "mbed" "wslay" "argtable3" "jansson" "libuv")
include("${CMAKE_CURRENT_LIST_DIR}/deps/${dep}/CMakeLists.txt"

Re: [yocto] FW: cmake version 3.0.0 or greater

2016-11-08 Thread Burton, Ross
On 8 November 2016 at 12:23, Dinh Nguyen (dinhn)  wrote:

> Here is the error message when trying to build sdk-dslink-c within Yocto
>  Dizzy version.
>
> | + echo /media/raghuram/data/dinhn/ioxDevLatest/ioxsdk/yp64/tmp/
> work/core2-64-poky-linux/sdk-dslink-c/1.1-r0
> | + /media/raghuram/data/dinhn/ioxDevLatest/ioxsdk/yp64/tmp/
> work/core2-64-poky-linux/sdk-dslink-c/1.1-r0/sdk-dslink-c-
> 939fb15c97688276b1234a0e0092e61fdbe65c03/tools/build.sh
> | CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
> |   CMake 3.0.0 or higher is required.  You are running version 2.8.12.2
> |
>

This tells me that you didn't upgrade cmake-native to 3.x.

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


Re: [yocto] FW: cmake version 3.0.0 or greater

2016-11-08 Thread Dinh Nguyen (dinhn)

>> This tells me that you didn't upgrade cmake-native to 3.x.

Right, and I am trying to upgrade to 3x version.  Would you please tell me 
which cmake patch or recipe  that I can use to upgrade to 3.x version for Dizzy?

Thanks,
  —Dinh

From: "Burton, Ross" mailto:ross.bur...@intel.com>>
Date: Tuesday, November 8, 2016 at 4:34 AM
To: dinhn mailto:di...@cisco.com>>
Cc: "yocto@yoctoproject.org" 
mailto:yocto@yoctoproject.org>>
Subject: Re: [yocto] FW: cmake version 3.0.0 or greater


On 8 November 2016 at 12:23, Dinh Nguyen (dinhn) 
mailto:di...@cisco.com>> wrote:
Here is the error message when trying to build sdk-dslink-c within Yocto  Dizzy 
version.

| + echo 
/media/raghuram/data/dinhn/ioxDevLatest/ioxsdk/yp64/tmp/work/core2-64-poky-linux/sdk-dslink-c/1.1-r0
| + 
/media/raghuram/data/dinhn/ioxDevLatest/ioxsdk/yp64/tmp/work/core2-64-poky-linux/sdk-dslink-c/1.1-r0/sdk-dslink-c-939fb15c97688276b1234a0e0092e61fdbe65c03/tools/build.sh
| CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
|   CMake 3.0.0 or higher is required.  You are running version 2.8.12.2
|

This tells me that you didn't upgrade cmake-native to 3.x.

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


Re: [yocto] FW: cmake version 3.0.0 or greater

2016-11-08 Thread Burton, Ross
On 8 November 2016 at 12:43, Dinh Nguyen (dinhn)  wrote:

> Right, and I am trying to upgrade to 3x version.  Would you please tell me
> which cmake patch or recipe  that I can use to upgrade to 3.x version for
> Dizzy?
>

What you said:

> I found  git://git.openembedded.org/openembedded-core has version  3.6.x
> So I tried to pull it in. But this version got a trace back when
integrated to our SDK Yocto Dizzy.

Take the recipes from master, copy the changes to dizzy, then fix any
problems caused by taking recipes from now and applying them to a two year
old release.

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


[yocto] [meta-oic][PATCH 2/3] Add packagegroup iotivity

2016-11-08 Thread Philippe Coval
Signed-off-by: Philippe Coval 
---
 .../packagegroups/packagegroup-iotivity.bb | 24 ++
 1 file changed, 24 insertions(+)
 create mode 100644 recipes-core/packagegroups/packagegroup-iotivity.bb

diff --git a/recipes-core/packagegroups/packagegroup-iotivity.bb 
b/recipes-core/packagegroups/packagegroup-iotivity.bb
new file mode 100644
index 000..f664d83
--- /dev/null
+++ b/recipes-core/packagegroups/packagegroup-iotivity.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "IoTivity full package set including examples"
+LICENSE = "Apache-2.0"
+
+inherit packagegroup
+
+PACKAGES = "\
+packagegroup-iotivity \
+"
+
+ALLOW_EMPTY_${PN} = "1"
+
+RDEPENDS_${PN} += "\
+iotivity \
+iotivity-plugins-samples \
+iotivity-resource \
+iotivity-resource-samples \
+iotivity-service \
+iotivity-service-samples \
+iotivity-tests \
+"
+
+RDEPENDS_${PN} += "\
+iotivity-simple-client \
+"
-- 
1.9.1

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


[yocto] [meta-oic][PATCH 3/3] Rebase 1.1.1 on 1.1-rel maintenance branch

2016-11-08 Thread Philippe Coval
 * stdassert.h is not standard-compliant. Change this to assert.h
 * linux: Support also armeabi-v7a TARGET_ARCH
 * minor changes

Fix harmless typo in recipe too

Change-Id: I99c3742e4b332094e76cdd0af49cf8b7253d246c
Signed-off-by: Philippe Coval 
---
 recipes-core/iotivity/iotivity_1.1.1.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes-core/iotivity/iotivity_1.1.1.bb 
b/recipes-core/iotivity/iotivity_1.1.1.bb
index 5abfb57..88becb6 100644
--- a/recipes-core/iotivity/iotivity_1.1.1.bb
+++ b/recipes-core/iotivity/iotivity_1.1.1.bb
@@ -1,4 +1,4 @@
-PR = "r2"
+PR = "r3"
 SUMMARY = "IoTivity framework and SDK sponsored by the Open Connectivity 
Foundation."
 DESCRIPTION = "IoTivity is an open source software framework enabling seamless 
device-to-device connectivity to address the emerging needs of the Internet of 
Things."
 HOMEPAGE = "https://www.iotivity.org/";
@@ -9,7 +9,7 @@ LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = 
"file://resource/include/OCApi.h;beginline=1;endline=19;md5=fc5a615cf1dc3880967127bc853b3e0c"
 
 branch_iotivity = "1.1-rel"
-SRCREV = "8078b450c9a75b7aecaf6259fd0a8710318fce0f"
+SRCREV = "5aa4339c5b6e11c062dcddca1372ef3f747cc2cb"
 SRC_URI = 
"git://github.com/iotivity/iotivity.git;destsuffix=${S};branch=${branch_iotivity};protocol=http;"
 
 url_tinycbor = "git://github.com/01org/tinycbor.git"
@@ -377,7 +377,7 @@ do_install() {
 
 FILES_${PN}-resource-dev = "\
 ${includedir}/iotivity/resource \
-${inclidedir}/iotivity/extlibs"
+${includedir}/iotivity/extlibs"
 
 FILES_${PN}-resource-thin-staticdev = "\
 ${libdir}/libocsrm.a \
-- 
1.9.1

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


[yocto] [meta-oic][PATCH 1/3] Set real url in SRCREV

2016-11-08 Thread Philippe Coval
RPM packaging might be lost on older version of yocto
It was observed using tizen-distro with raspberrypi BSP layer

Change-Id: Ic400c0d92961eabda235fc8314740d9e23851b31
Signed-off-by: Philippe Coval 
---
 recipes-core/iotivity/iotivity_1.1.1.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/recipes-core/iotivity/iotivity_1.1.1.bb 
b/recipes-core/iotivity/iotivity_1.1.1.bb
index a503c59..5abfb57 100644
--- a/recipes-core/iotivity/iotivity_1.1.1.bb
+++ b/recipes-core/iotivity/iotivity_1.1.1.bb
@@ -8,10 +8,9 @@ SECTION = "libs"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = 
"file://resource/include/OCApi.h;beginline=1;endline=19;md5=fc5a615cf1dc3880967127bc853b3e0c"
 
-url_iotivity = "git://github.com/iotivity/iotivity.git"
 branch_iotivity = "1.1-rel"
 SRCREV = "8078b450c9a75b7aecaf6259fd0a8710318fce0f"
-SRC_URI = 
"${url_iotivity};destsuffix=${S};branch=${branch_iotivity};protocol=http;"
+SRC_URI = 
"git://github.com/iotivity/iotivity.git;destsuffix=${S};branch=${branch_iotivity};protocol=http;"
 
 url_tinycbor = "git://github.com/01org/tinycbor.git"
 SRCREV_tinycbor = "358a7e42ab1ed421a68e699d8d8359340bcfacbd"
-- 
1.9.1

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


Re: [yocto] FW: cmake version 3.0.0 or greater

2016-11-08 Thread Dinh Nguyen (dinhn)

>>> I found  
>>> git://git.openembedded.org/openembedded-core
>>>  has version  3.6.x
>>> So I tried to pull it in. But this version got a trace back when integrated 
>>> to our SDK Yocto Dizzy.

>Take the recipes from master, copy the changes to dizzy, then fix any problems 
>caused by taking recipes from now and applying them to a two year old release.

Thanks Ross,

I am trying to take the cmake recipe from the master now. Hope it will work.

I was hoping to see if there is any  existing 3.x version for Dizzy. OK,  let 
see how it goes with the latest from the master.

—Dinh

From: "Burton, Ross" mailto:ross.bur...@intel.com>>
Date: Tuesday, November 8, 2016 at 4:48 AM
To: dinhn mailto:di...@cisco.com>>
Cc: "yocto@yoctoproject.org" 
mailto:yocto@yoctoproject.org>>
Subject: Re: [yocto] FW: cmake version 3.0.0 or greater


On 8 November 2016 at 12:43, Dinh Nguyen (dinhn) 
mailto:di...@cisco.com>> wrote:
Right, and I am trying to upgrade to 3x version.  Would you please tell me 
which cmake patch or recipe  that I can use to upgrade to 3.x version for Dizzy?

What you said:

> I found  
> git://git.openembedded.org/openembedded-core
>  has version  3.6.x
> So I tried to pull it in. But this version got a trace back when integrated 
> to our SDK Yocto Dizzy.

Take the recipes from master, copy the changes to dizzy, then fix any problems 
caused by taking recipes from now and applying them to a two year old release.

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


Re: [yocto] [meta-raspberrypi][PATCH 1/2] firmware: Use release tarballs

2016-11-08 Thread Khem Raj
On Tue, Nov 8, 2016 at 3:38 AM, Andrei Gherzan  wrote:
> On Tue, Nov 08, 2016 at 12:35:47PM +0100, Gary Thomas wrote:
>> On 2016-11-08 12:16, Andrei Gherzan wrote:
>> > On Sun, Nov 6, 2016 at 7:25 AM, Khem Raj  wrote:
>> > > This is a binary repo and its quite large in size
>> > > we do not need the whole history of this repo since
>> > > most of stuff needed is binaries, therefore switch
>> > > to release tarballs
>> > >
>> > > Signed-off-by: Khem Raj 
>> > > ---
>> > >  recipes-bsp/common/firmware.inc | 12 +++-
>> > >  1 file changed, 7 insertions(+), 5 deletions(-)
>> > >
>> > > diff --git a/recipes-bsp/common/firmware.inc 
>> > > b/recipes-bsp/common/firmware.inc
>> > > index ed0782f..8862f58 100644
>> > > --- a/recipes-bsp/common/firmware.inc
>> > > +++ b/recipes-bsp/common/firmware.inc
>> > > @@ -1,8 +1,10 @@
>> > > -RPIFW_SRCREV ?= "413fc664838e81caeabdc4118dc51e138d5d6c71"
>> > > -RPIFW_DATE ?= "20161030"
>> > > -RPIFW_SRC_URI ?= 
>> > > "git://github.com/raspberrypi/firmware.git;protocol=git;branch=master"
>> > > -RPIFW_S ?= "${WORKDIR}/git"
>> > > +RPIFW_DATE ?= "20161020"
>> > > +RPIFW_SRC_URI ?= 
>> > > "https://github.com/raspberrypi/firmware/archive/1.${RPIFW_DATE}.tar.gz";
>> > > +RPIFW_S ?= "${WORKDIR}/firmware-1.${RPIFW_DATE}"
>> > >
>> > >  SRC_URI = "${RPIFW_SRC_URI}"
>> > > -SRCREV = "${RPIFW_SRCREV}"
>> > > +SRC_URI[md5sum] = "d3c388c114af4c672dd3ee0ed8e984d3"
>> > > +SRC_URI[sha256sum] = 
>> > > "1c7c49d58800aab2dd1b5ff59a1e297934f9ea6f47ebdf0a3f90632561dc690b"
>> > > +
>> > >  PV = "${RPIFW_DATE}"
>> >
>> > Merged to master. Thanks.
>>
>> Sadly, the firmware revision went backwards in this change.
>> Do you want a new patch to play catch-up?
>>
>
> Good catch. I'll fix it. Thanks.

ah sorry about that.
just hardcode PV = "20161030" for now. with next release we will get it right
since its already past oct 30.
>
> --
> Andrei Gherzan
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] FW: cmake version 3.0.0 or greater

2016-11-08 Thread Khem Raj


On 11/8/16 4:43 AM, Dinh Nguyen (dinhn) wrote:
> 
>>> This tells me that you didn't upgrade cmake-native to 3.x.
> 
> Right, and I am trying to upgrade to 3x version.  Would you please tell me
> which cmake patch or recipe  that I can use to upgrade to 3.x version for 
> Dizzy?
> 

Keep in mind that it may result in more fallouts since all cmake based
packages will now suddenly get the update to 3.x, there still might be more
integration that you will end up doing for this.

> Thanks,
>   —Dinh 
> 
> From: "Burton, Ross" mailto:ross.bur...@intel.com>>
> Date: Tuesday, November 8, 2016 at 4:34 AM
> To: dinhn mailto:di...@cisco.com>>
> Cc: "yocto@yoctoproject.org "
> mailto:yocto@yoctoproject.org>>
> Subject: Re: [yocto] FW: cmake version 3.0.0 or greater
> 
> 
> On 8 November 2016 at 12:23, Dinh Nguyen (dinhn)  > wrote:
> 
> Here is the error message when trying to build sdk-dslink-c within Yocto
>  Dizzy version.
> 
> | + echo
> 
> /media/raghuram/data/dinhn/ioxDevLatest/ioxsdk/yp64/tmp/work/core2-64-poky-linux/sdk-dslink-c/1.1-r0
> | +
> 
> /media/raghuram/data/dinhn/ioxDevLatest/ioxsdk/yp64/tmp/work/core2-64-poky-linux/sdk-dslink-c/1.1-r0/sdk-dslink-c-939fb15c97688276b1234a0e0092e61fdbe65c03/tools/build.sh
> | CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
> |   CMake 3.0.0 or higher is required.  You are running version 2.8.12.2
> | 
> 
> 
> This tells me that you didn't upgrade cmake-native to 3.x.
> 
> Ross
> 
> 



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


Re: [yocto] How to handle meta-intel/openembedded repos with multiple developers

2016-11-08 Thread Bas Mevissen
On 07/11/2016 20:31, Chris Z. wrote:
> Hi,
> 
> How you store your project configuration ? How you prepare workspace
> (download each layer separately)?
> Basic stuff, SW release should be reproducible (in easy way). Store
> somewhere used hash of each piece or use tags. Non company assets should
> be already somehow tagged or you use HEAD or master/-next ?
> 

I think the best option is to use the Google Repo tool. You write an xml
file that specifies the layers to download and which commit, branch or
tag to checkout. The Freescale official and community project do it like
this, just like Android.

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


[yocto] Postinsts question

2016-11-08 Thread Vuille, Martin (Martin)
We are running with our rootfs mounted read-only.
Consequently, any postinsts that get deferred to first boot fail.

Is there a way to fail the build for any postinsts that can't
be performed during the build and have to be deferred?

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


Re: [yocto] Postinsts question

2016-11-08 Thread Burton, Ross
On 8 November 2016 at 23:23, Vuille, Martin (Martin) 
wrote:

> Is there a way to fail the build for any postinsts that can’t
>
> be performed during the build and have to be deferred?
>
>
Sadly not that I'm aware of currently.  If you're using a sufficiently
recent release (and by that I mean 2.2 / morty) then there is integrated
support for image QA tests (added in oe-core c9bef2ec if you want to
backport it) which lets you write an image QA function that could verify
that there are no delayed postinsts present in the image.

This would be a sensible addition for read-only rootfs, would you mind
filing a bug?

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


Re: [yocto] Postinsts question

2016-11-08 Thread Khem Raj


On 11/8/16 3:23 PM, Vuille, Martin (Martin) wrote:
> We are running with our rootfs mounted read-only.
> 
> Consequently, any postinsts that get deferred to first boot fail.
> 
>  
> 
> Is there a way to fail the build for any postinsts that can’t
> 
> be performed during the build and have to be deferred?

I hope you are using "read-only-rootfs" in IMAGE_FEATURES

> 
>  
> 
> MV
> 
> 
> 



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