Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: support arm64 kexec from zboot kernel images #9162

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

frezbo
Copy link
Member

@frezbo frezbo commented Aug 13, 2024

When using kernel images that are using ZBOOT for arm64 we need to extract the vmlinux from the vmlinuz EFI file and pass it on the the kexec call.

Ref: https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/tree/kexec/kexec-pe-zboot.c

Fixes: #8907

@frezbo frezbo force-pushed the chore/arm64-zboot-kexec branch 2 times, most recently from 2bd9477 to d00ba89 Compare August 13, 2024 15:14
internal/zboot/zboot.go Show resolved Hide resolved
When using kernel images that are using ZBOOT for arm64 we need to
extract the vmlinux from the vmlinuz EFI file and pass it on the the
kexec call.

Ref: https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/tree/kexec/kexec-pe-zboot.c

Fixes: siderolabs#8907

Signed-off-by: Noel Georgi <git@frezbo.dev>
@frezbo
Copy link
Member Author

frezbo commented Aug 13, 2024

/m

@talos-bot talos-bot merged commit 091da16 into siderolabs:main Aug 13, 2024
48 checks passed
@frezbo frezbo deleted the chore/arm64-zboot-kexec branch August 13, 2024 16:28
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.

implement kexec support for EFI zBoot kernel
3 participants