[U-Boot-Users] Compiling u-boot for coldfire

Aitor Calderón aitor at garper-teleco.es
Tue Nov 7 14:55:02 CET 2006


Hi there.

I am trying to build u-boot for coldfire mcf52x2 CPU.
I have run "make M5282EVB_config" and "make all" but I get this error:

make[1]: Entering directory `/tmp/u-boot-1.1.6/cpu/mcf52x2'
m68k-elf-gcc  -D__ASSEMBLY__ -g  -Os   -ffixed-d7 -msep-data -D__KERNEL__ 
-DTEXT_BASE=0x20000  -I/tmp/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: Mensajes del ensamblador:
start.S:442: Error fatal: Se intentó convertir una ramificación condicional 
relativa al PC a un salto absoluto
make[1]: *** [start.o] Error 1
make[1]: Leaving directory `/tmp/u-boot-1.1.6/cpu/mcf52x2'
make: *** [cpu/mcf52x2/start.o] Error 2

the start.S message translated:

start.S: Assembler messages:
start.S:442: Fatal error: attempted to convert a conditional tree relative to 
PC into an absolut jump

I was not sure about which compiler to use, so I am using m68k-elf-gcc 4.1.1 
from last m68k-uclinux-tools. Should I use other?

I am using u-boot 1.1.6

  Thanks,
  Aitor.




More information about the U-Boot mailing list