[U-Boot-Users] kb9202 build error

Matthias Kaehlcke matthias.kaehlcke at gmail.com
Sat Jun 2 19:55:59 CEST 2007


hi,

i'm trying to build u-boot v1.1.6 for the kwikbyte kb9202 board. the
build fails with an error message in assembly code:

make kb9202_config
make CROSS_COMPILE=arm-linux- all
...
arm-linux-gcc  -D__ASSEMBLY__ -g  -Os   -fno-strict-aliasing
-fno-common -ffixed-r8 -msoft-float  -D__KERNEL__
-DTEXT_BASE=0x21f00000
-I/data/private/prog/embedded/kb9202/u-boot-1.1.6/include -fno-builtin
-ffreestanding -nostdinc -isystem
/data/private/prog/embedded/toolchains/eldk_4.1/usr/bin/../lib/gcc/arm-linux/4.0.0/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 -- `sub r0,r0,#(0x0200+128*1024)'
start.S:375: Error: invalid constant -- `sub
r13,r13,#((32*1024)+(0x0200+128*1024))'
start.S:376: Error: invalid constant -- `sub
r2,r2,#((32*1024)+(0x0200+128*1024))'
start.S:381: Error: invalid constant -- `sub
r13,r13,#((32*1024)+(0x0200+128*1024))'
start.S:382: Error: invalid constant -- `sub
r2,r2,#((32*1024)+(0x0200+128*1024))'
start.S:387: Error: invalid constant -- `sub
r13,r13,#((32*1024)+(0x0200+128*1024))'
start.S:388: Error: invalid constant -- `sub
r2,r2,#((32*1024)+(0x0200+128*1024))'
start.S:393: Error: invalid constant -- `sub
r13,r13,#((32*1024)+(0x0200+128*1024))'
start.S:394: Error: invalid constant -- `sub
r2,r2,#((32*1024)+(0x0200+128*1024))'
start.S:399: Error: invalid constant -- `sub
r13,r13,#((32*1024)+(0x0200+128*1024))'
start.S:400: Error: invalid constant -- `sub
r2,r2,#((32*1024)+(0x0200+128*1024))'
start.S:424: Error: invalid constant -- `sub
r13,r13,#((32*1024)+(0x0200+128*1024))'
start.S:425: Error: invalid constant -- `sub
r2,r2,#((32*1024)+(0x0200+128*1024))'
start.S:430: Error: invalid constant -- `sub
r13,r13,#((32*1024)+(0x0200+128*1024))'
start.S:431: Error: invalid constant -- `sub
r2,r2,#((32*1024)+(0x0200+128*1024))'
make[1]: *** [start.o] Error 1
make[1]: Leaving directory
`/data/private/prog/embedded/kb9202/u-boot-1.1.6/cpu/arm920t'
make: *** [cpu/arm920t/start.o] Error 2

the toolchain is eldk v4.1, the behaviour with eldk-uclibc v4.1 is the
same. the host system is debian etch.

any idea what could be going wrong?

thanks

-- 
Matthias Kaehlcke
Linux Application Developer
Barcelona

              You can't separate peace from freedom because no
               one can be at peace unless he has his freedom
                              (Malcolm X)
                                                                 .''`.
    using free software / Debian GNU/Linux | http://debian.org  : :'  :
                                                                `. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4                  `-




More information about the U-Boot mailing list