[meta-freescale] Unable to get u-boot running on i.MX6 SABRE for Smart Devices Eval Board

Gary Thomas gary at mlbassoc.com
Thu Nov 6 09:53:36 PST 2014

On 2014-11-06 10:47, Otavio Salvador wrote:
> On Thu, Nov 6, 2014 at 3:31 PM, Guillaume Fournier
> <gfournier at brioconcept.com> wrote:
> ...
>> Long story short, to solve my problem:
>> Add the following line in the
>> environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi script:
>> export KCFLAGS="--sysroot=$SDKTARGETSYSROOT"
>> May I suggest future releases include this modification in the script ?
> Awesome! Thanks for sharing all this background information.
> I will prepare a patch for the environment script and propose it in OE-Core.

This is fallout of the recent change in OE-core to "poison the GCC sysroot"

   commit 678e8798ebe0f4fd1bd347db136f1499b8fe00c9
   Author: Richard Purdie <richard.purdie at linuxfoundation.org>
   Date:   Fri Oct 24 15:10:25 2014 +0100
     gcc: poison default sysroot path

I suspect to be 100% correct, the KCFLAGS may need other settings
besides the --sysroot, e.g. -march or -mtune

Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world

More information about the meta-freescale mailing list