Cross compiling problem of uboot1.1.1 on powerpc850

Cross compiling problem of uboot1.1.1 on powerpc850

Post by flab » Thu, 28 Oct 2004 15:42:47



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 -mcpu=860 -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 -mcpu=860 -msoft-f
loat -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

 
 
 

1. 1.1.8x, 1.1.9x SMTP Problem

This is for you kernel developers ... I'm running on a 486/66, IDE disk
and Adaptec 1542cf for CD-ROM, kernel with PPP, SLIP, & on Ethernet.
With kernels up to 1.1.88, all is well ... but with 1.1.89 and later,
when I boot up, I get the following errors when sendmail tries to start:

Feb 24 13:11:53 spc280 sendmail[349]: problem creating SMTP socket
Feb 24 13:11:58 spc280 sendmail[349]: NOQUEUE: SYSERR(root): getrequests:
                       cannot bind: Address already in use

I have tried Berkeley Sendmail 8.6.9 and 8.6.10.

Is this a known problem?

Thanks in advance,
Bill Heiser

--
These are my opinions, not those of my employer.

2. conflicing I/O ports

3. GIMP 1.1 and KDE 1.1 problem

4. performance and networking

5. 1.1.9x and msdos filesystem compile problems

6. can't ping with two NICs

7. problems compiling kdevelop 1.1

8. Setting up Pine

9. ncurses4.2/egcs1.1.1/glibc2.1 compile problem

10. WebStone 1.1 - Solaris 2.5 - Compile problems

11. Problems compiling kdelibs-1.1.1

12. Problem compiling qt-x11-2.1.1 !

13. Compiling XFree-3.1.1 problem