Cross compiling problem of uboot1.1.1 on powerpc850

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

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__K
ERNEL__ -DTEXT_BASE=0x10000000 -I/root/u-boot-1.1.1/include -fno-builtin -ff
reestanding -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 -mcpu86%0 -msoft-f
loat -Wall -Wstrict-prototypes -g  -Os   -fPIC -ffixed-r14 -meabi -D__KERNEL
__ -DTEXT_BASE=0x10000000 -I/root/u-boot-1.1.1/include -fno-builtin -ffreest
anding -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 -mcpu86%0 -msoft-f
loat -I.. -Bstatic -T /root/u-boot-1.1.1/board/tqm8xx/ -Ttext
0x10000000  -n  hello_world.c   -o hello_world
powerpc-linux-gcc: 0x10000000: ?????????
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

Any kind of guidance is appreciated.
Best Regards


Site Timeline