[U-Boot] Question about big-endian for u-boot

Wolfgang Denk wd at denx.de
Mon Jul 27 15:25:52 CEST 2009


Dear patrick_ye at ulinkcom.com,

In message <1248658716$21135$30104770 at patrick_ye@ulinkcom.com> 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.

> 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!

Check what other BE boards are doing...

Best regards,

Wolfgang Denk

-- 
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.


More information about the U-Boot mailing list