Re: yamon on DBAU1200

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux