Re: [yocto] License missing coreutils when creating /usr/share/licenses and bbappend

2017-07-10 Thread Khem Raj
On 7/10/17 9:19 AM, Dr. Matthias Schöpfer wrote: > Hi! > > We are using yocto / openembedded (pyro). I use: > > COPY_LIC_MANIFEST = "1" > COPY_LIC_DIRS = "1" > LICENSE_CREATE_PACKAGE = "1" > > to generate a /usr/share/licenses and /usr/share/common-licenses > respectively. But unfortunately, the

Re: [yocto] [RMC][PATCH v2] RMC: Support x32 build

2017-07-06 Thread Khem Raj
On Thu, Jul 6, 2017 at 3:46 PM, Minchev, Todor wrote: > On Thu, 2017-07-06 at 13:46 -0700, Todor Minchev wrote: >> On Thu, 2017-07-06 at 13:37 -0700, Khem Raj wrote: >> > On Thu, Jul 6, 2017 at 1:08 PM, Todor Minchev >> > wrote: >> > > On Wed, 2017-07-05

Re: [yocto] [RMC][PATCH v2] RMC: Support x32 build

2017-07-06 Thread Khem Raj
On Thu, Jul 6, 2017 at 1:08 PM, Todor Minchev wrote: > On Wed, 2017-07-05 at 12:39 -0700, swee.aun.k...@intel.com wrote: >> From: sweeaun >> >> RMC efi is needed to compiled as 64 bits even DEFAULTTUNE is x32. >> >> Signed-off-by: sweeaun >> --- >> Makefile.efi | 3 +++ >> 1 file changed, 3 ins

Re: [yocto] setting groups and users other than root

2017-07-05 Thread Khem Raj
On Wed, Jul 5, 2017 at 8:28 PM, sourabh banerjee wrote: > I have observed that the group and user default to root for unless I do > explicit chown and chgrp in the do_install step for a given recipe. > > I have few recipes for which the group and user are to be set to something > other than root.

Re: [yocto] How to make changes and build u-boot source code in yocto

2017-07-03 Thread Khem Raj
On 7/2/17 11:26 PM, Prasoon Kumar wrote: Hi, I am trying to make some changes in u-boot code and using bitbake u-boot to build. But it doesn't build. I also tried bitbake u-boot -c compile and bitbake u-boot deploy. This also didn't work. Can I Get some help on how to change and build u-bo

Re: [yocto] RPi app built with SDK won't load

2017-07-02 Thread Khem Raj
On Sat, Jul 1, 2017 at 6:07 PM, Paul D. DeRocco wrote: >> From: Andrea Galbusera [mailto:giz...@gmail.com] >> >> Could you please post the exact source code of your test >> program and the steps you take to (a) build the SDK and (b) >> build your test executable? Is your running image a pretty >>

Re: [yocto] [PATCH] Added missing LDFLAGS in sample recipe for morty branch

2017-07-02 Thread Khem Raj
//ingenierie.openwide.fr > I would love to change the world, but they won't give me the source code > > > Le 2017-07-01 16:53, Khem Raj a écrit : >> >> On 7/1/17 12:52 AM, Pierre FICHEUX wrote: >>> >>> This problem causes the following error :

Re: [yocto] Raspberrypi3 with Kodi (as an exercise)

2017-07-01 Thread Khem Raj
On 7/1/17 4:10 AM, Juan José Casafranca wrote: > Hi everybody, > > I'm completely new to the Yocto project, just started playing with it > and my rpi3 two days ago. > > As an exercise to learn how Yocto works, I'm trying to build a rpi image > which can launch kodi. > > Right now I'm able of bui

Re: [yocto] [PATCH] Added missing LDFLAGS in sample recipe for morty branch

2017-07-01 Thread Khem Raj
On 7/1/17 12:52 AM, Pierre FICHEUX wrote: > This problem causes the following error : > > ERROR: example-0.1-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary > > Signed-off-by: Pierre FICHEUX > --- > .../target/arch/layer/recipes-example/example/example-recipe-0.1.bb | 2 > +- > 1

Re: [yocto] Compilation error : No GNU_HASH in elf bianry

2017-06-28 Thread Khem Raj
On Wed, Jun 28, 2017 at 9:29 PM, Pawar, Alok wrote: > Hi, > > > > I am using krogoth release and I am facing one issue in custom bitbake file. > > > > When I am doing bitbake with custom bb file the following error is coming : > > “No GNU_HASH in the elf binary” > > In custom bb file, I am trying

Re: [yocto] Determining the correct layers for a Beaglebone build.

2017-06-26 Thread Khem Raj
On Mon, Jun 26, 2017 at 4:35 PM, Kenny Koller wrote: > I'm trying to figure out which set of meta layers I need to build a distro > and images for a Beaglebone Black. > > I cloned poky and within I see meta-yocto and meta-yocto-bsp. The latter has > recipes for the Beaglebone. > > I also found thi

Re: [yocto] How can I add a library to my SDK

2017-06-26 Thread Khem Raj
On Mon, Jun 26, 2017 at 12:21 PM, Jimi Damon wrote: > TOOLCHAIN_HOST_TASK_append = " zeromq" you need to add the package meant for sdk host. TOOLCHAIN_HOST_TASK_append = " nativesdk-zeromq" also make sure that zeromq recipe has BBCLASSEXTEND for nativesdk if not you might have to fix that fir

Re: [yocto] question regarding share state cache and task dependencies.

