[U-Boot-Users] M5282EVB compilation errors
Marco Cavallini
arm.linux at koansoftware.com
Wed Jan 23 16:18:30 CET 2008
Hi,
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 )
a - string.o
a - vsprintf.o
a - zlib.o
make[1]: Leaving directory `/home/koan/u-boot/u-boot-1.1.6/lib_generic'
make -C board/m5282evb/
make[1]: Entering directory `/home/koan/u-boot/u-boot-1.1.6/board/m5282evb'
m68k-elf-gcc: m5282evb.o: No file or directory
m68k-elf-gcc: flash.o: No file or directory
make[1]: *** No rule to make target `.depend', needed by
`libm5282evb.a'. Stop.
make[1]: Leaving directory `/home/koan/u-boot/u-boot-1.1.6/board/m5282evb'
make: *** [board/m5282evb/libm5282evb.a] Error 2
I tested also using m68k-uclinux-tools-20061214.sh without success.
a - string.o
a - complex.o
make[1]: Leaving directory `/home/koan/u-boot/u-boot-1.1.6/post/cpu'
make -C cpu/mcf52x2 start.o
make[1]: Entering directory `/home/koan/u-boot/u-boot-1.1.6/cpu/mcf52x2'
m68k-uclinux-gcc -D__ASSEMBLY__ -g -Os -ffixed-d7 -msep-data
-D__KERNEL__ -DTEXT_BASE=0x20000
-I/home/koan/u-boot/u-boot-1.1.6/include -fno-builtin -ffreestanding
-nostdinc -isystem /usr/local/lib/gcc/m68k-uclinux/4.1.1/include -pipe
-DCONFIG_M68K -D__M68K__ -m5307 -c -o start.o start.S
start.S: Assembler messages:
start.S:442: Fatal error: Tried to convert PC relative conditional
branch to absolute jump
make[1]: *** [start.o] Error 1
make[1]: Leaving directory `/home/koan/u-boot/u-boot-1.1.6/cpu/mcf52x2'
make: *** [cpu/mcf52x2/start.o] Error 2
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.
Maybe I'm missing something or I'm using the wrong toolchain, any hint
about how to build this will be greatly appreciated.
TIA
/marco
More information about the U-Boot
mailing list