[U-Boot] [PATCH V3] BOOT: Add "bootz" command to boot Linux zImage
Wolfgang Denk
wd at denx.de
Tue Mar 13 05:25:29 CET 2012
Dear Marek Vasut,
In message <201203130113.19092.marex at denx.de> you wrote:
>
> > + zi = (struct zimage_header *)images->ep;
> > +
> > + if (zi->zi_magic != LINUX_ARM_ZIMAGE_MAGIC) {
>
> This gave me an idea ... this might be how to check for zImage inside bootm and
> be done with it. Simply squash those two together.
Hm... but this must not be the only test, then, or you will run the
risk of false positives...
> > Do we have to care about endianess here?
>
> We should make bootz arm-specific until more people (with different arches) step
> up and verify it works for them.
NAK. Please implement in an architecture independent way right from
the beginning.
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 only perfect science is hind-sight.
More information about the U-Boot
mailing list