2017-06-26 Thread Khem Raj
On Mon, Jun 26, 2017 at 9:16 AM, Koehler, Yannick wrote: > I was wondering, reading about the shared state cache system, why are the > task / recipe dependencies being honored when executing a setscene task? > Since there is a "sanity" check that no two package write to the same output > files

Re: [yocto] network problems when running simple MS IoT Hub sample C application

2017-06-26 Thread Khem Raj
On Sun, Jun 25, 2017 at 11:35 PM, Jakob Hasse wrote: > Hello, > > I'm trying to run the Mircosoft Azure IoT hub mqtt example > (iothub_client_sample_amqp or simliar) of the C SDK on yocto > (https://github.com/Azure/azure-iot-sdk-c). > On my Ubuntu host machine, everything compiles and works fine

Re: [yocto] using clang for one recipe

2017-06-23 Thread Khem Raj
On Fri, Jun 23, 2017 at 6:55 PM, Trevor Woerner wrote: > On Fri 2017-06-23 @ 03:57:06 PM, Khem Raj wrote: >> On Fri, Jun 23, 2017 at 3:39 PM, Trevor Woerner wrote: >> > Adding that line, and adding meta-clang to bblayers.conf, did get the >> > llvm/clang compiler bu

Re: [yocto] using clang for one recipe

2017-06-23 Thread Khem Raj
On Fri, Jun 23, 2017 at 3:39 PM, Trevor Woerner wrote: > I want to have one recipe build with clang instead of gcc (gcc is > being used for the rest of the image). I thought this was as simple as > adding the following line to the recipe: > > TOOLCHAIN = "clang" yes thats what should do it.

Re: [yocto] internet radio

2017-06-23 Thread Khem Raj
On Fri, Jun 23, 2017 at 1:18 AM, Riko Ho wrote: > Hello everyone, > > What do you suggest me using for internet radio / playing multimedia on GUI > ? Which recipe is suitable for it ? > may be you could use mplayer or kodi > Thanks > > -- > > /***/ > Sent by Ubuntu LTS 16.04, > 谢谢, > Regards

Re: [yocto] AppArmor

2017-06-21 Thread Khem Raj
On Tue, Jun 20, 2017 at 9:56 AM Anders Montonen wrote: > Hi, > > Has anyone tried using AppArmor with Yocto? The recipe in the > meta-security layer is broken, and when fixed so it actually builds, it > turns out the installed init script relies on functions not found in > Yocto's version of LSB.

Re: [yocto] [meta-raspberrypi][PATCH] sdcard_image-rpi.bbclass: deploy vfat partition

2017-06-21 Thread Khem Raj
On Wed, Jun 21, 2017 at 10:29 AM Matthew McClintock wrote: > On Wed, Jun 21, 2017 at 9:26 AM, Andrei Gherzan wrote: > > On Sun, Jun 18, 2017 at 7:51 PM, Matthew McClintock < > msm-...@mcclintock.net> > > wrote: > >> > >> On Sat, Jun 17, 2017 at 11:41

Re: [yocto] Some Arch Linux build fixes

2017-06-20 Thread Khem Raj
On Tue, Jun 20, 2017 at 10:09 AM, Anton Novikov wrote: > Hi, and all have a nice day. > > > My company contributes to OpenBMC project, whose code has an > 'import-layers/yocto-poky' > > git subtree. I'm trying to build it on Arch Linux, which is a rolling > release distribution, and > > has pretty

Re: [yocto] RTL8192EU rev B (SMIC) ==> rtl8192eu_nic.bin ?

2017-06-20 Thread Khem Raj
ee the activity.. > Any clues ? dmesg should have some information may be > Thanks > > On 20/06/17 12:51, Khem Raj wrote: > > On Mon, Jun 19, 2017 at 8:46 PM, Riko Ho wrote: > > I got all the files needed, but now I get no response from the dongle when I > plug it, > >

Re: [yocto] Compiling meta-browser ==>chromium ? cleaning ?

2017-06-20 Thread Khem Raj
add it to chromium recipe itself if you dont have a bbappend for it. On Tue, Jun 20, 2017 at 9:53 PM, Riko Ho wrote: > Ok, thanks a lot for the parameter idea, where will I put that ? local.conf, > bblayers.conf ? > > > On 20/06/17 13:08, Khem Raj wrote: > > On Mon, Jun 19,

Re: [yocto] Compiling meta-browser ==>chromium ? cleaning ?

2017-06-19 Thread Khem Raj
elps. > I compiled firefox and it worked well, but still wondering why chromium > didn't work. > > > On 20/06/17 04:01, Khem Raj wrote: > > On Mon, Jun 19, 2017 at 7:21 AM, Jacobo Aragunde Pérez > wrote: > > On 18/06/17 20:10, Gunnar Andersson wrote: > > Riko Ho

Re: [yocto] RTL8192EU rev B (SMIC) ==> rtl8192eu_nic.bin ?

2017-06-19 Thread Khem Raj
bin rtl8723fw_B.bin > rtl8192cufw_TMSC.bin rtl8723befw.bin rtl8821aefw.bin > rtl8192defw.bin rtl8723befw_36.bin rtl8821aefw_29.bin > rtl8192eefw.bin rtl8723bs_ap_wowlan.bin rtl8821aefw_wowlan.bin > > > On 20/06/17 03:57, Khem Raj wrote: > >

Re: [yocto] Compiling meta-browser ==>chromium ? cleaning ?

2017-06-19 Thread Khem Raj
On Mon, Jun 19, 2017 at 7:21 AM, Jacobo Aragunde Pérez wrote: > On 18/06/17 20:10, Gunnar Andersson wrote: >> >> Riko Ho wrote: >> >>> Hello Everyone, >>> >>> I tried to compile chromium but never succeeded, took me already 12 >>> hours and stopped on 99%, I used bitbake for doing it, >> >> Not s

Re: [yocto] RTL8192EU rev B (SMIC) ==> rtl8192eu_nic.bin ?

2017-06-19 Thread Khem Raj
On Sun, Jun 18, 2017 at 8:00 PM, Riko Ho wrote: > Hello Everyone, > > How can I obtain : rtl8192eu_nic.bin? > > I got this message : > > RTL8192EU rev B (SMIC) 2T2R, TX queues 3, WiFi=1, BT=0, GPS=0, HI PA=0 > usb 1-1: RTL8192EU MAC: 00:0b:81:a2:a5:60 > usb 1-1: rtl8xxxu: Loading firmware rtlwifi/

Re: [yocto] [meta-raspberrypi] Configure eth0 to come up with Link-Local IPv6 address only

2017-06-19 Thread Khem Raj
On Mon, Jun 19, 2017 at 4:15 AM, Thomas Thorne wrote: > Good afternoon, > > > > I am trying to generate an image for a Raspberry Pi 3 that includes a > `/etc/network/interfaces` file which causes the Pi to start with an “up” > eth0 connection with only an IPv6 link local address. > ​I get IPV4 a

Re: [yocto] [meta-raspberrypi][PATCH] sdcard_image-rpi.bbclass: deploy vfat partition

2017-06-17 Thread Khem Raj
On Sat, Jun 17, 2017 at 8:20 AM, Tom Rini wrote: > On Fri, Jun 16, 2017 at 06:05:07PM -0700, Khem Raj wrote: >> On Fri, Jun 16, 2017 at 12:12 PM, Matthew McClintock >> wrote: >> > This is useful to update the bootloader/vfat partition from u-boot when >> > yo

Re: [yocto] [meta-raspberrypi][PATCH] sdcard_image-rpi.bbclass: deploy vfat partition

2017-06-16 Thread Khem Raj
On Fri, Jun 16, 2017 at 12:12 PM, Matthew McClintock wrote: > This is useful to update the bootloader/vfat partition from u-boot when > you don't want to update everything: > > U-Boot> tftpboot 0x100 tmp/0VXje > Waiting for Ethernet connection... done. > Using sms0 device > TFTP from server 19

Re: [yocto] Using A Proprietary Closed License Inside A Layer & Its Recipes

2017-06-16 Thread Khem Raj
On 6/16/17 6:14 AM, Joshua Watt wrote: > On Fri, 2017-06-16 at 09:12 +, Thomas Thorne wrote: Is it only possible to use the special LICENSE = "CLOSED" license for licenses not already placed in the main license >> directory? >>> >>> Yes, there's special-case logic for 'CLOSED'.

Re: [yocto] Build my Yocto edison image

2017-06-15 Thread Khem Raj
On 6/15/17 6:30 AM, Franck Furic wrote: > Hi, > > > > I have bought an Intel Edison board and I would like build my image > including Qt Framework (meta-qt5). > > > > In the past, (2 years ago) I have success to compile C++ program using > Qt by build my image with meta-qt5 I think it was 1

Re: [yocto] sqlite in yocto1.8-fido

2017-06-15 Thread Khem Raj
On 6/14/17 11:05 PM, balaj...@easyarm.com wrote: > > Dear sir > > I enabled sqlite in qtbase-native ,but iam not able to get sqlite > related libraries. how did you enabled it ? > > Any suggestion would be appreciable. > > > Thanks > Balaji > > > signature.asc Description: OpenPGP

Re: [yocto] locale error at do_rootfs step

2017-06-14 Thread Khem Raj
On 6/14/17 1:29 AM, Dvorkin Dmitry wrote: > I'm using the newest master branch of poky, with DNF. Host PC locale is > non-EN. > > setting host PC LANG and LC_* to en_US doesn't help > > Got a strange error: > > > NOTE: Executing RunQueue Tasks > ERROR: MyIMG-1.0-r1 do_rootfs: [log_check] MyIMG:

Re: [yocto] do_rootfs failed with message about host system(?) locale

2017-06-14 Thread Khem Raj
On 6/14/17 3:46 AM, Dvorkin Dmitry wrote: > ERROR: MyIMG-1.0-r1 do_rootfs: [log_check] MyIMG: found 2 error messages > in the logfile: > [log_check] Failed to set locale, defaulting to C > [log_check] Failed to set locale, defaulting to C Do you have locale setup correctly on your build host ? >

Re: [yocto] bitbake core-image-web-kiosk question ?

2017-06-13 Thread Khem Raj
On Tue, Jun 13, 2017 at 9:10 PM, Riko Ho wrote: > Hello Everyone, > > I tried doing "bitbake core-image-web-kiosk" > > And I got this : > > > > Loading cache: 100% > |##

Re: [yocto] [yocto-docs][PATCH] ref-manual: Replace uclibc to musl

2017-06-11 Thread Khem Raj
On Sun, Jun 11, 2017 at 6:03 PM, Changhyeok Bae wrote: > uClibc Replaced by musl from Yocto 2.2 > > Signed-off-by: Changhyeok Bae > --- > documentation/ref-manual/ref-variables.xml | 14 +++--- > 1 file changed, 7 insertions(+), 7 deletions(-) > > diff --git a/documentation/ref-manual/re

Re: [yocto] gmp-5.1.1.bb virtual native error

2017-06-10 Thread Khem Raj
On Wed, Jun 7, 2017 at 11:43 PM, maheswarir wrote: > Dear sir, > >I was tried with yocto image syntax bitbake core-image-weston for Renesas > R car H2 and I got following error. Kindly provide idea for resolving this > error. > > ​the real error is not printed in the picture. Its better to

Re: [yocto] LLVM linking for custom recipe

2017-06-08 Thread Khem Raj
On Thu, Jun 8, 2017 at 1:42 PM, Giordon Stark wrote: > Hi, > > I have the following error message when trying to get LLVM linked up. The > problem is that I'm using a widely used science software called ROOT > (https://root.cern.ch/) with the following minimal recipe at the moment > (https://githu

Re: [yocto] dllmap config for a Mono app

2017-06-08 Thread Khem Raj
On Wed, Jun 7, 2017 at 11:41 PM, Craig McQueen wrote: > I have a Mono app that uses DllImport to load some functions from libraries. > The app can't find the libraries unless I create a Mono config file > containing dllmap lines to map the library's plain "DLL" name (e.g. "foo") to > the real n

Re: [yocto] [meta-raspberrypi][PATCH] pi-blaster: update to include proper rpi3 support

2017-06-07 Thread Khem Raj
On Wed, Jun 7, 2017 at 9:09 PM, Petter Mabäcker wrote: > 2017-06-08 00:54 skrev Khem Raj: > > > On Wed, Jun 7, 2017 at 2:17 PM Petter Mabäcker wrote: >> >> Update to latest available revision, in order to include proper rpi3 >> support as well as latest fixe

Re: [yocto] [meta-raspberrypi][PATCH] pi-blaster: update to include proper rpi3 support

2017-06-07 Thread Khem Raj
On Wed, Jun 7, 2017 at 2:17 PM Petter Mabäcker wrote: > Update to latest available revision, in order to include proper rpi3 > support as well as latest fixes. > > Signed-off-by: Petter Mabäcker > --- > .../files/remove-initscript-lsb-dependency.patch | 37 > -- > recipes-

Re: [yocto] Getting linker -l into a bbappend

2017-06-07 Thread Khem Raj
On Wed, Jun 7, 2017 at 10:14 AM, Colin Helliwell wrote: > >> On 07 June 2017 at 18:12 Khem Raj wrote: >> >> On Wed, Jun 7, 2017 at 9:37 AM, wrote: >> >> > I have an autotools (C++) app which builds fine with my default recipe. But >> > for a par

Re: [yocto] Getting linker -l into a bbappend

2017-06-07 Thread Khem Raj
On Wed, Jun 7, 2017 at 9:37 AM, wrote: > I have an autotools (C++) app which builds fine with my default recipe. But > for a particular platform an additional (C) library is needed, so I have a > bbappend. > I can add in the additional compiler flag here, but I'm struggling to > specify the addit

Re: [yocto] Yocto for NFS/SDN networking product

2017-06-06 Thread Khem Raj
en choosing a build system for OpenSwitch-based products - do one > > still has to use yocto or just go with the build system provided > by OpenSwitch? > > > Thanks, > > --- KostaZ > > -- > *From:* Khem Raj > *Sent:* Sunday, January 31,

Re: [yocto] The best way to change target architecture

2017-06-06 Thread Khem Raj
On Tue, Jun 6, 2017 at 5:42 AM, Zhuoqun Cheng wrote: > Hi Yocto Experts, > > I'm fairly new to Yocto and I've already tried my best to search for > answers, but not happy with what I found. > > So here's the situation I've got: > > I'm using yocto to build the intel aero board image, following thi

Re: [yocto] libpam-systemd not built, but enabled in systemd PACKAGECONFIG

2017-06-03 Thread Khem Raj
On Sat, Jun 3, 2017 at 5:17 AM, Ferry Toth wrote: > Khem Raj wrote: > >> On Fri, Jun 2, 2017 at 4:51 PM, Ferry Toth >> wrote: >>> That is when building systemd with morty. >>> >>> I have DISTRO_FEATURES pam set, but I find --disable-pam in the con

Re: [yocto] File permissions on package_ipk.bbclass

2017-06-02 Thread Khem Raj
​pseudo is yocto utility which is abstracting the super user operations even when you are building as normal user which is at times needed when packaging a rootfs e.g. cam you examine the content of an ipk and check if the file perms are wrong for contents of an ipk?​ > > ~Ian > > On F

Re: [yocto] libpam-systemd not built, but enabled in systemd PACKAGECONFIG

2017-06-02 Thread Khem Raj
On Fri, Jun 2, 2017 at 4:51 PM, Ferry Toth wrote: > That is when building systemd with morty. > > I have DISTRO_FEATURES pam set, but I find --disable-pam in the configure > log. > > In fact only --enable-split-usr --enable-xz and --enable-nls are set > according to the log. None of these are set

Re: [yocto] File permissions on package_ipk.bbclass

2017-06-02 Thread Khem Raj
On Fri, Jun 2, 2017 at 1:57 PM, Ian Welch wrote: > Hello, > We are using the package_ipk.bbclass to create packages for opkg that > will be installed on our embedded hardware (target). We are also using > Jenkins as a CI server to run bitbake. We have discovered that when we > install package

Re: [yocto] [PATCH] yocto-bsp: Fix QEMUARM based bsps to not offer SMP support

2017-05-31 Thread Khem Raj
On Wed, May 31, 2017 at 5:41 PM, Alejandro Hernandez wrote: > On 05/31/2017 01:46 PM, Khem Raj wrote: > > > > On Tue, May 30, 2017 at 6:15 PM, Bruce Ashfield > wrote: >> >> >> On Tue, May 30, 2017 at 6:52 PM, Alejandro Hernandez >> wrote: >>&g

Re: [yocto] [PATCH][meta-raspberrypi] linux-raspberrypi_dev: don't use AUTOREV

2017-05-31 Thread Khem Raj
On Wed, May 31, 2017 at 5:00 PM, Andrei Gherzan wrote: > > On Tue, May 30, 2017 at 6:29 PM, Khem Raj wrote: >> >> On Tue, May 30, 2017 at 10:25 AM, Andre McCurdy >> wrote: >> > On Tue, May 30, 2017 at 10:15 AM, Paul Barker >> > wrote: >>

Re: [yocto] [PATCH] yocto-bsp: Fix QEMUARM based bsps to not offer SMP support

2017-05-31 Thread Khem Raj
On Tue, May 30, 2017 at 6:15 PM, Bruce Ashfield wrote: > > > On Tue, May 30, 2017 at 6:52 PM, Alejandro Hernandez > wrote: >> >> Hey Andy, >> >> >> On 05/30/2017 05:32 PM, Andre McCurdy wrote: >>> >>> On Tue, May 30, 2017 at 1:12 PM, Alejandro Hernandez >>> wrote: Hey Leo, No

Re: [yocto] Problems to build xen-guest-image-minimal

2017-05-31 Thread Khem Raj
On Wed, May 31, 2017 at 12:22 AM Pello Heriz < pello.he...@alumni.mondragon.edu> wrote: > Hi, > > I'm trying to build xen-guest-image-minimal with master branch of Yocto, > but I keep stuck in the next error: > > bitbake xen-guest-image-minimal > NOTE: /opt/yocto_GE/poky/meta-qt5/recipes-qt/qt5/qt

Re: [yocto] [PATCH][meta-raspberrypi] linux-raspberrypi_dev: don't use AUTOREV

2017-05-30 Thread Khem Raj
On Tue, May 30, 2017 at 10:25 AM, Andre McCurdy wrote: > On Tue, May 30, 2017 at 10:15 AM, Paul Barker wrote: >> On 30 May 2017 5:08 p.m., "Khem Raj" wrote: >> >> On Tue, May 30, 2017 at 12:57 AM, Martin Jansa >> wrote: >>> * use latest revision i

Re: [yocto] [PATCH][meta-raspberrypi] linux-raspberrypi_dev: don't use AUTOREV

2017-05-30 Thread Khem Raj
On Tue, May 30, 2017 at 12:57 AM, Martin Jansa wrote: > * use latest revision in rpi-4.11.y branch > * using AUTOREV causes bitbake to run git ls-remote on the github.com > repository in order > to convert AUTOREV to currently latest SRCREV even when you don't use > linux-raspberrypi_dev > a

Re: [yocto] Very strange issue where bitbake hangs at do_rootfs

2017-05-26 Thread Khem Raj
On Fri, May 26, 2017 at 5:52 AM, Andrei Gherzan wrote: > Hello all, > > I moved recently on a new arch linux host and everything works fine with one > exception: when I build a custom distribution based on morty with many > packages including kernel-modules (beaglebone), the build system hangs > w

Re: [yocto] webkitgtk2 progress bar

2017-05-24 Thread Khem Raj
On Wed, May 24, 2017 at 9:17 PM, Trevor Woerner wrote: > On Wed, May 24, 2017 at 1:16 PM, Martin Jansa wrote: >> My "bitbake world" builds have few components like this, webkitgtk (used to >> have webkit1, webkit2 and webkit2-efl as separate builds), 2 chromiums (x11 >> and wayland), cef (luckily

Re: [yocto] yocto] [meta-raspberrypi] why "pi3-64 bitbake image" could not boot ?

2017-05-23 Thread Khem Raj
On Thu, May 18, 2017 at 4:43 AM, mau hideyuki wrote: > Hi all> > I build raspberry pi3-64 image on my PC, but this image > is not able to boot on my raspberrypi3. > when you say boot, are you talking about graphical boot ? I could not get it to boot into graphical target. but console/ssh worked

Re: [yocto] [meta-security][PATCH 2/2 v2] ecryptfs-utils: add new recipe

2017-05-23 Thread Khem Raj
On Mon, May 22, 2017 at 10:30 PM, wrote: > +install -d ${D}${systemd_system_unitdir} > +install -m 0644 ${WORKDIR}/ecryptfs.service > ${D}${systemd_system_unitdir} you could squash above into install -D -m 0644 ${WORKDIR}/ecryptfs.service ${D}${systemd_system_unitdir}/ecryptfs.s

Re: [yocto] What can I share between projects?

2017-05-20 Thread Khem Raj
:: Senior Staff Engineer, Firmware > > > > SIERRA WIRELESS > > Direct +1 604 233 7989 :: Fax +1 604 231 1109 :: Main +1 604 231 > 1100 > > 13811 Wireless Way :: Richmond, BC Canada V6V 3A4 > > [M4] > > dwatk...@sierrawireless.com :: www.sierrawireless.

Re: [yocto] What can I share between projects?

