Skip to content

kexec-lite native zImage support#1

Open
rlippert wants to merge 2 commits intoantonblanchard:masterfrom
rlippert:zimage
Open

kexec-lite native zImage support#1
rlippert wants to merge 2 commits intoantonblanchard:masterfrom
rlippert:zimage

Conversation

@rlippert
Copy link
Copy Markdown

Based on an old patch provided by @legoater.

Lack of zImage boot support in off-the-shelf openpower boxes has been a recent pain point for us so we'd like to get this in upstream if possible.

We've been using a variant of this patch internally for a long time without any issues :)

rlippert added 2 commits May 16, 2016 16:37
Based on an original patch from Cédric Le Goater <clg@fr.ibm.com> found at:
legoater@c0f9cc7
and modified by me to store uncompressed image in memory and thus not require
a temporary file.

Signed-off-by: Robert Lippert <rlippert@google.com>
Signed-off-by: Robert Lippert <rlippert@google.com>
@oohal
Copy link
Copy Markdown

oohal commented Mar 9, 2018

Alternative solution here #8

turns out the actual problem is with how we work out the entry point of the image that we're kexecing into. With that fixed we can rely on the decompression code in the zImage itself rather than extracting the built-in vmlinux. This is handy since we now support XZ compression in addition to gzip and it's less code to cart around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants