[U-Boot-Users] M5282EVB compilation errors

Marco Cavallini arm.linux at koansoftware.com
Thu Jan 24 00:03:12 CET 2008


Liew Tsi Chung ha scritto:
> Marco,
> 
>> I'm trying to build u-boot-1.1.6 for ColdFire 5282 but I face to 
>> the following error ( using gcc version 2.95.3 20010315 m68k-elf-
>> tools-20031003.sh )
> 
> Your compiler is out-of-date, please goto
> http://www.codesourcery.com/gnu_toolchains/coldfire/download.html to
> download the latest compiler.
> 
> 
>> Seems that everybody use dBUG+CoLilo with this cpu, so I wonder 
>> if it is u-boot-1.1.6 for ColdFire 5282 a good choice because I'd 
>> like to use it.
> 
> No. Please use the latest u-boot version. There are many changes since
> then.
> 
> Thanks.
> 
> Regards,
> TsiChung

Thank you for answering.
Now Im'using u-boot-1.3.1 and
freescale-coldfire-4.2-47-m68k-elf-i686-pc-linux-gnu.tar.bz2
(or freescale-coldfire-4.2-47-m68k-uclinux-i686-pc-linux-gnu.tar.bz2)

I have again errors.
Which u-boot and m68k-uclinux version are you using ?

make -C cpu/mcf52x2 start.o
make[1]: Entering directory `/home/koan/u-boot/u-boot-1.3.1/cpu/mcf52x2'
/opt/ktch/freescale-coldfire-4.2/bin/m68k-elf-gcc  -D__ASSEMBLY__ -g 
-Os   -ffixed-d7 -msep-data -D__KERNEL__ -DTEXT_BASE=0xFFE00000 
-I/home/koan/u-boot/u-boot-1.3.1/include -fno-builtin -ffreestanding 
-nostdinc -isystem 
/opt/ktch/freescale-coldfire-4.2/bin/../lib/gcc/m68k-elf/4.2.1/include 
-pipe  -DCONFIG_M68K -D__M68K__ -mcpu=5282 -c -o start.o start.S
start.S: Assembler messages:
start.S:171: Error: operands mismatch -- statement `movec %d0,%RAMBAR0' 
ignored
make[1]: *** [start.o] Error 1
make[1]: Leaving directory `/home/koan/u-boot/u-boot-1.3.1/cpu/mcf52x2'
make: *** [cpu/mcf52x2/start.o] Error 2

TIA

/marco




More information about the U-Boot mailing list