[yocto] [meta-raspberrypi][PATCH] CAN: Add Pican2 support

2018-11-16 Thread Fabien Lahoudere
In order to make Pican 2 work, we : - add mcp2515.dto to the overlay list - add a variable to enable it in local.conf - create a udev rule to mount interface http://skpang.co.uk/catalog/pican2-canbus-board-for-raspberry-pi-23-p-1475.html Signed-off-by: Fabien Lahoudere --- docs/extra-build

Re: [yocto] Extract GPL sources

2018-08-07 Thread Fabien Lahoudere
Thanks Ross it works fine now. On Tue, 2018-08-07 at 11:38 +0100, Burton, Ross wrote: > I believe this is fixed in Pyro 2.3.4. > > Ross > > > On 7 August 2018 at 11:15, Fabien Lahoudere > wrote: > > Thanks Ross, > > > > I have an issue when

Re: [yocto] Extract GPL sources

2018-08-07 Thread Fabien Lahoudere
t effect. Where can I add quilt-native dependency? For information I use pyro release. Is there any known bug for that release? Thanks On Tue, 2018-08-07 at 10:10 +0100, Burton, Ross wrote: > Have a look at the archiver class. > > Ross > > On 7 August 2018 at 09:29, Fabien Lahoudere

[yocto] Extract GPL sources

2018-08-07 Thread Fabien Lahoudere
Hello I need to extract all *GPL* sources patched related to an image in order to publish them. I want to do it automatically, ie 'bitbake myimage -c extract-gpl-sources' Is there a mechanism to do that? If not do you have any idea how I can implement it? Thanks -- Fabien -- _

Re: [yocto] snmp is not installed, only snmpd

2017-11-23 Thread Fabien Lahoudere
On Thu, 2017-11-23 at 16:08 +0200, Ran Shalit wrote: > Hello, > > Does anyone knows how I can add snmp to yocto, I manage to have > /etc/snmp/snmpd.conf , but not snmp.conf. > According to the recipe it seems that no conf files are provided for snmp. snmp seems to be the client and maybe doesn't

Re: [yocto] Using devtool for adding a systemd service

2017-11-10 Thread Fabien Lahoudere
Hi I don't think that devtool will help you in this case. IIUC, what you need is to check if your file is populated in the package? You can verify this by checking package content after the build. For example : dpkg-deb -c will show you all files installed by the package. I think rpm an

Re: [yocto] recipe name vs. package name

2017-11-10 Thread Fabien Lahoudere
Hi, On Fri, 2017-11-10 at 10:16 +0200, Ran Shalit wrote: > Hello, > > I read somewhere that a recipe can contain more than one package and recipe > name is not the same > as package name. > But in > https://wiki.yoctoproject.org/wiki/Building_your_own_recipes_from_first_principles > I see that p

Re: [yocto] Checking for xwayland

2017-11-01 Thread Fabien Lahoudere
t. Perhaps not..? > The image I built is a custom one but I tried core-image-weston on imx6 and rpi3 and it does the job. > Adam > > On Wed, Nov 1, 2017 at 10:28 AM Fabien Lahoudere > wrote: > > On Wed, 2017-11-01 at 14:10 +, Adam Lee wrote: > > > Hell

Re: [yocto] Checking for xwayland

2017-11-01 Thread Fabien Lahoudere
On Wed, 2017-11-01 at 14:10 +, Adam Lee wrote: > Hello, how do I tell if I successfully built xwayland into my image? > > I looked for "xwayland" binary but to no avail. I have this /usr/bin/Xwayland in my rootfs. Check you manifest. It should contain xserver-xorg-xwayland. > > Adam -- Fa

Re: [yocto] linux-firmware: build failure

2017-10-31 Thread Fabien Lahoudere
On Tue, 2017-10-31 at 18:04 +1100, Craig McQueen wrote: > I'm trying upgrading to rocko (from morty). > > I'm getting a build failure for linux-firmware: > > > DEBUG: Executing python function extend_recipe_sysroot > NOTE: Direct dependencies are > ['virtual:native:/home/craigm/yocto/poky/build

Re: [yocto] How to use same user in two recipes?

2017-10-11 Thread Fabien Lahoudere
Maxin, Is this patch submitted or applied for next release? Thanks On Wed, 2017-10-11 at 14:37 +0300, Maxin B. John wrote: > Hi Fabien, > > On Wed, 2017-10-11 at 13:06 +0300, Henrik Lindblom wrote: > > > I think you'll want RDEPENDS instead of DEPENDS in your recipe. DEPENDS > > > implies buil

Re: [yocto] How to use same user in two recipes?

2017-10-11 Thread Fabien Lahoudere
Thanks a lot Maxin Your patch fix the issue. \o/ On Wed, 2017-10-11 at 14:37 +0300, Maxin B. John wrote: > Hi Fabien, > > On Wed, 2017-10-11 at 13:06 +0300, Henrik Lindblom wrote: > > > I think you'll want RDEPENDS instead of DEPENDS in your recipe. DEPENDS > > > implies build time > > > depen

Re: [yocto] How to use same user in two recipes?

2017-10-11 Thread Fabien Lahoudere
hanks Henrik I tried to add RDEPENDS too without success. The problem is that users and groups are not installed IIUC. > On Wed, Oct 11, 2017 at 12:16 PM, Fabien Lahoudere > wrote: > > FI, with bitbake testuser -c devshell > > > > # cat ../1.0-r1/recipe-sysroot/etc/pass

Re: [yocto] How to use same user in two recipes?

2017-10-11 Thread Fabien Lahoudere
FI, with bitbake testuser -c devshell # cat ../1.0-r1/recipe-sysroot/etc/passwd  root::0:0:root:/root:/bin/sh daemon:*:1:1:daemon:/usr/sbin:/bin/sh bin:*:2:2:bin:/bin:/bin/sh sys:*:3:3:sys:/dev:/bin/sh sync:*:4:65534:sync:/bin:/bin/sync games:*:5:60:games:/usr/games:/bin/sh man:*:6:12:man:/var/cac

Re: [yocto] How to use same user in two recipes?

2017-10-11 Thread Fabien Lahoudere
']| DEBUG: Python function extend_recipe_sysroot finished| DEBUG: Executing shell function do_install| chown: invalid user: ‘user1’| WARNING: exit code 1 from a shell command.| ERROR: Function failed: do_install (log file is located at /home/aragua/src/oe-core/build/tmp- glibc/w

Re: [yocto] How to use same user in two recipes?

2017-10-10 Thread Fabien Lahoudere
On Tue, 2017-10-10 at 15:31 -0700, aaron_wri...@selinc.com wrote: > > Hi > > >  > > > I want to use the same user in two different recipe.  > > > I create the user in recipe A.bb and it works fine. > > > Now I want to use the same user in B.bb so I add DEPENDS = "A" > > > > thinking that sysr

[yocto] How to use same user in two recipes?

2017-10-10 Thread Fabien Lahoudere
Hi I want to use the same user in two different recipe.  I create the user in recipe A.bb and it works fine. Now I want to use the same user in B.bb so I add DEPENDS = "A" thinking that sysroot will be populated with A.bb users. But when I bitbake the recipe, user is not found.  I conclude that

[yocto] How to use same user in two recipes?

2017-10-10 Thread Fabien Lahoudere
Hello I want to use the same user in two different recipe.  I create the user in recipe A.bb and it works fine. Now I want to use the same user in B.bb so I add DEPENDS = "A" thinking that sysroot will be populated with A.bb users. But when I bitbake the recipe, user is not found.  I conclude th

Re: [yocto] [bitbake] Conditional Linux Kernel compilation according to Yocto Variables

2017-06-09 Thread Fabien Lahoudere
On Thu, 2017-06-08 at 07:32 +, Karim ATIKI wrote: > I'm using Yocto (Poky Dora is mandatory for our project) to create a Linux > image for an ARM base > board. > Currently, we're working on an evaluation board. > We have a dedicated layer (meta-docking) with all the stuff. > We have dedicated

Re: [yocto] etnaviv image

2017-05-25 Thread Fabien Lahoudere
On Thu, 2017-05-25 at 11:01 +0200, Gary Thomas wrote: > On 2017-05-25 10:48, Trevor Woerner wrote: > > w00t!! > > > > It took a lot of hacking, but I was able to build and run an image for > > the wandboard dual that uses etnaviv :-D > > > > Patches to follow. > > > > I now have 4 dev boards usi

Re: [yocto] Install Torch7

2017-05-19 Thread Fabien Lahoudere
t and not target. As they expect "EXECUTABLE", I think it is more a RDEPENDS needed. Maybe your soft is not cross compilable as is nad should be patches. You need to understand why tools are necessary and fix accordingly. > Thank you again.  > Best. > > > On Thursday, May

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

2017-05-19 Thread Fabien Lahoudere
On Thu, 2017-05-18 at 18:43 -0700, Paul D. DeRocco wrote: > If I'm doing multiple unrelated Yocto based projects, and they use the > same version of Yocto, and the same metadata (except for my own layers), > am I right in assuming that I can share everything in poky, downloads, and > sstate-cache,

Re: [yocto] Error: when reparsing

2017-05-19 Thread Fabien Lahoudere
Hi Can you paste your image recipe. I remember to a similar issue here but I don't remember how I solve it. The recipe can help a lot to understand. Fabien On Fri, 2017-05-19 at 08:30 +0200, Yuvarajesh Valleru wrote: > Ok. So according to you I can only build one image per day succesfully ? > >

Re: [yocto] Install Torch7

2017-05-18 Thread Fabien Lahoudere
aybe recipes exists in which case you have to add them to the variable described above. > > Thank you.  > > > > On Thursday, May 18, 2017 10:17 AM, Fabien Lahoudere > wrote: > > > On Wed, 2017-05-17 at 08:37 +, Abayiz wrote: > > Dear all,  &

Re: [yocto] Install Torch7

2017-05-18 Thread Fabien Lahoudere
On Wed, 2017-05-17 at 08:37 +, Abayiz wrote: > Dear all,  > > I'm quite new to Yocto, I've successfully built qemu and ran helloworld > example on it. Now I'm > trying to install Torch 7 (https://github.com/torch/torch7) library. What I > did is:  > > devtool add torch https://github.com/to

Re: [yocto] Symbolic link to ld-linux-armhf.so.3

2017-04-16 Thread Fabien Lahoudere
On Sat, 2017-04-15 at 20:47 +0200, Alvaro Garcia wrote: > Hi, I made a recipe for hamachi. Hamachi looks for /lib/ld-linux.so.3 but in > my poky build this > file is /lib/ld-linux-armhf.so.3. > > If I do ln -s /lib/ld-linux-armhf.so.3 /lib/ld-linux.so.3 hamachi runs fine > so the solution its >

Re: [yocto] Static Lib build.

2017-04-16 Thread Fabien Lahoudere
On Sat, 2017-04-15 at 17:24 +0300, Life Life wrote: > Hello, > > I'm try to build static library for SDK. > > Update the build/local.conf file with the following information > > SDKIMAGE_FEATURES = "staticdev-pkgs dev-pkgs" > > INHERIT += "buildhistory" > BUILDHISTORY_COMMIT = "0" >  BUILDHISTO

Re: [yocto] Local repo no network help request

2017-04-07 Thread Fabien Lahoudere
On Fri, 2017-04-07 at 00:38 -0700, Matthew Phillips wrote: > I used an alternative pathname that eliminated the "/../", however it > still failed. The debug messages show that it is able to find the > local repo, but it seems to be trying to access HEAD regardless. > > I have also tried a couple o

Re: [yocto] Local repo no network help request

2017-04-06 Thread Fabien Lahoudere
On Wed, 2017-04-05 at 19:57 -0700, Matthew Phillips wrote: > Hi all, > > I am trying to do the following: > > I have a local git repo, pulled manually from a remote repo (via a script). > I have a .bb file set up referencing this repo. This .bb file includes > (among other things): > > > > SRC_U

Re: [yocto] Returning non-zero exit code

2017-04-06 Thread Fabien Lahoudere
On Wed, 2017-04-05 at 15:05 +, Natalia Theologou wrote: > Hello,  > > While I am trying to bitbake fsl-image-x11 I am having this error: > > ERROR: Task 1570 > (virtual:native:~/sources/poky/meta/recipes-support/gmp/gmp_5.1.1.bb, > do_compile) > failed with exit code '1' > NOTE: Tasks Summa

Re: [yocto] Fwd: iMX6UL - QtQuick - QtQuick2DRenderer

2017-04-06 Thread Fabien Lahoudere
On Thu, 2017-04-06 at 10:35 +0200, Stefano Zuín wrote: > > > > Mensaje reenviado > Asunto: [yocto] iMX6UL - QtQuick - QtQuick2DRenderer > Fecha:Wed, 5 Apr 2017 13:29:13 +0200 > De: Stefano Zuín > Para: yocto@yoctoproject.org > > Hi all, > > I'm trying to run

Re: [yocto] unable to create softlink for precompilied libraries

2017-04-06 Thread Fabien Lahoudere
t; present > > Thanks  > Chandra > > From: chandrasekhar c > Sent: Thu, 6 Apr 2017 14:39:04 GMT+0530 > To: "Fabien Lahoudere " > Cc: "yocto@yoctoproject.org" > Subject: Re: [yocto] unable to create softlink for precompilied libraries > >

Re: [yocto] unable to create softlink for precompilied libraries

2017-04-06 Thread Fabien Lahoudere
On Thu, 2017-04-06 at 08:08 +, chandrasekhar c wrote: > Hi,  > I have a third party precompilied libraries. I erota a recipe to copy to > rootfs and create  soft > links for the same. After doing bitbake it didnt throw any errors, but when I > check th rootfs it > didn't create any link file.

Re: [yocto] GNU/Octave

2017-04-05 Thread Fabien Lahoudere
hello On Wed, 2017-04-05 at 14:45 +0200, Peter Balazovic wrote: > Dears, > > do you know is there recipe for GNU/Octave  > "https://www.gnu.org/software/octave/";? > Is it possible to get it running on Yocto/Linux machine? > A quick google search return this : https://github.com/openembedded/op

Re: [yocto] Install rootfs.tar.bz2 to ${D}/home/root/

2017-04-05 Thread Fabien Lahoudere
On Wed, 2017-04-05 at 11:21 +, Maier, Chris wrote: > Hi, >   > I want to create a deployable SD card image. My board (beaglebone based) > boots from SD card and > runs a script which copies the rootfs.tar.bz2 to the flash memory. > So how can I deploy a copy of the whole rootfs to ${D}/home/ro

Re: [yocto] FIT Image boot issue

2017-04-05 Thread Fabien Lahoudere
Hi, Did you try if it works out of yocto? I use those lines to generate FitImage from a kernel tree: source ../poky/build/tmp/environment-setup-cortexa8hf-neon-helix-linux-gnueabi make ARCH=arm CROSS_COMPILE=arm-helix-linux-gnueabi- -j16 zImage ???.dtb ???.dtb arm-helix-linux-gnueabi-objcopy -O

Re: [yocto] Missing dependencies on driver header

2017-03-31 Thread Fabien Lahoudere
On Fri, 2017-03-31 at 14:42 +0100, colin.helliw...@ln-systems.com wrote: > I have a niggly problem I keep running into, especially with fresh image > builds. > I have a custom driver, and a user-space library for controlling it; > therefore the library includes one of the driver's header files (IOC

Re: [yocto] arm-angstrom-linux-gnueabi-gcc: fatal error: no input files

2017-03-30 Thread Fabien Lahoudere
nd 1 failed. > NOTE: Writing buildhistory > > Summary: 1 task failed: > /home/cc/src/oe-core/build/../layers/meta-layer/recipes-hi/helloworld/helloworld_1.0.bb:do_compile > Summary: There was 1 WARNING message shown. > Summary: There was 1 ERROR message shown, returning a n

Re: [yocto] arm-angstrom-linux-gnueabi-gcc: fatal error: no input files

2017-03-30 Thread Fabien Lahoudere
Try do_compile() {   ${CC} ${S}/helloworld.cpp -o ${S}/helloworld } On Thu, 2017-03-30 at 12:43 +0200, Yuvarajesh Valleru wrote: > Here is the tree for my recipe and also attached the error. > > /home/cc/src/oe-core/build/../layers/meta-layer/recipes-hi/helloworld/ > ├── files > │ ├── h

Re: [yocto] Parse error: unable to parse line and new error arm-linux-gnueabi-gcc : helloworld.cpp 'no such file or directory'

2017-03-30 Thread Fabien Lahoudere
s 1 WARNING message shown. > Summary: There was 1 ERROR message shown, returning a non-zero exit code. > > > Am 30.03.2017 um 11:10 schrieb Fabien Lahoudere: > > The line is parsed here. > > Did you copy paste the quote from a tutorial on internet? > > Sometime e

Re: [yocto] Parse error: unable to parse line

2017-03-30 Thread Fabien Lahoudere
The line is parsed here. Did you copy paste the quote from a tutorial on internet? Sometime encoding lead to such issues. On Thu, 2017-03-30 at 11:00 +0200, Yuvarajesh Valleru wrote: > No, > Sorry. I haven't left it. The please find the file below: > SUMMARY = "hello world program" > HOMEPAGE = "h

Re: [yocto] Parse error: unable to parse line

2017-03-30 Thread Fabien Lahoudere
On Thu, 2017-03-30 at 10:14 +0200, Yuvarajesh Valleru wrote: > Hi, > > I am new to yocto. I was building an example recipe 'helloworld' and  > have a parse error. but could not find the solution > > here is the error: > > cc@cc:~/src/oe-core/build$ bitbake helloworld > Loading cache: 100% |#

[yocto] [meta-raspberrypi][PATCH 1/1] Remove orphan bbappend

2017-03-15 Thread Fabien Lahoudere
gstreamer1.0-omx_1.2.0.bb and gstreamer1.0-omx_git.bb have been removed from poky on master branch, so related bbappend should be removed. Signed-off-by: Fabien Lahoudere --- .../gstreamer/gstreamer1.0-omx_1.2.0.bbappend | 14 -- recipes-multimedia/gstreamer