<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1476" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello everyone,<BR>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.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial size=2>/*********************************/
<BR>/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<BR>powerpc-linux-gcc: 0x10000000:
?????????<BR>/LinuxPPC/CDK/powerpc-linux/bin/as:??"-n"?????<BR>In file included
from
/root/u-boot-1.1.1/include/linux/posix_types.h:46,<BR>
from
/root/u-boot-1.1.1/include/linux/types.h:8,<BR>
from
/root/u-boot-1.1.1/include/common.h:37,<BR>
from hello_world.c:24:<BR>/root/u-boot-1.1.1/include/asm/posix_types.h:13:
output pipe has been closed<BR>cpp: output pipe has been
closed<BR>powerpc-linux-gcc: file path prefix `static' never used<BR>make[1]:
*** [hello_world] Error 1<BR>make[1]: Leaving directory
`/root/u-boot-1.1.1/examples'<BR>make: *** [examples] Error 2</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial size=2>/******************************************/<BR>I
changed the setting of flash_base,and I don't know that if I have to
change somewhere in u-boot.lds.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any kind of guidance is appreciated.<BR>Best
Regards</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial size=2>Flab</FONT></DIV></BODY></HTML>