[U-Boot-Users] Re: MIPS LE build problems
Matej Kupljen
matej.kupljen at ultra.si
Wed Aug 10 11:13:26 CEST 2005
Hi
> > But, this way you need two toolchains :-(
>
> Two - or one that can be called using different names (like the ELDK
> does).
Different names?
What about default endianness?
This is in the mipsel-linux-gcc -dumpspecs:
*multilib_defaults:
EL mips1 mabi=32
And in the mips-linux-gcc -dumpspecs:
*multilib_defaults:
EB mips1 mabi=32
> Ummm... How is this handled in the Linux kernel?
In .config:
CONFIG_CPU_LITTLE_ENDIAN=y
or
CONFIG_CPU_BIG_ENDIAN=y
Actually, when you're building toolchains for MIPS with crosstool, the
difference between the mipsel(EL) and mips(BE) is in kernel config file,
which sets the endianness for the toolchain.
BR,
Matej
More information about the U-Boot
mailing list