[U-Boot] Configuring U-Boot for MPC8349E in little endian mode

Wolfgang Denk wd at denx.de
Thu Jun 17 20:32:55 CEST 2010


Dear Troy Laramy,

In message <AANLkTilsq7WwysMhnl5zdZuIFULZiTwO6Qppq9POVqjR at mail.gmail.com> you wrote:
>
> I have very much the same issue...a lib I need to link to that is only
> available as built in little-endian (don't have the src, sadly).  So I am

You want to link U-Boot (on a Power Architecture system) against a
closed source, little-endian library?

YOu are aware that U-Boot is covered by the GPL, and linking against
closed-source code results in a license clash?

> trying to build u-boot for powerpc in LE.  I have added the -mlittle-endian
> and -EL to the build, but now it is failing when trying to link libgcc.a, as
> libgcc.a is built in the toolchain in BE and I'm trying to link it as LE.

The Power Architecture has a naturan byte order, and this is big
endian. I consider all attempts to make them run in LE mode a waste of
time and resources.

> Did you find some nice way around this?  All I can see is trying to build my
> own toolchain....I am using a prebuilt toolchain from EP that came, at some
> point, from the ELDK....but I'm pretty sure I don't have the src. to these
> libs.  Just hoping there is some other way.....

No source to this LE lib, no source to the tools. I would not like to
be in your position.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The evolution of the human race will not be accomplished in  the  ten
thousand  years  of  tame  animals,  but in the million years of wild
animals, because man is and will always be a wild animal.
                                              - Charles Galton Darwin


More information about the U-Boot mailing list