AnsweredAssumed Answered

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

Question asked by Manjula Rajesh on Sep 29, 2015
Latest reply on Oct 6, 2015 by Manjula Rajesh

Want to generate u-boot.bin using toolchain by cross-compiling separately,instead of of using bitbake.

 

Following commands are tried by coping source code from:

QorIQ-SDK-V1.7-20141218-yocto/build_t1040rdb-64b_release/tmp/work/t1040rdb_64b-fsl-linux/u-boot-qoriq/2014.07+fslgit-r0/git

 

ARCH  & CROSS-COMPILE are set properly

 

$ make T1040RDB_config

Configuring for T1040RDB - Board: T104xRDB, Options: PPC_T1040,T1040RDB

 

 

make all

  GEN     include/autoconf.mk.dep

cc1: error: -mcall not supported in this configuration

cc1: error: -mrelocatable not supported in this configuration

cc1: error: -meabi not supported in this configuration

  GEN     include/autoconf.mk

cc1: error: -mcall not supported in this configuration

cc1: error: -mrelocatable not supported in this configuration

cc1: error: -meabi not supported in this configuration

  CHK     include/config/uboot.release

  CHK     include/generated/version_autogenerated.h

  CHK     include/generated/timestamp_autogenerated.h

  UPD     include/generated/timestamp_autogenerated.h

  CC      lib/asm-offsets.s

lib/asm-offsets.c:1:0: error: -mcall not supported in this configuration

/*

^

lib/asm-offsets.c:1:0: error: -mrelocatable not supported in this configuration

lib/asm-offsets.c:1:0: error: -meabi not supported in this configuration

make[1]: *** [lib/asm-offsets.s] Error 1

make: *** [prepare0] Error 2

 

 

I am getting the above errors,

please provide some help.

 

regards,

manjula

Outcomes