[U-Boot] [PATCH] ARM: Allow cross endian linux boot Part 1/1

Wolfgang Denk wd at denx.de
Mon Dec 15 23:59:18 CET 2008


Dear Stefan Althoefer,

In message <493846df.zrcPH0cFyVcoO+pI%stefan.althoefer at web.de> you wrote:
> [PATCH] ARM: Allow cross endian linux boot
> 
> This patch adds the capability to boot a little endian linux
> kernel on a big endian u-boot. This is usefull on IXP425 platform
> which is always big-endian in u-boot.
> 
> To enable crossboot, define the environment variable "crossboot". This was
> done as I found no way to pass the crossboot flag into 
> do_bootm_linux() through the command line.

Such a feature must be made configurable, so that it not blows up the
memory footprint on systems that will never need it.

In the long term, you might consider using FIT images, and encoding
the needed logic there.

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
"In matrimony, to hesitate is sometimes to be saved."        - Butler


More information about the U-Boot mailing list