AnsweredAssumed Answered

standalone compilation of u-boot for T1040 using QORIQ SDK1.9

Question asked by Javier Fileiv on Mar 8, 2016
Latest reply on Mar 9, 2016 by Pavel Chubakov


These are the step I do with the last U-boot source code from denx (git clone http://git.denx.de/u-boot.git).

 

 

make T1040RDB_config

make CROSS_COMPILE=/opt/fsl-qoriq/1.9/sysroots/i686-fslsdk-linux/usr/bin/powerpc-fsl-linux/powerpc-fsl-linux- all

 

after some building time I got this error... no idea what it is

 

  LD      examples/standalone/hello_world

/opt/fsl-qoriq/1.9/sysroots/i686-fslsdk-linux/usr/bin/powerpc-fsl-linux/powerpc-fsl-linux-ld.bfd: cannot find -lgcc

make[2]: *** [examples/standalone/hello_world] Error 1

make[1]: *** [examples/standalone] Error 2

make: *** [examples] Error 2

 

Could you give me some hint? Thanks

 

Another question... to run and debug with GDB this bootloader using qemu... what is the command to use?

 

 

Thank you, have a nice day

Outcomes