public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: flab <zsuly@hotmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Cross compiling problem of u-boot-1.1.1 on powerpc850
Date: Wed, 27 Oct 2004 16:37:28 +0800	[thread overview]
Message-ID: <BAY13-DAV17WdgjTGgf0000ed7f@hotmail.com> (raw)

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 

             reply	other threads:[~2004-10-27  8:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-27  8:37 flab [this message]
2004-10-27 19:59 ` [U-Boot-Users] Cross compiling problem of u-boot-1.1.1 on powerpc850 Wolfgang Denk
2004-10-27 21:27   ` Craig Hughes
2004-10-27 22:16     ` Wolfgang Denk
2004-10-28  3:10       ` flab
2004-10-27 22:19     ` Dan Poirot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BAY13-DAV17WdgjTGgf0000ed7f@hotmail.com \
    --to=zsuly@hotmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox