AnsweredAssumed Answered

Build a u-boot alone for LS2084a target

Question asked by Balaji Mohan on Jul 6, 2018
Latest reply on Jul 17, 2018 by Yiping Wang

I am able to successfully build a yocto based BLUEBOX SDK and also successfully programmed a flash/SDcard image.


Now I have copied a u-boot source from BLUEBOX yocto. Now I need to build a u-boot alone.

I have done followings:

1. export CC=~/NXP_bsp/QorIQ-SDK-V2.0-20160527-yocto/build_ls2084abbmini/tmp/sysroots/x86_64-linux/usr/bin/aarch64-fsl-linux/aarch64-fsl-linux-

2. cd to u-boot src

make ARCH=arm CROSS_COMPILE=${CC} distclean
make ARCH=arm CROSS_COMPILE=${CC} ls2084abbmini_defconfig
make ARCH=arm CROSS_COMPILE=${CC} -Wl-sysroot=~/NXP_bsp/QorIQ-SDK-V2.0-20160527-yocto/build_ls2084abbmini/tmp/sysroots/x86_64-linux/usr/bin/aarch64-fsl-linux
Getting following error:
aarch64-fsl-linux-ld.bfd: cannot find -lgcc
examples/standalone/Makefile:67: recipe for target 'examples/standalone/hello_world' failed