Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 50627E0071E; Wed, 10 Feb 2016 08:01:06 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [62.12.170.131 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message X-Greylist: delayed 71 seconds by postgrey-1.32 at yocto-www; Wed, 10 Feb 2016 08:01:03 PST Received: from antispamrelay01.bull-services.ch (antispamrelay01.bull-services.ch [62.12.170.131]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id C449FE00404 for ; Wed, 10 Feb 2016 08:01:02 -0800 (PST) Received: from 220.158.14.46.static.wline.lns.sme.cust.swisscom.ch ([46.14.158.220]) by mx-gate01-zrh.antispameurope.com; Wed, 10 Feb 2016 16:59:51 +0100 Received: from chdua14.duagon.ads (192.168.0.83) by chdua14.duagon.ads (192.168.0.83) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Wed, 10 Feb 2016 16:59:48 +0100 Received: from chdua14.duagon.ads ([fe80::11cc:5f18:bf89:c528]) by chdua14.duagon.ads ([fe80::11cc:5f18:bf89:c528%12]) with mapi id 15.00.1104.000; Wed, 10 Feb 2016 16:59:48 +0100 From: Thomas Kaufmann To: "yocto@yoctoproject.org" Thread-Topic: Yocto/Poky with external linaro toolchain Thread-Index: AdFkGlKY/vS2K/4nSeKxYNgybgJa4g== Date: Wed, 10 Feb 2016 15:59:48 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [192.168.0.189] MIME-Version: 1.0 X-cloud-security-sender: thomas.kaufmann@duagon.com X-cloud-security-recipient: yocto@yoctoproject.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mx-gate01-zrh with D0A72395C079 X-cloud-security-connect: 220.158.14.46.static.wline.lns.sme.cust.swisscom.ch[46.14.158.220], TLS=1, IP=46.14.158.220 X-cloud-security: scantime:.6666 Subject: Yocto/Poky with external linaro toolchain X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 16:01:06 -0000 Content-Language: de-DE Content-Type: multipart/alternative; boundary="_000_c0fe5ddbf4bb4b3491dcc6e92bb88602chdua14duagonads_" --_000_c0fe5ddbf4bb4b3491dcc6e92bb88602chdua14duagonads_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi I started porting an existing linux system to the latest yocto base. The ha= rdware TI am 335x based. I want to use the external linaro toolchains. Since I use an existing 3.2 l= inux 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 =3D "external-linaro" EXTERNAL_TOOLCHAIN =3D "//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 se= ems 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 a= bout 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? Bui= ld host and target sdk host would be x86_64. Any recommendations are welcome. regards Thomas Kaufmann --_000_c0fe5ddbf4bb4b3491dcc6e92bb88602chdua14duagonads_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi

 

I started porting an existing linux system to the la= test 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<= /o:p>

 

TCMODE =3D "external-linaro"

EXTERNAL_TOOLCHAIN =3D "/<homedir>/gcc-li= naro-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 cl= oned using git.

For my "legacy" packages I adjust "EX= TERNAL_TOOLCHAIN" to a gcc-4.9 version, this seems to work and everyth= ing 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 a= s well as various qemu things and also newer kernel releases.

 

Is this the preferred way to integrate the linaro to= olchain into poky? Can anybody share their experience? I find various prese= ntations and snippets about this topic, but nothing is complete.=

How do I create a SDK distribution which does not fe= ature 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

--_000_c0fe5ddbf4bb4b3491dcc6e92bb88602chdua14duagonads_--