Hi,
Im getting the following error while compiling the u-boot source code for t4240rdb-64
LD examples/standalone/libstubs.o
LD examples/standalone/hello_world
powerpc64-fsl-linux-ld.bfd: skipping incompatible /opt/fsl-qoriq-64/2.0/sysroots/ppc64e6500-fsl-linux/usr/lib64/powerpc64-fsl-linux/4.9.2/libgcc.a when searching for -lgcc
powerpc64-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
Use the following command sequence for install u-boot source code:
bitbake -c cleansstate u-boot
bitbake -c patch u-boot // source of the u-boot
The following command sequence was used for u-boot compiling for the T4240rdb board.
in the folloing folder:
QorIQ-SDK-V2.0-20160527-yocto/build_t4240rdb/tmp/deploy/sdk
in the following folder:
/opt/fsl-qoriq/2.0
/QorIQ-SDK-V2.0-20160527-yocto/build_t4240rdb/tmp/work/t4240rdb-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/git
Issue the following commands:
See the configuration files in the /configs folder.