Re: [yocto] [raspberrypi3][meta-qt5] Failed to build meta-toolchain-qt5

2016-10-22 Thread Paul Barker
On Sat, 22 Oct 2016 18:59:39 + Karim ATIKI wrote: > Hi , > > > I just found out something interesting. > > I setup a build with poky-krogoth, I didn't include any of my custom > recipes. > > > I've jsut included meta-raspberrypi in the layers. > > Setup a

[yocto] [meta-raspberrypi][PATCH V2 4/4] sdcard_image-rpi.bbclass: Include boot script when using u-boot

2016-10-22 Thread Paul Barker
Signed-off-by: Paul Barker --- classes/sdcard_image-rpi.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/sdcard_image-rpi.bbclass b/classes/sdcard_image-rpi.bbclass index 0487ef1..116d5e8 100644 --- a/classes/sdcard_image-rpi.bbclass +++

[yocto] [meta-raspberrypi][PATCH V2 1/4] rpi-base.inc: Don't install kernel image into rootfs

2016-10-22 Thread Paul Barker
The kernel image is installed into the FAT32 boot partition and does not need to also be installed into the rootfs. Signed-off-by: Paul Barker --- conf/machine/include/rpi-base.inc | 4 1 file changed, 4 insertions(+) diff --git a/conf/machine/include/rpi-base.inc

[yocto] [meta-raspberrypi][PATCH V2 3/4] u-boot: Add RDEPENDS on rpi-u-boot-scr

2016-10-22 Thread Paul Barker
The boot.cmd file created by rpi-u-boot-scr is needed for u-boot to automatically boot a RaspberryPi. Signed-off-by: Paul Barker --- recipes-bsp/u-boot/u-boot_2016.03.bbappend | 1 + 1 file changed, 1 insertion(+) create mode 100644

[yocto] [meta-raspberrypi][PATCH V2 0/4] U-boot/kernel improvements

2016-10-22 Thread Paul Barker
These changes allow u-boot to successfully boot Linux without a manual sequence of commands being entered at boot time. This has been tested on an old Raspberry Pi B+ as well as a Raspberrypi 3. It should work for other models as well. Also, the kernel image is removed from the main rootfs /boot

Re: [yocto] [raspberrypi3][meta-qt5] Failed to build meta-toolchain-qt5

2016-10-22 Thread Karim ATIKI
Hi , I just found out something interesting. I setup a build with poky-krogoth, I didn't include any of my custom recipes. I've jsut included meta-raspberrypi in the layers. Setup a machine "raspberrypi3" Launched: bitbake gstreamer1.0-plugins-bad It worked successfully. Then, I deleted

Re: [yocto] SDK manual is not listed on docs page

2016-10-22 Thread Khem Raj
> On Oct 22, 2016, at 9:32 AM, Robert P. J. Day wrote: > > > i don't see link to SDK manual here: > > https://www.yoctoproject.org/documentation/inprogress > > is that deliberate, or an oversight? file a documentation ticket. > > rday > > -- > >

[yocto] SDK manual is not listed on docs page

2016-10-22 Thread Robert P. J. Day
i don't see link to SDK manual here: https://www.yoctoproject.org/documentation/inprogress is that deliberate, or an oversight? rday -- Robert P. J. Day Ottawa, Ontario, CANADA

Re: [yocto] if user space application compiles with a static library, does it need to be included in the yocto build ?

2016-10-22 Thread Khem Raj
> On Oct 21, 2016, at 3:30 PM, Davis Roman wrote: > > Hello Yocto Community, > > As much as I like to advocate for code reuse and minimizing code bloat, there > is one instance where our user space application will be compiled with a > statically linked library. > >

Re: [yocto] [meta-raspberrypi][question] how to setup alsa on rpi3?

2016-10-22 Thread Khem Raj
> On Oct 21, 2016, at 4:26 AM, Tanu Kaskinen wrote: > > On Fri, 2016-10-21 at 12:08 +0200, Piotr Lewicki wrote: >> Hi, >> >> I want to use aplay to play a sound on raspberry pi 3, but for some >> reason it does not work for me. >> >> I have built a new "rpi-test-image" with only

Re: [yocto] [raspberrypi3][meta-qt5] Failed to build meta-toolchain-qt5

2016-10-22 Thread Karim ATIKI
Hi Paul, the compile log file is attached with this mail. De : Paul Barker Envoyé : samedi 22 octobre 2016 17:26 À : Karim ATIKI Cc : yocto Objet : Re: [yocto] [raspberrypi3][meta-qt5] Failed to build meta-toolchain-qt5 On Sat, 22 Oct

Re: [yocto] [raspberrypi3][meta-qt5] Failed to build meta-toolchain-qt5

2016-10-22 Thread Karim ATIKI
Khem, I found the follwoing pc files, and bcm_host is found. kai@odyssey:~/yocto/build-magnolia/tmp/work$ find . -name *.pc | grep userland ./raspberrypi3-poky-linux-gnueabi/userland/git-r5/image/usr/lib/pkgconfig/brcmvg.pc

Re: [yocto] [raspberrypi3][meta-qt5] Failed to build meta-toolchain-qt5

2016-10-22 Thread Khem Raj
> On Oct 22, 2016, at 8:16 AM, Karim ATIKI wrote: > > Actually, it looks like the issue comes from gstreamer1.0-plugins-bad recipe. > > This function, graphics_get_display_size, comes from libbcm_host which seems > to be present in sysroot. > > In log.doconfigure i

Re: [yocto] [raspberrypi3][meta-qt5] Failed to build meta-toolchain-qt5

2016-10-22 Thread Karim ATIKI
Actually, it looks like the issue comes from gstreamer1.0-plugins-bad recipe. This function, graphics_get_display_size, comes from libbcm_host which seems to be present in sysroot. In log.doconfigure i found: checking for bcm_host_init in -lbcm_host... yes checking bcm_host.h usability...

Re: [yocto] [meta-raspberrypi][question] how to setup alsa on rpi3?

2016-10-22 Thread Tanu Kaskinen
On Fri, 2016-10-21 at 13:45 +0200, Piotr Lewicki wrote: > On 21.10.2016 13:26, Tanu Kaskinen wrote: > > It looks like the default alsa device is configured to use card 0, but > > card 0 doesn't exist. What do "cat /proc/asound/cards" and "ls -l > > /dev/snd" print? > > root@raspberrypi3:~# cat

[yocto] [raspberrypi3][meta-qt5] Failed to build meta-toolchain-qt5

2016-10-22 Thread Karim ATIKI
Hi all, Tryng to build the meta-toolchain-qt5, I've a failure while bulidng gst-plugins-bad. The underlying error seems to be: | ./.libs/libgstgl-1.0.so: undefined reference to `graphics_get_display_size This function seems to come from bcm_host library. Isn't it related to RaspberryPi