Build a u-boot alone for LS2084a target

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Build a u-boot alone for LS2084a target

923件の閲覧回数
bmohan
Contributor IV

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
タグ(1)
0 件の賞賛
返信
1 返信

680件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Hello Balaji Mohan,

Please try the following commands.

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

$ unset LDFLAGS

$ make CROSS_COMPILE=aarch64-fsl-linux-  CC="aarch64-fsl-linux-gcc  --sysroot=~/NXP_bsp/QorIQ-SDK-V2.0-20160527-yocto/build_ls2084abbmini/tmp/sysroots/ls2084abbmini” LD=aarch64-fsl-linux-ld


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信