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

Otavio Salvador otavio at ossystems.com.br
Wed Nov 5 13:04:58 PST 2014


Hello,

On Wed, Nov 5, 2014 at 6:43 PM, Guillaume Fournier
<gfournier at brioconcept.com> wrote:
> To try and figure out where the problem resides, I started from scratch.
>
> 1) got latest BSP: repo init -u
> https://github.com/Freescale/fsl-community-bsp-platform -b dizzy
> 2) modified local.conf so MACHINE is imx6dlsabresd
> 3) On "bitbake meta-toolchain", I got these QA warnings:
> WARNING: QA Issue: gcc-cross-canadian-arm: found library in wrong location:
> /opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnuea
> bi/gcc/arm-poky-linux-gnueabi/4.9.1/liblto_plugin.so
> gcc-cross-canadian-arm: found library in wrong location:
> /opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnuea
> bi/gcc/arm-poky-linux-gnueabi/4.9.1/liblto_plugin.so.0.0.0
> gcc-cross-canadian-arm: found library in wrong location:
> /opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnuea
> bi/gcc/arm-poky-linux-gnueabi/4.9.1/liblto_plugin.so.0 [libdir]
>
> I'm not sure these are relevant to my problem so I kept on going.

Nothing to worry much above.

> 4) got latest u-boot: git clone https://github.com/Freescale/u-boot-fslc.git
> 5) started a fresh shell, ran toolchain environment script, cd to
> u-boot-fslc

Run the environment script raises an alarm... did you use:

source environment-...?

> 6) make LDFLAGS="" CC="$CC" mx6dlsabresd_config
> 7) make LDFLAGS="" CC="$CC" u-boot.im

Please try:

unset LDFLAGS
make mx6dlsabresd_config
make u-boot.imx

> 8) Programmed u-boot.imx on SD card: cfimager -f u-boot.imx -raw -offset
> 1024 -d d

I never used cfimager (as I mainly use Linux for development) so it is
a guess, please check:

cfimager -f u-boot.imx -raw -offset 0x400 -d d

It might be using hexa by default. Total guess so if you tried before,
just ignore it.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list