All of lore.kernel.org
 help / color / mirror / Atom feed
From: Masami Komiya <mkomiya@sonare.it>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] MIPS, little endian, supported cross tool versions?
Date: Fri, 09 Apr 2004 13:22:43 +0900	[thread overview]
Message-ID: <40762513.2090001@sonare.it> (raw)
In-Reply-To: 316F79677E35D411B196001083CFC2DA01A6D9D2@ganymed.bln.advaoptical.com

Hi J?rg,

I'm using U-BOOT on MIPS little-endian machines (R5000 and R4000)!!

U-BOOT's environment does not support mips little-endian,
but it is easy to change for little-endian.

Please look my small patch attached.

Also I recommend MIPS SDE as the toolchains introduced at following URL.

http://www.linux-mips.org/toolchain.html

Masami Komiya


J?rg Albert wrote:
> Hi all,
> 
> 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'
> /opt/work/fw/bootloader/u-boot-1.0.0.work/cpu/mips/start.S: Assembler
> messages:
> /opt/work/fw/bootloader/u-boot-1.0.0.work/cpu/mips/start.S:242: Error:
> Cannot branch to undefined symbol.
> /opt/work/fw/bootloader/u-boot-1.0.0.work/cpu/mips/start.S:247: Error:
> Cannot branch to undefined symbol.
> /opt/work/fw/bootloader/u-boot-1.0.0.work/cpu/mips/start.S:259: Error:
> Cannot branch to undefined symbol.
> 
> cross gcc version is 3.3.1, gas "2.1.4.90.0.5 20030722".
> 
> I couldn't find any hints on recommended tools for the MIPS port of U-Boot
> in the docs.
> 
> Is my setup doomed to fail or may I get a working bootloader with some
> reasonable effort?
> (I may stick to my old bootloader as well)
> 
> TIA.
> 
> /J?rg

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: u-boot-r5000-mipsel-mk.patch
Url: http://lists.denx.de/pipermail/u-boot/attachments/20040409/988bc39c/attachment.txt 

  parent reply	other threads:[~2004-04-09  4:22 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
2004-04-09  4:22 ` Masami Komiya [this message]
  -- 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=40762513.2090001@sonare.it \
    --to=mkomiya@sonare.it \
    --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.