Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Thiemo Seufer <ths@networkno.de>
To: saravanan <sar_van81@yahoo.co.in>
Cc: linux-mips@linux-mips.org
Subject: Re: yamon on DBAU1200
Date: Thu, 12 Jul 2007 12:46:30 +0100	[thread overview]
Message-ID: <20070712114630.GA30622@networkno.de> (raw)
In-Reply-To: <985016.94566.qm@web94311.mail.in2.yahoo.com>

saravanan wrote:
> hi,
> 
> has anyone compiled yamon bootloader ? i tried to compile yamon bootloader (yamon-0227.zip) which came in along with my board -DBAU1200. but i was not successful. the following is the error :
> 
> suse:/home/alchemy/ALCHEMY/YAMON/02.27/yamon/bin # make
> rm -f ./EL/comptime.o ./EB/comptime.o
> mipsel-linux-uclibc-gcc -G 0 -mips32 -mno-abicalls -fno-pic -D_32_ -c -g -O2 -Wimplicit -Wformat '-D_REVMAJ_="02"' '-D_REVMIN_="27GDB1200"' -I./../include -I./../arch/include   -DDB1200_CONFIG=1 -D_ASSEMBLER_ -EL -DEL -o reset.o ./../init/reset/reset.S
> mipsel-linux-uclibc-gcc: unrecognized option `-EL'

Your crosscompiler is broken. ISTR there was a bug in some gcc versions
where the compiler failed to accept its default endian option.

> mipsel-linux-uclibc-ld -G 0 -T ./link/link.xn -o ./reset-02.27GDB1200.elf -Map ./reset-02.27GDB1200.map --oformat elf32-littlemips  reset.o
> mipsel-linux-uclibc-ld: target elf32-littlemips not found
> make: *** [reset-02.27GDB1200.elf] Error 1

The source expects the old object format, for reasonably modern
toolchains it's now elf32-tradlittlemips.

> does yamon have support for producing image in little endian format ?

At least the version I know of supports both endian modes from a single
binary image. I don't know if that feature is also present in the AU1200
version.


Thiemo

      reply	other threads:[~2007-07-12 11:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-12  7:03 yamon on DBAU1200 saravanan
2007-07-12 11:46 ` Thiemo Seufer [this message]

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=20070712114630.GA30622@networkno.de \
    --to=ths@networkno.de \
    --cc=linux-mips@linux-mips.org \
    --cc=sar_van81@yahoo.co.in \
    /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