[meta-freescale] (imx6q-sabrelite) Are there -dev and/or -sdk builds for yocto freescale

Thanassis Silis djnass_18 at hotmail.com
Fri May 17 08:43:08 PDT 2013

Hi there, thank you for the help.
(EXTRA_)IMAGE_FEATURES seems to be what I needed indeed.
I am reading upon it and modify my builds so as to include debug symbols in the target rootfs.

A few questions:

- for feature "tools-profile" it includes valgrind in arch "x86" only. Why Is that? I am sure I have seen people compiling valgring for arm.  Is there another application I can use with yocto to check for memory leaks?

I am still a little fuzzy about the folder "sysroot" as opposed to the rootfs folder.

Thank you

From: clarson at kergoth.com
Date: Fri, 17 May 2013 07:20:36 -0700
Subject: Re: [meta-freescale] (imx6q-sabrelite) Are there -dev and/or -sdk builds for yocto freescale
To: B19537 at freescale.com
CC: djnass_18 at hotmail.com; meta-freescale at yoctoproject.org

On Fri, May 17, 2013 at 2:33 AM, Luo Zhenhua-B19537 <B19537 at freescale.com> wrote:

> From: meta-freescale-bounces at yoctoproject.org [mailto:meta-freescale-bounces at yoctoproject.org] On Behalf Of Thanassis Silis

> Sent: Friday, May 17, 2013 5:07 PM

> To: meta-freescale at yoctoproject.org


> Hello everyone,

> I am going through the yocto documentation and stumbled upon the images that can be bitbaked.

> http://www.yoctoproject.org/docs/1.5/ref-manual/ref-manual.html#ref-images


> What interests me is the fact that one can bitbake -dev & -sdk images and I was wondering If I can do that too  in the fsl-image-* images.


> Is it possible?

[Luo Zhenhua-B19537] Sure. You can try following ways:

    1. Create your customized rootfs bb that inherits existent rootfs type, and add required features(dbg-pkgs, dev-pkgs, etc) in IMAGE_FEATURES,  below is an example:

       require fsl-image-<xxx>.bb

       IMAGE_FEATURES += "dev-pkgs"

    2. Edit existent demo rootfs bb as following

       IMAGE_FEATURES += "dev-pkgs"

> If not, is someone working on recipes for it?

> As a last resort, is it relatively 'easy' to take (for example) the fsl-image-test recipe and remove the 'stripping' clauses (wherever these may reside)

> so that, at least, I will have non-stripped versions of the libraries? I need them so I can debug with gdb and valgrind directly on the target...

[Luo Zhenhua-B19537] INHIBIT_PACKAGE_STRIP is a choice to keep debug symbols,

       INHIBIT_PACKAGE_STRIP: If set to "1", causes the build to not strip binaries in resulting packages.
While INHIBIT_PACKAGE_STRIP does exist, the better bet is to also add dbg-pkgs rather than just dev-pkgs, if you want debugging symbols.

Christopher Larson 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20130517/23255a50/attachment.html>

More information about the meta-freescale mailing list