[Top] [All Lists]

Re: yamon on DBAU1200

To: saravanan <>
Subject: Re: yamon on DBAU1200
From: Thiemo Seufer <>
Date: Thu, 12 Jul 2007 12:46:30 +0100
In-reply-to: <>
Original-recipient: rfc822;
References: <>
User-agent: Mutt/1.5.16 (2007-06-11)
saravanan wrote:
> hi,
> has anyone compiled yamon bootloader ? i tried to compile yamon bootloader 
> ( 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 ./ --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


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