* [U-Boot-Users] Compiling u-boot for coldfire
@ 2006-11-07 13:55 Aitor Calderón
2006-11-07 14:46 ` Jens Scharsig
0 siblings, 1 reply; 2+ messages in thread
From: Aitor Calderón @ 2006-11-07 13:55 UTC (permalink / raw)
To: u-boot
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] Compiling u-boot for coldfire
2006-11-07 13:55 [U-Boot-Users] Compiling u-boot for coldfire Aitor Calderón
@ 2006-11-07 14:46 ` Jens Scharsig
0 siblings, 0 replies; 2+ messages in thread
From: Jens Scharsig @ 2006-11-07 14:46 UTC (permalink / raw)
To: u-boot
Hello,
I use gcc 3.4.x with uboot. But If you prefer version 4.x, you sould
modify the config.mk near line 173 to:
# turn jbsr into jsr for m68k
ifeq ($(ARCH),m68k)
ifeq ($(findstring 3.4,$(shell $(CC) --version)),3.4)
AFLAGS_DEBUG := -Wa,-gstabs,-S
endif
ifeq ($(findstring 4.1,$(shell $(CC) --version)),4.1)
AFLAGS_DEBUG := -Wa,-gstabs,-S
endif
endif
A missing option -S will generate this error.
Regards Jens Scharsig
Aitor Calder?n schrieb:
> 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.
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-11-07 14:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-07 13:55 [U-Boot-Users] Compiling u-boot for coldfire Aitor Calderón
2006-11-07 14:46 ` Jens Scharsig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox