[U-Boot] u-boot compilation for MIPS Au1x00 board

Wolfgang Denk wd at denx.de
Tue Apr 13 09:52:56 CEST 2010


Dear Gurumurthy Gowdar,

In message <001201cadacb$dc5e8a40$951b9ec0$@Gowdar at gmobis.com> you wrote:
> 
>            I am compiling u-boot latest version for MIPS processor Au1350.
> When I compile I get the following error as mentioned below.
> 
>  
> 
> mipsel-linux-ld:
> /opt/rmi-linux/db1300/lib/gcc/mipsel-linux/4.2.4/libgcc.a(_lshrdi3.o):
> compiled for a little endian system and target is big endian

This is a tool chain issue. The tool chain is supposed to provide the
compiler's support libraries with the same endianess as the target
built requires.

> I am not using ELDK tool chain, we have customized tool chain. 

Then you know already at least one option how to solve the problem :-)

> Am compiling for dbau1100 board.

Using ELDK (mips_4KCle) I get:

$ ./MAKEALL dbau1100
Configuring for dbau1x00 board...
   text    data     bss     dec     hex filename
 125188    4904   16252  146344   23ba8 /work/wd/tmp-mips/u-boot

--------------------- SUMMARY ----------------------------
Boards compiled: 1
----------------------------------------------------------

> is there any issue with the big endian or little endian? Or I need to
> configure any settings in the dbau1x00.h configuration file?

No, this is a tool chain issue.

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
"Ja, mach' nur einen Plan,    sei nur ein grosses Licht
und mach' dann noch 'nen zweiten Plan,    geh'n tun sie beide nicht."
                                     -- Bert Brecht, Dreigroschenoper


More information about the U-Boot mailing list