[U-Boot] can't build u-boot-2010.12-rc2 for at91rm9200ek

Albert ARIBAUD albert.aribaud at free.fr
Thu Dec 9 07:07:35 CET 2010


Le 09/12/2010 06:56, zzs213 a écrit :
> I download u-boot-2010.12-rc2 and make at91rm9200ek use the flowwing command
>
> make O=../build at91rm9200ek
>
> and get error message like this
>
> arm-linux-gcc   -D__ASSEMBLY__ -g  -Os   -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x10000000 -I/home/zzs/DownLoad/uboot/xx/build/include2 -I/home/zzs/DownLoad/uboot/xx/build/include -I/home/zzs/DownLoad/uboot/xx/u-boot-2010.12-rc2/include -fno-builtin -ffreestanding -nostdinc -isystem /home/zzs/work/tools/eldk4.1/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe  -DCONFIG_ARM -D__ARM__ -marm    -mabi=apcs-gnu  -mno-thumb-interwork  -march=armv4   \
>          -o /home/zzs/DownLoad/uboot/xx/build/arch/arm/cpu/arm920t/start.o start.S -c
> start.S: Assembler messages:
> start.S:251: Error: bad arguments to instruction -- `add r1,r9'
>
> It looks a illegal instruction in start.S
>
> my toolchain is eldk4.1

ELDK 4.1 seems a bit old -- 4.2 has been available for some time now and 
does not have the issue with this instruction.

If you really cannot use 4.2, then you can rewrite the instruction in 
its canonical form: 'add r1,r1,r9'.

> anybody help me!!

HTH.

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list