Hi Christopher

thanks for this hint, this prevented a lot of packages from being built.
However I still face an additional issue. in the last step of do_populate_sdk, 
when the sdk is actually supposed to be put together.
I get this output:

Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for 
packagegroup-core-standalone-sdk-target:
*            libc6 (= 2015.08-r0) *      glibc-utils *
 * opkg_install_cmd: Cannot install package 
packagegroup-core-standalone-sdk-target.

how can it be, that everything is built correctly and in the end there is a 
dependency missing?
I tried altering my LIBC_DEPENDENCIES, but with no success so far.
I am also using tclibc-external-linaro-toolchain.inc from
http://arago-project.org/git/?p=meta-arago.git;a=blob;f=meta-arago-extras/conf/distro/include/tclibc-external-linaro-toolchain.inc;hb=HEAD

any comments are appreciated

regards Thomas


From: Christopher Larson [mailto:[email protected]]
Sent: Wednesday, February 10, 2016 5:25 PM
To: Thomas Kaufmann; [email protected]
Subject: Re: [yocto] Yocto/Poky with external linaro toolchain

https://github.com/MentorEmbedded/meta-mentor/blob/master/meta-mel/conf/include/drop-toolchain-from-sdk.inc
 may be of interest to you.

On Wed, Feb 10, 2016 at 9:01 AM Thomas Kaufmann 
<[email protected]<mailto:[email protected]>> wrote:
Hi

I started porting an existing linux system to the latest yocto base. The 
hardware TI am 335x based.
I want to use the external linaro toolchains. Since I use an existing 3.2 linux 
kernel as well as an older u-boot, I created a own machine and distro 
configuration. I succeed to build and run the target, so far so good.

To incorporate the external toolchains I added

TCMODE = "external-linaro"
EXTERNAL_TOOLCHAIN = 
"/<homedir>/gcc-linaro-5.1-2015.08-x86_64_arm-linux-gnueabihf"

to the local.conf file and

meta-linaro/meta-linaro-toolchain

to the BBLAYERS in bblayers.conf. meta-linaro was cloned using git.
For my "legacy" packages I adjust "EXTERNAL_TOOLCHAIN" to a gcc-4.9 version, 
this seems to work and everything compiles.

Now my next step is to create an SDK distribution.
When I do do_populate_sdk with bitbake for my image, however the process seems 
to compile a new cross compiler for the target as well as various qemu things 
and also newer kernel releases.

Is this the preferred way to integrate the linaro toolchain into poky? Can 
anybody share their experience? I find various presentations and snippets about 
this topic, but nothing is complete.
How do I create a SDK distribution which does not feature any QEMU (I want to 
deploy to target hardware) and uses the existing prebuilt toolchain? Build host 
and target sdk host would be x86_64.

Any recommendations are welcome.

regards Thomas Kaufmann
--
_______________________________________________
yocto mailing list
[email protected]<mailto:[email protected]>
https://lists.yoctoproject.org/listinfo/yocto
-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to