* [U-Boot] Help building AT91 u-boot with Buildroot tools
@ 2008-10-08 15:13 Otto Caldwell
2008-10-10 19:48 ` Robert Schwebel
0 siblings, 1 reply; 2+ messages in thread
From: Otto Caldwell @ 2008-10-08 15:13 UTC (permalink / raw)
To: u-boot
Hello,
I'm new to this list, so please let me know if this is not the correct
list to post this...
I am porting Linux to an Atmel at91rm9200-EK board. I've built the
cross-compile tool chain using Buildroot, choosing the armeb (arm
embedded) option during the build.
I downloaded the AT91 custodian branch of u-boot from
http://git.denx.de/?p=u-boot/u-boot-at91.git;a=summary
When I attempt to compile, I get following type of errors:
armeb-linux-ld: failed to merge target specific data of file
lib_arm/libarm.a(div0.o)
armeb-linux-ld: drivers/mtd/nand_legacy/libnand_legacy.a(nand_legacy.o):
compiled for a big endian system and target is little endian
It finally stops with Error 1.
Any help is much appreciated.
Otto Caldwell
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] Help building AT91 u-boot with Buildroot tools
2008-10-08 15:13 [U-Boot] Help building AT91 u-boot with Buildroot tools Otto Caldwell
@ 2008-10-10 19:48 ` Robert Schwebel
0 siblings, 0 replies; 2+ messages in thread
From: Robert Schwebel @ 2008-10-10 19:48 UTC (permalink / raw)
To: u-boot
On Wed, Oct 08, 2008 at 10:13:04AM -0500, Otto Caldwell wrote:
> I am porting Linux to an Atmel at91rm9200-EK board.
Uhm, as far as I know, Linux works perfectly well on the EK.
> I've built the cross-compile tool chain using Buildroot, choosing the
> armeb (arm embedded) option during the build.
I don't know the buildroot cross compile scripts, but usually armeb is
arm *big endian*, which is not what you need for the 9260.
> I downloaded the AT91 custodian branch of u-boot from
> http://git.denx.de/?p=u-boot/u-boot-at91.git;a=summary
> When I attempt to compile, I get following type of errors:
> armeb-linux-ld: failed to merge target specific data of file
> lib_arm/libarm.a(div0.o)
> armeb-linux-ld: drivers/mtd/nand_legacy/libnand_legacy.a(nand_legacy.o):
> compiled for a big endian system and target is little endian
>
> It finally stops with Error 1.
For the AT91SAM9260 you need a little endian toolchain, something like
arm-v4t oder arm-v5t. You can for example use the OSELAS.Toolchain from
our website (it has a v4t toolchain).
rsc
--
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Hannoversche Str. 2, 31134 Hildesheim, Germany
Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-10 19:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-08 15:13 [U-Boot] Help building AT91 u-boot with Buildroot tools Otto Caldwell
2008-10-10 19:48 ` Robert Schwebel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox