kexec-lite native zImage support#1
Open
rlippert wants to merge 2 commits intoantonblanchard:masterfrom
Open
Conversation
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>
|
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 :)