public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] u-boot compilation for MIPS Au1x00 board
@ 2010-04-13  5:40 Gurumurthy Gowdar
  2010-04-13  7:52 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Gurumurthy Gowdar @ 2010-04-13  5:40 UTC (permalink / raw)
  To: u-boot

Hi all,

           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

mipsel-linux-ld:
/opt/rmi-linux/db1300/lib/gcc/mipsel-linux/4.2.4/libgcc.a(_lshrdi3.o):
endianness incompatible with that of the selected emulation

mipsel-linux-ld: failed to merge target specific data of file
/opt/rmi-linux/db1300/lib/gcc/mipsel-linux/4.2.4/libgcc.a(_lshrdi3.o)

 

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

 

My environment settings are

 

ARCH=mips

CROSS_COMPILE=mipsel-linux-

 

Am compiling for dbau1100 board.

 

But when I use u-boot 1.1.6 version am able to compile the u-boot and
creating u-boot.bin image file.

 

So please let me know what am missing.

 

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

 

Thanks & Regards

Gurumurthy Gowdar

KPIT Cummins Infosystems Ltd. | Mobile: +91 9642645725 I E-mail :
gurumurthy.gowdar at kpitcummins.com I www.kpitcummins.com 

 

Client Site - Hyundai MOBIS India Research And Development Pvt. Ltd. |1st
Floor , Survey No 5/2 & 5/3, 

Backside of NAC, Izzatnagar|(OPP. HitechCity MMTS Railway Station),
Lingampally Mandal, Hyderabad - 500081.INDIA

E-mail: Gurumurthy.Gowdar at gmobis.com

This message contains information that may be privileged or confidential and
is the property of the KPIT Cummins Infosystems Ltd. It is intended only for
the person to whom it is addressed. If you are not the intended recipient,
you are not authorized to read, print, retain copy, disseminate, distribute,
or use this message or any part thereof. If you receive this message in
error, please notify the sender immediately and delete all copies of this
message. KPIT Cummins Infosystems Ltd. does not accept any liability for
virus infected mails.

P Please don't print this email unless absolutely necessary. Save Trees !

 

 

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

* [U-Boot] u-boot compilation for MIPS Au1x00 board
  2010-04-13  5:40 [U-Boot] u-boot compilation for MIPS Au1x00 board Gurumurthy Gowdar
@ 2010-04-13  7:52 ` Wolfgang Denk
  2010-04-13  8:22   ` Gurumurthy Gowdar
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2010-04-13  7:52 UTC (permalink / raw)
  To: u-boot

Dear Gurumurthy Gowdar,

In message <001201cadacb$dc5e8a40$951b9ec0$@Gowdar@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

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

* [U-Boot] u-boot compilation for MIPS Au1x00 board
  2010-04-13  7:52 ` Wolfgang Denk
@ 2010-04-13  8:22   ` Gurumurthy Gowdar
  2010-04-13  9:25     ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Gurumurthy Gowdar @ 2010-04-13  8:22 UTC (permalink / raw)
  To: u-boot


Hi,
    Thanks for the reply.

Please let me know where I can get the latest version of ELDK for MIPS. 

I know about PowerPC (Freescale) as I have worked on  MPC82xx and MPC74xx.

Thanks & Regards
Gurumurthy Gowdar
KPIT Cummins Infosystems Ltd.| Mobile: +91 9642645725 |E-mail :
gurumurthy.gowdar at kpitcummins.com|www.kpitcummins.com 

Client Site - Hyundai MOBIS India Research And Development Pvt. Ltd. |1st
Floor , Survey No 5/2 & 5/3, 
Backside of NAC, Izzatnagar|(OPP. HitechCity MMTS Railway Station),
Lingampally Mandal, Hyderabad - 500081.INDIA
E-mail: Gurumurthy.Gowdar at gmobis.com


-----Original Message-----
From: Wolfgang Denk [mailto:wd at denx.de] 
Sent: Tuesday, April 13, 2010 1:23 PM
To: Gurumurthy Gowdar
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] u-boot compilation for MIPS Au1x00 board


Dear Gurumurthy Gowdar,

In message <001201cadacb$dc5e8a40$951b9ec0$@Gowdar@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

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

* [U-Boot] u-boot compilation for MIPS Au1x00 board
  2010-04-13  8:22   ` Gurumurthy Gowdar
@ 2010-04-13  9:25     ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2010-04-13  9:25 UTC (permalink / raw)
  To: u-boot

Dear "Gurumurthy Gowdar",

In message <000301cadae2$85b053b0$9110fb10$@Gowdar@gmobis.com> you wrote:
> 
> Please let me know where I can get the latest version of ELDK for MIPS. 

ftp://ftp.denx.de/pub/eldk/4.1/mips-linux-x86/iso/mips-2007-01-21.iso

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 computer can't tell you the emotional story. It can give you  the
exact mathematical design, but what's missing is the eyebrows.
- Frank Zappa

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

end of thread, other threads:[~2010-04-13  9:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-13  5:40 [U-Boot] u-boot compilation for MIPS Au1x00 board Gurumurthy Gowdar
2010-04-13  7:52 ` Wolfgang Denk
2010-04-13  8:22   ` Gurumurthy Gowdar
2010-04-13  9: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