Question about big-endian for u-boot
Hi?Dear Sir:
I want to port u-boot to ARM4510 with big-endian, but I failed.
The error shows like this:
/root/usr/local/arm/3.3.2/bin/arm-linux-ld: common/libcommon.a(crc16.o)? compile with little-endian but the target is big-endian.
I have modified CFLAGS and AFLAGS by adding option ?-mbig-endian? and u-boot.lds by modifying OUTPUT-FORMAT. Some C files and assambly files are passed but only some lib failed(just like above).
Would you please give your suggestion? Thank you!
Patrick
Dear patrick_ye at ulinkcom.com,
Quoted 8 lines · In message <1248658716$21135$30104770@[email protected]> you wrote:
I want to port u-boot to ARM4510 with big-endian, but I failed.
The error shows like this:
/root/usr/local/arm/3.3.2/bin/arm-linux-ld:
common/libcommon.a(crc16.o)??
compile with little-endian but the target is big-endian.
Either you have misconfigured U-Boot, or your tool chain - or both.
Quoted 7 lines
I have modified CFLAGS and AFLAGS by adding option ??-mbig-endian?? and
u-boot.ldsby modifying OUTPUT-FORMAT. Some C files and assambly files are
passed but only some lib failed(just like above).Would you please give your suggestion? Thank you!
Check what other BE boards are doing...
Best regards,
Wolfgang Denk
Signature · 4 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The following statement is not true. The previous statement is true.