linux-mips
[Top] [All Lists]

Re: yamon on DBAU1200

To: saravanan <sar_van81@yahoo.co.in>
Subject: Re: yamon on DBAU1200
From: Thiemo Seufer <ths@networkno.de>
Date: Thu, 12 Jul 2007 12:46:30 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <985016.94566.qm@web94311.mail.in2.yahoo.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <985016.94566.qm@web94311.mail.in2.yahoo.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.16 (2007-06-11)
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

<Prev in Thread] Current Thread [Next in Thread>