
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