From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] MIPS, little endian, supported cross tool versions?
Date: Wed, 07 Apr 2004 15:28:48 +0200 [thread overview]
Message-ID: <20040407132853.683BDC133F@atlas.denx.de> (raw)
In-Reply-To: Your message of "Wed, 07 Apr 2004 14:58:50 +0200." <316F79677E35D411B196001083CFC2DA01A6D9D2@ganymed.bln.advaoptical.com>
In message <316F79677E35D411B196001083CFC2DA01A6D9D2@ganymed.bln.advaoptical.com> you wrote:
>
> I'm trying to port U-Boot 1.0.0 to a new board containing a
> MIPS 5Kf core. After adjusting the compiler flags / linker scripts
> for little-endian, I run into these errors, compiling a RAM based
> version
> first:
>
> mipsel-uclibc-gcc -Wa,-gstabs -D__ASSEMBLY__ -g -Os -D__KERNEL__
> -DTEXT_BASE=0x80100000
> -I/opt/work/fw/bootloader/u-boot-1.0.0.work/include
> -fno-builtin -ffreestanding -nostdinc -isystem
> /opt/toolchains/toolchain_mipsel/lib/gcc-lib/mipsel-linux/3.3.1/include
> -pipe -DCONFIG_MIPS -D__MIPS__ -mips2 -EL -mabicalls -c -o start.o
> /opt/work/fw/bootloader/u-boot-1.0.0.work/cpu/mips/start.S
> mipsel-uclibc-gcc: unrecognized option `-EL'
It seems obvious that your tools and or compiler options are broken
and/or misconfigured.
Where is this "-mips2 -EL" stuff coming from? You don't find this in
U-Boot.
> Is my setup doomed to fail or may I get a working bootloader with some
> reasonable effort?
This depends on your definition of "reasonable" ;-)
> (I may stick to my old bootloader as well)
Obviously this is a tool problem first. I guess you will need to fix
this anyway, or you will run into the same problems later when you
want to compile your OS kernel and/or applications.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
If programming was easy, they wouldn't need something as complicated
as a human being to do it, now would they?
- L. Wall & R. L. Schwartz, _Programming Perl_
next prev parent reply other threads:[~2004-04-07 13:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-07 12:58 [U-Boot-Users] MIPS, little endian, supported cross tool versions? Jörg Albert
2004-04-07 13:28 ` Wolfgang Denk [this message]
2004-04-09 4:22 ` Masami Komiya
-- strict thread matches above, loose matches on Subject: below --
2004-04-08 6:50 Friedrich, Lars
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=20040407132853.683BDC133F@atlas.denx.de \
--to=wd@denx.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.