[U-Boot] [PATCH V3] BOOT: Add "bootz" command to boot Linux zImage
Graeme Russ
graeme.russ at gmail.com
Tue Mar 13 01:22:57 CET 2012
Hi Marek, Wolfgang,
On Tue, Mar 13, 2012 at 11:13 AM, Marek Vasut <marex at denx.de> wrote:
> Dear Wolfgang Denk,
>
>>
>> While we are at it:
>>
>> + 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.
While we are on the subject - Do either of you think support for the x86
zimage/bzImage format should end up here in common code? Not that the x86
(b)zImage header is unique (see arch/x86/include/asm/bootparam.h) and
decompressing vmlinux out of an x86 (b)zImage is non-trivial given the
header and decompression stub
Regards,
Graeme
More information about the U-Boot
mailing list