[PATCH 08/11] kexec-bzImage: Support for loading bzImage using 64bit entry

H. Peter Anvin hpa at zytor.com
Wed Mar 5 11:40:45 EST 2014


On 03/05/2014 08:37 AM, Borislav Petkov wrote:
>>
>> If the "HdrS" (0x53726448) magic number is not found at offset 0x202,
>> the boot protocol version is "old".  Loading an old kernel, the
>> following parameters should be assumed:
>>
>>         Image type = zImage
>>         initrd not supported
>>         Real-mode kernel must be located at 0x90000.
>>
>> So if it is old version then it is zImage (and not bzImage). So pr_debug()
>> message seems to be correct that image one is trying to load is not
>> bzImage and this loader will not handle this image.
> 
> Ok, old == zImage, got it.
> 

No, old ⊂ zImage, but you can have a zImage with a newer protocol
version, too.  There are no load flags in the old protocol.

These days the old protocol is interesting mostly because of non-Linux
images using the same boot protocol.

	-hpa




More information about the kexec mailing list