public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Question about big-endian for u-boot
@ 2009-07-27  1:38 patrick_ye at ulinkcom.com
  2009-07-27 13:25 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: patrick_ye at ulinkcom.com @ 2009-07-27  1:38 UTC (permalink / raw)
  To: 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] Question about big-endian for u-boot
  2009-07-27  1:38 [U-Boot] Question about big-endian for u-boot patrick_ye at ulinkcom.com
@ 2009-07-27 13:25 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2009-07-27 13:25 UTC (permalink / raw)
  To: u-boot

Dear patrick_ye at ulinkcom.com,

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-27 13:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-27  1:38 [U-Boot] Question about big-endian for u-boot patrick_ye at ulinkcom.com
2009-07-27 13:25 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox