[U-Boot-Users] Cross compiling problem of u-boot-1.1.1 on powerpc850

flab zsuly at hotmail.com
Wed Oct 27 10:37:28 CEST 2004


Hello everyone,
I am porting uboot1.1.1 on my powerpc850 board. With the reference files of TQM850L board, I changed some configuration settings and flash driver. But there is a problem when I use cross compiling.

/*********************************/ 
/LinuxPPC/CDK/bin/powerpc-linux-gcc -g  -Os   -fPIC -ffixed-r14 -meabi -D__KERNEL__ -DTEXT_BASE=0x10000000 -I/root/u-boot-1.1.1/include -fno-builtin -ffreestanding -nostdinc -isystem /LinuxPPC/CDK/lib/gcc-lib/powerpc-linux/2.95.2/include -pipe  -DCONFIG_PPC -D__powerpc__ -DCONFIG_8xx -ffixed-r2 -ffixed-r29 -mstring -mcpu=860 -msoft-float -Wall -Wstrict-prototypes -g  -Os   -fPIC -ffixed-r14 -meabi -D__KERNEL__ -DTEXT_BASE=0x10000000 -I/root/u-boot-1.1.1/include -fno-builtin -ffreestanding -nostdinc -isystem /LinuxPPC/CDK/lib/gcc-lib/powerpc-linux/2.95.2/include -pipe  -DCONFIG_PPC -D__powerpc__ -DCONFIG_8xx -ffixed-r2 -ffixed-r29 -mstring -mcpu=860 -msoft-float -I.. -Bstatic -T /root/u-boot-1.1.1/board/tqm8xx/u-boot.lds -Ttext 0x10000000  -n  hello_world.c   -o hello_world
powerpc-linux-gcc: 0x10000000: ?????????
/LinuxPPC/CDK/powerpc-linux/bin/as:??"-n"?????
In file included from /root/u-boot-1.1.1/include/linux/posix_types.h:46,
                 from /root/u-boot-1.1.1/include/linux/types.h:8,
                 from /root/u-boot-1.1.1/include/common.h:37,
                 from hello_world.c:24:
/root/u-boot-1.1.1/include/asm/posix_types.h:13: output pipe has been closed
cpp: output pipe has been closed
powerpc-linux-gcc: file path prefix `static' never used
make[1]: *** [hello_world] Error 1
make[1]: Leaving directory `/root/u-boot-1.1.1/examples'
make: *** [examples] Error 2

/******************************************/
I changed the setting of flash_base,and I don't know  that if I have to change somewhere in u-boot.lds.

Any kind of guidance is appreciated.
Best Regards

Flab
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20041027/286ab879/attachment.htm 


More information about the U-Boot mailing list