[U-Boot-Users] atmel at91sam926Xek would not build

Junior ejr at inbox.com
Wed Mar 14 04:00:30 CET 2007


By default the atmel patch cross compiler is specified as 
arm-softfloat-linux-gnu- instead of arm-linux-

I wouldn't have problem except that I get various compile errors when I use crosstools and uclibc toolchain.
I've been using the latter for some time now and never had problems. 
However, with the atmel at91sam926x ports (and my first shot at atmel SoCs) I get the following error FP error:

/arm-gcc3.4-uclibc0.9.28/bin/sbox-arm-linux-uclibc-ld: ERROR: arm-gcc3.4-uclibc0.9.28/lib/gcc/arm-linux-uclibc/3.4.6/libgcc.a(_clz.oS) uses hardware FP, whereas u-boot uses software FP

with other toolchains, including gcc-4.1-uclibc, I get a this error from the get-go:

cc1: error: unrecognized command line option "-mapcs-32"
string.c:0: error: bad value (arm926ejs) for -mtune= switch
cc1: error: unrecognized command line option "-mapcs-32"
complex.c:0: error: bad value (arm926ejs) for -mtune= switch

Since I have compiled various uboot sources from 1.1.2 to 1.2.0 with the same uclibc cross compiler, I'm thinking it's something with the atmel port.
Unfortunately, I have only been able to get a patch for 1.1.5 and from what I understand, it's the latest.

Have anyone had this problem before?
Does anyone have a fix for it?

Much thanks.




More information about the U-Boot mailing list