2017-05-20 Thread Khem Raj
On Sat, May 20, 2017 at 8:16 AM, Darcy Watkins wrote: > Are you saying that the sstate cache is smart enough to handle exact same > package for same arch but just built using different layer stack? (Say one > case builds package A with a bbappend, but the other uses a bbappend from a > different

Re: [yocto] [poky/classes] [PATCH] new alternatesrc.bbclass

2017-05-18 Thread Khem Raj
On Thu, May 18, 2017 at 11:11 AM, Koehler, Yannick (HPN Aruba) wrote: > In our environment, we have package that are store inside git in their own > repo. Using SRC_URI we fetch the code and build it from the git repo itself > and all is fine. When developer wants to change the content of the

Re: [yocto] Error: when reparsing

2017-05-18 Thread Khem Raj
On Thu, May 18, 2017 at 8:14 AM, Yuvarajesh Valleru wrote: > Hi, > > I was building a custom-linux-image. I succesfully build the image with the > help of bitbake tool. > > When rebuilding the same image again, i was experiencing an error. > > ERROR: When reparsing .do_install, the basehash value

Re: [yocto] Add 'mongodb' package in Yocto (Jethro branch)

2017-05-16 Thread Khem Raj
On Thu, May 11, 2017 at 5:55 AM, Jaymin D wrote: > Hi Team, > > I want to add 'mongodb' package into my current Yocto (Jethro branch) build. > > I have tried to add in - CORE_IMAGE_EXTRA_INSTALL += " mongodb", also tried > to add " boost" package too. But, it couldn't compile. > > The error was: >

Re: [yocto] [meta-rockchip] [PATCH v3 0/3] Add video codec recipes

2017-05-16 Thread Khem Raj
On Tue, May 16, 2017 at 7:18 AM, ayaka wrote: > Those packages are the userspace libraries for the Rockchip > Android video codec driver. > > Also a minimal image used for verified the media framework is included. > some recipes are pinned with GPL-2.0 and some with other licenses. Usually metada

Re: [yocto] [meta-rockchip] [PATCH v2 3/3] recipes-multimedia: images: rockchip media image

2017-05-15 Thread Khem Raj
On Mon, May 15, 2017 at 9:33 AM, Trevor Woerner wrote: > On Sat 2017-05-13 @ 06:20:35 PM, Romain Perier wrote: >> Clearly a NAK here. I don't want yet another image for this, that's a >> bsp meta layer, it is supposed to contain the recipes and rules to >> propose support for Rockchip SocS in in y

Re: [yocto] [meta-raspberrypi] Pyro branch

2017-05-15 Thread Khem Raj
On Mon, May 15, 2017 at 2:14 AM, Paul Barker wrote: > Hi all, > > Yocto Project 2.3 has now been released so I think it's time to create > a pyro branch for meta-raspberrypi. > > I've briefly discussed stable branch maintainership with Andrei and > I'd like to volunteer as maintainer of the pyro b

Re: [yocto] [meta-rockchip] [PATCH v2 2/3] recipes-multimedia: add gstreamer rockchip support

2017-05-15 Thread Khem Raj
On Wed, Apr 12, 2017 at 9:05 AM, ayaka wrote: > +SRC_URI_remove = " \ > +file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ > +" i see that you are doing this change below in a function which probably is ok but I see some duplication here. Either remove this patch and up

[yocto] [meta-raspberrypi][PATCH 2/2] mesa-gl: Enable gbm for rpi

2017-05-09 Thread Khem Raj
weston needs gbm support which is not in userland Signed-off-by: Khem Raj --- recipes-graphics/mesa/mesa-gl_%.bbappend | 1 + 1 file changed, 1 insertion(+) create mode 100644 recipes-graphics/mesa/mesa-gl_%.bbappend diff --git a/recipes-graphics/mesa/mesa-gl_%.bbappend b/recipes-graphics

[yocto] [meta-raspberrypi][PATCH 1/2] userland: Add missing GLES2 defines

2017-05-09 Thread Khem Raj
Needed by weston Signed-off-by: Khem Raj --- ...-gl2ext.h-Define-GL_R8_EXT-and-GL_RG8_EXT.patch | 30 ++ recipes-graphics/userland/userland_git.bb | 1 + 2 files changed, 31 insertions(+) create mode 100644 recipes-graphics/userland/userland/0014-GLES2-gl2ext.h

Re: [yocto] [meta-raspberrypi] how to apply custom kernel configuration?

2017-05-06 Thread Khem Raj
On Sat, May 6, 2017 at 9:45 AM, Andrea Galbusera wrote: > Hi! > > I was wondering how to apply some extra kernel configuration from a custom > layer via a bbappend. I know that with meta-raspberrypi there exist some > variables you can define in local.conf that will drive how the kernel is > confi

Re: [yocto] [meta-rockchip][PATCH] README: remove irrelevant information

2017-05-06 Thread Khem Raj
On Sat, May 6, 2017 at 7:41 AM, Romain Perier wrote: > Hello, > > Even if I agree with the reason of why you want to remove this section. I > think , it might be a good point to keep a note about this in the README. > Just explain that this is not up to the bsp layer to do this, but to the > distr

Re: [yocto] Enabling tpm from meta-security for AGL

2017-05-05 Thread Khem Raj
On Fri, May 5, 2017 at 9:13 AM, Patrick Ohly wrote: > On Fri, 2017-05-05 at 08:45 -0400, Khem Raj wrote: >> Set >> >> SECURITY_CFLAGS = "${SECURITY_NO_PIE_CFLAGS}" > > But that's just a workaround, right? Ideally the build rules of > tpm2.0-tools shoul

Re: [yocto] Enabling tpm from meta-security for AGL

2017-05-05 Thread Khem Raj
On Fri, May 5, 2017 at 6:12 AM, Dominig Ar Foll wrote: > Hello, > > I am trying to enable tpm on an Intel target using yocto (morty) from > meta-security > > When I activate the tpm-tools-2.0 feature in my configuration, I have > a compilation error (see log bellow) > Search for line: > | /usr/src

Re: [yocto] [meta-raspberrypi] Building rpi-test-image for Pi3 64 bit

2017-05-03 Thread Khem Raj
On Wed, May 3, 2017 at 8:28 AM Luca Carlon wrote: > Hello, > thank you for your help. I followed your advice and I'm now able to build > rpi-test-image for raspberrypi2 and raspberrypi3. When I try > raspberrypi3-64 instead I'm getting a few errors. I fixed one build error, > but then I got: http

Re: [yocto] [meta-raspberrypi] Stable branch plans

2017-05-02 Thread Khem Raj
On Tue, May 2, 2017 at 4:19 AM, Paul Barker wrote: > Hi all, > > I've now got a bit of a vested interest in the next meta-raspberrypi > stable branch as I'm planning to use it as a demo platform for our new > Oryx distro. > > In the past, the stable branch hasn't been created for a while after > t

Re: [yocto] How should we handle GCC 6 and -isystem /usr/include?

2017-04-26 Thread Khem Raj
On Wed, Apr 26, 2017 at 9:50 AM Martin Kelly wrote: > On 04/25/2017 05:44 PM, Khem Raj wrote: > > > > > > On 4/20/17 5:04 PM, Martin Kelly wrote: > >> Hi, > >> > >> After compiling a package with GCC 6, I noticed the following error, > >&

Re: [yocto] How should we handle GCC 6 and -isystem /usr/include?

2017-04-25 Thread Khem Raj
ich breaks the > GCC 6's #include_next. I see that Khem Raj already removed this for the > nativesdk [1], but it seems we need a similar fix for other packages, as > we are still adding -isystem in meta/conf/bitbake.conf: > > [snip] > BUILDSDK_CPPFLAGS = "-isystem${STAGING_INCD

[yocto] [meta-gplv2][PATCH] elfutils: Fix build with gcc7

2017-04-25 Thread Khem Raj
Signed-off-by: Khem Raj --- .../0001-Fix-fallthrough-warnings.patch| 237 + .../0002-Fix-printf-overflow-warnings.patch| 57 + recipes-devtools/elfutils/elfutils_0.148.bb| 2 + 3 files changed, 296 insertions(+) create mode 100644 recipes

Re: [yocto] Problem with mesa and nvidia

2017-04-25 Thread Khem Raj
ught its not the right one, at least I > know that overwritting these files is the last step (got hardware > acceleration, playing video by hardware and full hd resolution). > > Thank you for your help! > > > 2017-04-23 17:11 GMT+02:00 Khem Raj : >> >> On Sun, Apr 23

Re: [yocto] [OE-core] [RFT] gcc7 and glibc-2.26 recipes

2017-04-24 Thread Khem Raj
On Mon, Apr 24, 2017 at 12:13 PM, Burton, Ross wrote: > > On 24 April 2017 at 10:09, Burton, Ross wrote: >> >> All merged, I'll fire in a moment. > > > lttng-modules fails: > > In function 'lib_ring_buffer_align', > inlined from 'lib_ring_buffer_try_reserve' at > TOPDIR/tmp/work/qemumips-poky

Re: [yocto] [OE-core] [RFT] gcc7 and glibc-2.26 recipes

2017-04-24 Thread Khem Raj
On Mon, Apr 24, 2017 at 8:54 AM, Burton, Ross wrote: > > On 24 April 2017 at 10:47, Burton, Ross wrote: >> >> The updated glibc recipe doesn't appear to be very happy: >> https://autobuilder.yocto.io/builders/buildtools/builds/240/steps/BuildImages/logs/stdio > > > Note that every nativesdk-glibc

Re: [yocto] [OE-core] [RFT] gcc7 and glibc-2.26 recipes

2017-04-23 Thread Khem Raj
On Sun, Apr 23, 2017 at 3:04 PM, Burton, Ross wrote: > > On 16 April 2017 at 16:50, Khem Raj wrote: >> >> I have put together recipes for upcoming gcc-7 major release as well >> as glibc 2.26 release, which we would target for next release ( 2.4 ) > > > I threw

Re: [yocto] [oe] [OE-core] [RFT] gcc7 and glibc-2.26 recipes

2017-04-23 Thread Khem Raj
On Sun, Apr 23, 2017 at 5:31 PM, Bruce Ashfield wrote: > > > On Sun, Apr 23, 2017 at 8:30 PM, Bruce Ashfield > wrote: >> >> >> >> On Sun, Apr 23, 2017 at 6:04 PM, Burton, Ross >> wrote: >>> >>> On 16 April 2017 at 16:50, Khem Raj wro

Re: [yocto] Problem with mesa and nvidia

2017-04-23 Thread Khem Raj
On Sun, Apr 23, 2017 at 7:35 AM, Alvaro Garcia wrote: > mesa-driver-i915 if you are building for x86 based machines and including conf/machine/include/x86-base.inc in your machine config then you are getting it. You need to define XSERVER variable that fits your machine. you can start by just rem

Re: [yocto] [meta-raspberrypi] gles2 on raspi3

2017-04-20 Thread Khem Raj
On Thu, Apr 20, 2017 at 12:13 AM, Trevor Woerner wrote: > On Thu 2017-04-20 @ 05:41:44 AM, Herve Jourdain wrote: >> Yes, VC4 indeed works for both 32bits and 64bits. It was first introduced . >> for 32bits, actually Regarding why still using userland: at this point in . >> time, we have accelera

Re: [yocto] overzealous packagedata

2017-04-20 Thread Khem Raj
On Thu, Apr 20, 2017 at 12:26 AM, Trevor Woerner wrote: > I'm trying to build a certain combination of software for a given SoC. mesa > (meta-gl, specifically) provides a libgbm, but if you don't want to use mesa's > libgbm you can disable it with a PACKAGECONFIG. I.e. > > PACKAGECONFIG_re

[yocto] [meta-raspberrypi][PATCH] linux-raspberrypi_4.9.bb: Update to 4.9.23

2017-04-20 Thread Khem Raj
bring CMA > 256M changes 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 c0e8b83..70b16a6 100

Re: [yocto] [meta-raspberrypi][PATCH 1/3] udev: Create rules file to generate serial0/1

2017-04-19 Thread Khem Raj
On Wed, Apr 19, 2017 at 3:41 AM, Andrei Gherzan wrote: > On Tue, Apr 18, 2017 at 7:55 PM, Khem Raj wrote: >> On Tue, Apr 18, 2017 at 11:13 AM, Andrei Gherzan wrote: >>> Signed-off-by: Andrei Gherzan >>> --- >>> recipes-core/udev/udev-rules-rpi.bb

Re: [yocto] [meta-raspberrypi] Unified serial console device option

2017-04-19 Thread Khem Raj
On Wed, Apr 19, 2017 at 4:00 AM, Andrei Gherzan wrote: > Hello all, > > I'm trying to have the ability for user to use serial0 as serial port > on the header and serial1 (when available) for Bluetooth. In this way > rpi2 and rpi3 (32b) will have the same configuration. The story goes > identical f

Re: [yocto] [meta-raspberrypi][PATCH 1/3] udev: Create rules file to generate serial0/1

2017-04-18 Thread Khem Raj
On Tue, Apr 18, 2017 at 11:13 AM, Andrei Gherzan wrote: > Signed-off-by: Andrei Gherzan > --- > recipes-core/udev/udev-rules-rpi.bb | 12 > recipes-core/udev/udev-rules-rpi/99-com.rules | 21 perhaps a bbappend to udev-extraconf recipe is better ? + >

Re: [yocto] meta-tensorflow

2017-04-17 Thread Khem Raj
On Mon, Apr 17, 2017 at 2:19 PM, Giuseppe Di Guglielmo wrote: > Hi, > is there any of the meta- layers supporting the installation of Google > TensorFlow? Does a package-specific layer make sense in Yocto? > Don't think so. There is tensor rt recipe in tegra bsp layer https://github.com/madisong

Re: [yocto] Patch failures

2017-04-16 Thread Khem Raj
What's your build OS On Sun, Apr 16, 2017 at 6:09 PM Paul D. DeRocco wrote: > I'm trying to migrate an Atom-based build from Fido to Morty, and also > switch from 32-bit mode to x32. On a clean build, it gets about half way > through, and then suddenly coughs up a patch error. I've put blank lin

Re: [yocto] [meta-raspberrypi][PATCH 2/2] x264: Fix build for armv6 RaspberryPi boards

2017-04-16 Thread Khem Raj
On Sun, Apr 16, 2017 at 6:14 PM Andrei Gherzan wrote: > quant-a.S uses rbit thumb instruction unconditionally even though only > from ARMV6T2 this is available (which is not the case for RPI1, RPI0 > etc). Avoid this by disabling asm. It would be bette to control it in component's own build sys

[yocto] [RFT] gcc7 and glibc-2.26 recipes

2017-04-16 Thread Khem Raj
Hello All I have put together recipes for upcoming gcc-7 major release as well as glibc 2.26 release, which we would target for next release ( 2.4 ) There are several changes in gcc-7 which will need fixing packages. If you have time to spare feel free to give it a shot and send fixes for the pac

Re: [yocto] [meta-raspberrypi][PATCH 3/7] firmware.inc: Bump to 20170405

2017-04-14 Thread Khem Raj
same :) see my series. On Fri, Apr 14, 2017 at 1:13 PM, Andrei Gherzan wrote: > Signed-off-by: Andrei Gherzan > --- > recipes-bsp/common/firmware.inc | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/recipes-bsp/common/firmware.inc b/recipes-bsp/common/firmware.inc

Re: [yocto] [meta-raspberrypi][PATCH 4/7] linux-raspberrypi_4.9: Bump to 4.9.21

2017-04-14 Thread Khem Raj
I posted a similar patch earlier On Fri, Apr 14, 2017 at 1:13 PM, Andrei Gherzan wrote: > Signed-off-by: Andrei Gherzan > --- > 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.b

[yocto] [meta-raspberrypi][PATCH 6/6] psplash: Let distro override the default splash image if it provides

2017-04-14 Thread Khem Raj
BSPs should not be overriding the distro splash images, here we reduce the priority of psplash-raspberrypi below 100 so the defaults from distros can kick in. Signed-off-by: Khem Raj --- recipes-core/psplash/psplash_git.bbappend | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff

[yocto] [meta-raspberrypi][PATCH 5/5] firmware: Update to 1.20170405 release

2017-04-14 Thread Khem Raj
Signed-off-by: Khem Raj --- recipes-bsp/common/firmware.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-bsp/common/firmware.inc b/recipes-bsp/common/firmware.inc index 53c469e..1c3a911 100644 --- a/recipes-bsp/common/firmware.inc +++ b/recipes-bsp/common

[yocto] [meta-raspberrypi][PATCH 3/5] userland: Upgrade to latest

2017-04-14 Thread Khem Raj
Signed-off-by: Khem Raj --- .../0002-wayland-Add-support-for-the-Wayland-winsys.patch| 12 ++-- recipes-graphics/userland/userland_git.bb| 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/recipes-graphics/userland/userland/0002-wayland-Add

<    1   2   3   4   5   6   7   8   9   10   >