* [U-Boot-Users] Wierd assembler error
@ 2007-06-03 21:15 Vandra Akos
2007-06-04 20:09 ` Zachary P. Landau
0 siblings, 1 reply; 2+ messages in thread
From: Vandra Akos @ 2007-06-03 21:15 UTC (permalink / raw)
To: u-boot
I am trying to build U-Boot 1.2.0 for a kb9202 board, but it gives a wierd assembler error:
akos at akosv:~/ARM/bootldr/u-boot-1.2.0$ make kb9202_config
Configuring for kb9202 board...
akos at akosv:~/ARM/bootldr/u-boot-1.2.0$ make CROSS_COMPILE=arm-linux-
for dir in tools examples post post/cpu ; do make -C $dir _depend ; done
make[1]: Entering directory `/home/akos/ARM/bootldr/u-boot-1.2.0/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/akos/ARM/bootldr/u-boot-1.2.0/tools'
make[1]: Entering directory `/home/akos/ARM/bootldr/u-boot-1.2.0/examples'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/akos/ARM/bootldr/u-boot-1.2.0/examples'
make[1]: Entering directory `/home/akos/ARM/bootldr/u-boot-1.2.0/post'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/akos/ARM/bootldr/u-boot-1.2.0/post'
make[1]: Entering directory `/home/akos/ARM/bootldr/u-boot-1.2.0/post/cpu'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/akos/ARM/bootldr/u-boot-1.2.0/post/cpu'
make -C tools all
make[1]: Entering directory `/home/akos/ARM/bootldr/u-boot-1.2.0/tools'
gcc -Wall -pedantic -idirafter /home/akos/ARM/bootldr/u-boot-1.2.0/include -idirafter /home/akos/ARM/bootldr/u-boot-1.2.0/include2 -idirafter /home/akos/ARM/bootldr/u-boot-1.2.0/include -DTEXT_BASE=0x21f00000 -DUSE_HOSTCC -O -c -o img2srec.o img2srec.c
gcc -Wall -pedantic -idirafter /home/akos/ARM/bootldr/u-boot-1.2.0/include -idirafter /home/akos/ARM/bootldr/u-boot-1.2.0/include2 -idirafter /home/akos/ARM/bootldr/u-boot-1.2.0/include -DTEXT_BASE=0x21f00000 -DUSE_HOSTCC -O -o img2srec img2srec.o
strip img2srec
(..... blah blah blah blah.... )
make[1]: Leaving directory `/home/akos/ARM/bootldr/u-boot-1.2.0/post/cpu'
make -C cpu/arm920t start.o
make[1]: Entering directory `/home/akos/ARM/bootldr/u-boot-1.2.0/cpu/arm920t'
arm-linux-gcc -D__ASSEMBLY__ -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x21f00000 -I/home/akos/ARM/bootldr/u-boot-1.2.0/include -fno-builtin -ffreestanding -nostdinc -isystem /home/akos/ARM/tools/lib/gcc/arm-linux/4.0.2/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mabi=apcs-gnu -c -o start.o start.S
start.S: Assembler messages:
start.S:185: Error: invalid constant (20200) after fixup
start.S:375: Error: invalid constant (28200) after fixup
start.S:376: Error: invalid constant (28200) after fixup
start.S:381: Error: invalid constant (28200) after fixup
start.S:382: Error: invalid constant (28200) after fixup
start.S:387: Error: invalid constant (28200) after fixup
start.S:388: Error: invalid constant (28200) after fixup
start.S:393: Error: invalid constant (28200) after fixup
start.S:394: Error: invalid constant (28200) after fixup
start.S:399: Error: invalid constant (28200) after fixup
start.S:400: Error: invalid constant (28200) after fixup
start.S:424: Error: invalid constant (28200) after fixup
start.S:425: Error: invalid constant (28200) after fixup
start.S:430: Error: invalid constant (28200) after fixup
start.S:431: Error: invalid constant (28200) after fixup
make[1]: *** [start.o] Error 1
make[1]: Leaving directory `/home/akos/ARM/bootldr/u-boot-1.2.0/cpu/arm920t'
make: *** [cpu/arm920t/start.o] Error 2
Can you help me with this please?
Thanks in advance,
Akos Vandra
_________________________________________________________________________________
How would you spend $50,000 to create a more sustainable environment in Australia? Go to Yahoo!7 Answers and share your idea.
http://advision.webevents.yahoo.com/aunz/lifestyle/answers/y7ans-babp_reg.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] Wierd assembler error
2007-06-03 21:15 [U-Boot-Users] Wierd assembler error Vandra Akos
@ 2007-06-04 20:09 ` Zachary P. Landau
0 siblings, 0 replies; 2+ messages in thread
From: Zachary P. Landau @ 2007-06-04 20:09 UTC (permalink / raw)
To: u-boot
[snip]
> start.S:185: Error: invalid constant (20200) after fixup
[snip]
> Can you help me with this please?
Try googling on it. ARMs have certain rules about which constants
they can reference directly. If you haven't changed any code in
start.S, yet it is still giving the error, see what constant it is
referencing. Maybe you provided a constant in your board header file
that it is trying to use directly.
--
Zachary P. Landau <kapheine@gmail.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-06-04 20:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-03 21:15 [U-Boot-Users] Wierd assembler error Vandra Akos
2007-06-04 20:09 ` Zachary P. Landau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox