[yocto] pyro: missing ldconfig

2018-04-05 Thread Florian Doersch
Hi, I recently updated from pyro 2.3.3 to latest pyro branch for my raspberry3 and ran into the following problem trying to create the toolchain via: `bitbake meta-toolchain -c populate_sdk` ``` ERROR: meta-toolchain-1.0-r7 do_populate_sdk: Unable to remove packages. Command '['/yocto/buil

Re: [yocto] Adding debug output in recipe

2018-04-05 Thread Anuj Mittal
On 04/06/2018 02:05 PM, Raymond Yeung wrote: > Hi Anuj, > > > "bitbake -e" is very useful for debugging out-of-tree build issue. >  However, looks like I have another issue.  From "devtool build" output, > I could see variables passed into makefile.  Let's focus on "CC" for now: > > > CC=x86_64

[yocto] Problem with packages during "devtool build"

2018-04-05 Thread Raymond Yeung
I've some 3rd party Makefile-based software I'd like to integrate to a working Poky snapshot. The following are done: 1. devtool add cgosapi 2. Edit workspace/recipe/cgosapi/cgosapi.bb. * Implement do_install to move files on build machine to directories on target. * Files

Re: [yocto] Adding debug output in recipe

2018-04-05 Thread Anuj Mittal
On 04/05/2018 03:33 PM, Raymond Yeung wrote: > Is there a way to add simple debug output (ideally don't need to control > debug level) to echo out values of variables?  I tried the bb.xxx > variants, but couldn't get them to work. > To find out what a variable is being set to, you can try: bitba

[yocto] Adding debug output in recipe

2018-04-05 Thread Raymond Yeung
Is there a way to add simple debug output (ideally don't need to control debug level) to echo out values of variables? I tried the bb.xxx variants, but couldn't get them to work. Raymond -- ___ yocto mailing list yocto@yoctoproject.org https://lists

Re: [yocto] Problem with packages during "devtool build"

2018-04-05 Thread Raymond Yeung
I figured out a way out of my do_compile problem in my last post. By accident, I stumbled on "bitbake -e virtual/kernel" command in one of the many manuals. Executing this in directory where belayer.conf is defined would give me all the expanded values of all variables. Some of these variabl

Re: [yocto] binutils 2.29.1 ARM Thumb kernel problem

2018-04-05 Thread Andre McCurdy
On Thu, Apr 5, 2018 at 12:17 PM, Khem Raj wrote: > On Thu, Apr 5, 2018 at 12:16 PM Khem Raj wrote: >> On Thu, Apr 5, 2018 at 11:53 AM Chris Elledge >> wrote: >>> >>> Unfortunately, removing the "+1" doesn't work. That results in a kernel >>> which claims to start, but doesn't progress. >>> >>> C

Re: [yocto] binutils 2.29.1 ARM Thumb kernel problem

2018-04-05 Thread Chris Elledge
If I have neither the +1 nor the ORR then the kernel boot does this: Loading file '/boot/gateway3.dtb' to addr 0x2100 with size 28500 (0x6f54)... Done Loading file '/boot/zImage' to addr 0x2200 with size 3182128 (0x00308e30)... Done Kernel image @ 0x2200 [ 0x00 - 0x308e30 ] ##

Re: [yocto] binutils 2.29.1 ARM Thumb kernel problem

2018-04-05 Thread Khem Raj
On Thu, Apr 5, 2018 at 12:16 PM Khem Raj wrote: > On Thu, Apr 5, 2018 at 11:53 AM Chris Elledge > wrote: > >> Unfortunately, removing the "+1" doesn't work. That results in a kernel >> which claims to start, but doesn't progress. >> >> Changing it to an "|1" also doesn't work due to this error:

Re: [yocto] binutils 2.29.1 ARM Thumb kernel problem

2018-04-05 Thread Khem Raj
On Thu, Apr 5, 2018 at 11:53 AM Chris Elledge wrote: > Unfortunately, removing the "+1" doesn't work. That results in a kernel > which claims to start, but doesn't progress. > > Changing it to an "|1" also doesn't work due to this error: > arch/arm/kernel/entry-common.S:117: Error: invalid operan

Re: [yocto] binutils 2.29.1 ARM Thumb kernel problem

2018-04-05 Thread Chris Elledge
Unfortunately, removing the "+1" doesn't work. That results in a kernel which claims to start, but doesn't progress. Changing it to an "|1" also doesn't work due to this error: arch/arm/kernel/entry-common.S:117: Error: invalid operands (.text and *ABS* sections) for `|' Doing this to the badr ma

Re: [yocto] Problem with packages during "devtool build"

2018-04-05 Thread Robert Berger
Hi, On 2018-04-05 21:02, Raymond Yeung wrote: "inherit module" is already in recipes/cgosapi.bb file.  In fact, as I use devtool to "add" the recipe to workspace layer, this .bb file is autogenerated.  I only added the last line that sets KERNELDIR that 3rd Party software's Makefile uses. Di

Re: [yocto] Problem with packages during "devtool build"

2018-04-05 Thread Raymond Yeung
"inherit module" is already in recipes/cgosapi.bb file. In fact, as I use devtool to "add" the recipe to workspace layer, this .bb file is autogenerated. I only added the last line that sets KERNELDIR that 3rd Party software's Makefile uses. Below is edited cgosapi.bb file with all generated

[yocto] Encrypt Root FIle system as part of RPI sdcard image using cryptsetup.

2018-04-05 Thread Prakash Ks
Hi, I wanted to encrypt the Root file system parttition for the RPI3 SDcard image, it would be great if anybody have some suggestion on this. Note: Below are the steps i am using to encrypt, same kind of steps i want to do automate, when we issue dd command automatically it should create encrypte

Re: [yocto] Problem with packages during "devtool build"

2018-04-05 Thread Khem Raj
On Wed, Apr 4, 2018 at 7:08 PM, Raymond Yeung wrote: > Resent, after subscribing to the list. > > > > > From: Raymond Yeung > Sent: Wednesday, April 4, 2018 6:40 PM > To: yocto@yoctoproject.org > Subject: Problem with packages during "devtool build" > > > I've som

Re: [yocto] Problem with packages during "devtool build"

2018-04-05 Thread Raymond Yeung
Resent, after subscribing to the list. From: Raymond Yeung Sent: Wednesday, April 4, 2018 6:40 PM To: yocto@yoctoproject.org Subject: Problem with packages during "devtool build" I've some 3rd party Makefile-based software I'd like to integrate to a working Po

Re: [yocto] ERROR: problem:package openssh-7.6p1-r0.i586 conflicts with dropbear provided by dropbear-2017.75-r0.i586

2018-04-05 Thread Alexander Kanavin
On 04/02/2018 01:38 PM, Aditya Tayade wrote: I trying to build core-image-sato using yocto 2.5 with new package openssh. Added openssh entry in the local.conf file as follows: IMAGE_INSTALL_append = "openssh" But facing some conflicts error. Please refer attached log file for more informati

Re: [yocto] QEMU package list verification

2018-04-05 Thread Alexander Kanavin
On 04/02/2018 01:28 PM, Aditya Tayade wrote: 1) Build core-image-sato for yocto 2.5 ( DISTRO_VERSION = 2.4+snapshot-20180402) 2) I used the bitbake-layers show-recipes to list down the packages . 3) Verify whether the packages are part of the image root fs 4) I use command *find ./ -name*** If