Skip to contentSkip to conversation

"u-boot compile mystery"

U-Boot-Users venkatesh chilapur 2 participants 2 messages Mar 1, 2007

lore
Share & tools
lore
#0 lore raw

when i compiled u-boot 1.1.5 for atmel's at91sam9261-ek...initially it gave the error as -maps-32 not found...which is in config c file in the cpu/arm926ejs/at91sam9261x directory of the source code provided from timesys...
but when i deleted this string in the file and recompiled it, generated the bin file..
to my surprise it was 1kb less than original bin file...
one more modification wt i made was in the makefile..
here i changed arch CROSS_COMPILE=arm-softfloat-linux-
to armv5l-linux- because my toolchain has armv5l-linux-gcc....

but when i ported the bin file...board is not getting booted...
any reason why it is so...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20070301/91b53cdd/attachment.htm

#1 lore raw

Hello!

Quoted 5 lines · venkatesh chilapur

here i changed arch CROSS_COMPILE=arm-softfloat-linux- to armv5l-linux- because my toolchain has armv5l-linux-gcc....

but when i ported the bin file...board is not getting booted... any reason why it is so...

It's the same reason why your board wouldn't boot if you set CROSS_COMPILE to a M$ Visual Whatever compiler. ;-) It isn't sufficient to use an arbitrary compiler which has something to do with ARM and also understands GNU extensions.

Did you notice the "softfloat" in "arm-softfloat-linux-"?

With best regards
Andreas Schweigstill

Signature · 5 lines
Dipl.-Phys. Andreas Schweigstill
Schweigstill IT | Embedded Systems
Schauenburgerstra?e 116, D-24118 Kiel, Germany
Phone: (+49) 431 5606-435, Fax: (+49) 431 5606-436
Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/