Re: [yocto] Adding a -test sub-recipe

2016-05-31 Thread Colin Helliwell
[Apologies if this appears twice - unsure if my first send worked] I have a recipe which builds its libs/apps fine, and is installed into my rootfs; now I'm trying to add an additional 'test' subsection to the recipe in order to build and install some test apps. I've added a do_compile_append-

Re: [yocto] Per image customizations

2016-05-31 Thread Paul Eggleton
Hi Diego, On Tue, 31 May 2016 18:05:19 Diego wrote: > I've asked this question on IRC, but haven't received complete enough > replies, so posting here. > > I have my own layer with my recipes and customizations. In my layer I have > two images, one which is the "regular OS" that runs the product

[yocto] [psplash][PATCH v2 2/2] Add --fbdev option to psplash like --rotation.

2016-05-31 Thread Julien Gueytat
A new fbdev file is needed and should be overrided if needed. The number contained in fbdev will be used as X in /dev/fbX. By overriding fbdev you can have a splash screen on another framebuffer than /dev/fbO. The getenv(FBDEV) line has been replaced by this option since the environment variables

[yocto] [psplash][PATCH v2 1/2] Fix indendation.

2016-05-31 Thread Julien Gueytat
Signed-off-by: Julien Gueytat --- psplash.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/psplash.c b/psplash.c index 04d3d49..507202f 100644 --- a/psplash.c +++ b/psplash.c @@ -245,10 +245,10 @@ main (int argc, char** argv) if (mkfifo(PSPLASH_FIFO, S_IRUSR | S_IW

[yocto] [psplash][PATCH 2/2] Add --fbdev option to psplash like --rotation.

2016-05-31 Thread Julien Gueytat
A new fbdev file is needed and should be overrided if needed. The number contained in fbdev will be used as X in /dev/fbX. By overriding fbdev you can have a splash screen on another framebuffer than /dev/fbO. Signed-off-by: Julien Gueytat --- AUTHORS | 1 + psplash-fb.c | 16 ++--

[yocto] [psplash][PATCH 1/2] Fix indendation.

2016-05-31 Thread Julien Gueytat
Signed-off-by: Julien Gueytat --- psplash.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/psplash.c b/psplash.c index 04d3d49..507202f 100644 --- a/psplash.c +++ b/psplash.c @@ -245,10 +245,10 @@ main (int argc, char** argv) if (mkfifo(PSPLASH_FIFO, S_IRUSR | S_IW

[yocto] calibrator fails to run

2016-05-31 Thread Fred Ollinger
Goal: Run a cross compiled executable called calibrator from git://git.ti.com/wilink8-wlan/18xx-ti-utils.git Here's my build script: export NFSROOT=/srv/imx/CS65X-dev export CROSS_COMPILE=/opt/prickle/1.7.2/sysroots/x86_64-pricklesdk-linux/usr/bin/arm-prickle-linux-gnueabi/arm-prickle-lin

[yocto] Per image customizations

2016-05-31 Thread Diego
Hi guys, I've asked this question on IRC, but haven't received complete enough replies, so posting here. I have my own layer with my recipes and customizations. In my layer I have two images, one which is the "regular OS" that runs the product application, and one which is the "flash OS", a mi

[yocto] How to include a own libary into the toolchain(SDK) for an embeeded Linux generated by Yocto?

2016-05-31 Thread S . Jaritz
Hej, I am looking for an example where is shown how to include an own library into the toolchain. Let's call the library "myLib". For it I created an recipe "myLib.bb" and added: BBCLASSEXTEND = "native nativesdk" In my "local.conf" I added: IMAGE_INSTALL_append = " myLib" When buil

[yocto] [meta-selinux][PATCH] packagegroup-selinux-policycoreutils: add policycoreutils-hll

2016-05-31 Thread Shrikant Bobade
From: Shrikant Bobade we need policycoreutils-hll to insert custom policy module/package, without it semodule install fail with error: libsemanage.semanage_pipe_data: Unable to execute /usr/libexec/selinux/hll/ pp : No such file or directory libsemanage.semanage_direct_commit: Failed to compile

[yocto] [meta-raspberrypi][PATCH 1/1] linux-raspberrypi.inc: KERNEL_OUTPUT has been removed in kernel.bbclass

2016-05-31 Thread Herve Jourdain
Signed-off-by: Herve Jourdain --- recipes-kernel/linux/linux-raspberrypi.inc | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc index 4799c74..6133b02 100644 --- a/recipes-kernel/linu

[yocto] [meta-raspberrypi][PATCH 0/1] KERNEL_OUTPUT has been removed in kernel.bbclass

2016-05-31 Thread Herve Jourdain
The following patch has removed the KERNEL_OUTPUT variable: http://permalink.gmane.org/gmane.comp.handhelds.openembedded.core/80172 But meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi.inc does use it in do_rpiboot_mkimage() and do_bundle_initramfs_append()! Use the new KERNEL_OUTPUT_DIR var

[yocto] [eclipse-poky][PATCH] plugins/org.yocto.sdk.ide: Account for multiple PATH exports

2016-05-31 Thread Adrian Dudau
In the current implementation of the HashMap parsing of the source script only the last $PATH export is considered, which leads to issues in the case of eSDK. By concatenating the new value with HashMap values from previous iterations we make sure that previous exports are not lost. [YOCTO #9361]

[yocto] dev package being pulled into RDEPENDS automatically

2016-05-31 Thread Alfonso Lima Astor
Hello all, I am getting the following error when building a recipe of my own: ERROR: QA Issue: package1 rdepends on package2-dev [dev-deps] I think the problem is that package2-dev is in RDEPENDS_package1, but when I check the recipe, I just see: RDEPENDS_${PN} += "package1" Also, when I check

[yocto] [meta-selinux][PATCH] iproute2: fix qa warning by using with-selinux

2016-05-31 Thread Shrikant Bobade
From: Shrikant Bobade WARNING: iproute2-4.6.0-r0 do_package_qa: QA Issue: iproute2-ss rdepends on libselinux, but it isn't a build dependency, missing libselinux in DEPENDS or PACKAGECONFIG? [build-deps] Signed-off-by: Shrikant Bobade --- recipes-connectivity/iproute2/iproute2_%.bbappend | 1 +

Re: [yocto] [PATCH v3] Support for .dtbo files for dtb overlays

2016-05-31 Thread Herve Jourdain
Oh, sorry for that... Just sent to oe-core as well. Thanks :) Herve -Original Message- From: Andreas Müller [mailto:schnitzelt...@googlemail.com] Sent: mardi 31 mai 2016 09:21 To: Herve Jourdain Cc: Yocto Project Subject: Re: [yocto] [PATCH v3] Support for .dtbo files for dtb overlays

Re: [yocto] [meta-raspberrypi][PATCH 1/6] linux-raspberrypi: Allow override of PV

2016-05-31 Thread Khem Raj
On May 30, 2016 3:15 PM, "Paul Barker" wrote: > > On Mon, 30 May 2016 20:58:53 +0300 > Khem Raj wrote: > > > On May 30, 2016 1:09 AM, "Paul Barker" wrote: > > > > > > On Sun, 29 May 2016 21:20:21 +0300 > > > Khem Raj wrote: > > > > > > > On May 29, 2016 9:00 AM, "Paul Barker" > > > > wrote: >

Re: [yocto] [PATCH v3] Support for .dtbo files for dtb overlays

2016-05-31 Thread Andreas Müller
On Tue, May 31, 2016 at 9:08 AM, Herve Jourdain wrote: > v3: rebased > Recent kernels tend to use .dtbo files for device tree overlays, instead of > .dtb before. > .dtb are still used, but only for the "real" device trees (not the overlays). > > On some platforms (meta-raspberrypi for instance),

Re: [yocto] [psplash][PATCH] Add fbdev option to set the proper /dev/fbX.

2016-05-31 Thread Richard Leitner
Hi Julien, On 05/30/2016 11:55 PM, Julien Gueytat wrote: > > For FBDEV, I have been told on #yocto that the FBENV variable is kind of > useless at least for the startup as the environment is not read yet. > This why I replaced it. But I will let it available in the next patch if > this is what sh

[yocto] [PATCH v3] linux-dtb.inc: Support for .dtbo files for dtb overlays

2016-05-31 Thread Herve Jourdain
Signed-off-by: Herve Jourdain --- meta/recipes-kernel/linux/linux-dtb.inc | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/meta/recipes-kernel/linux/linux-dtb.inc b/meta/recipes-kernel/linux/linux-dtb.inc index 74f5ef8..8528d64 100644 --- a/meta/recipes-ker

[yocto] [PATCH v3] Support for .dtbo files for dtb overlays

2016-05-31 Thread Herve Jourdain
v3: rebased Recent kernels tend to use .dtbo files for device tree overlays, instead of .dtb before. .dtb are still used, but only for the "real" device trees (not the overlays). On some platforms (meta-raspberrypi for instance), recent firmware only loads .dtbo files for overlays. This patch t