From: Wolfgang Denk Date: Tue, 13 Apr 2010 09:52:56 +0200 Subject: [U-Boot] u-boot compilation for MIPS Au1x00 board In-Reply-To: <001201cadacb$dc5e8a40$951b9ec0$@Gowdar@gmobis.com> References: <001201cadacb$dc5e8a40$951b9ec0$@Gowdar@gmobis.com> Message-ID: <20100413075256.26E4C19F60@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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