Re: [yocto] Yocto/Poky with external linaro toolchain
Hi Apparently this is the case. I ported my distro stuff back to the arago distribution, now I get a different error with the SDK generation. I will check in the arago project. Thanks anyways. Regards Thomas From: Christopher Larson [mailto:clar...@kergoth.com] Sent: Friday, February 12, 2016 9:01 PM To: Thomas Kaufmann <thomas.kaufm...@duagon.com>; yocto@yoctoproject.org Subject: Re: [yocto] Yocto/Poky with external linaro toolchain On Fri, Feb 12, 2016 at 2:47 AM Thomas Kaufmann <thomas.kaufm...@duagon.com<mailto:thomas.kaufm...@duagon.com>> wrote: 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 This looks like it's specific to your linaro toolchain bits. I'd recommend contacting the linaro or arago folks. -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Yocto/Poky with external linaro toolchain
On Fri, Feb 12, 2016 at 2:47 AM Thomas Kaufmannwrote: > 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 > This looks like it's specific to your linaro toolchain bits. I'd recommend contacting the linaro or arago folks. -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
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 Kaufmannwrote: > 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 = > "//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 > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto