[U-Boot] [PATCH V6] BOOT: Add "bootz" command to boot Linux zImage on ARM

Wolfgang Denk wd at denx.de
Thu Mar 15 21:39:49 CET 2012


Dear Rob,

In message <4F62479F.8070509 at gmail.com> you wrote:
> 
> How about:
> 
> bootz <kern addr> [<fdt addr> [<initrd addr> [<initrd size>]]]

No.  We hav ebeen used for 12 years to the order first kernel address,
then ramdisk address (and a little less longer ), then dtb address.

Don't change this now, and don;t make it inconsistent for different
commands.

> I changed the order so the size can be optional without resorting to
> using a "-". Then no size means u-boot image format.
> 
> File load commands would need to set loadsize env var.

What's "loadsize"? 

> Another idea is to prepend the u-boot image header on file loading. This
> would need some way to disable the crc check and specify any other data.

CRC checking can be disabled by setting "verify" to "no" (RTFM).
The rest of the data is not really relevant here.  Also note that we
have enverything in place to compute the CRC, so you could implement a
real "mkimage" commands.  Assuming someone thinks this makes sense.

What is the problem of running this on the host?

> It would probably be hard to do without changing existing commands.

How so?

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
EMACS belongs in <sys/errno.h>: Editor too big!


More information about the U-Boot mailing list