-
Notifications
You must be signed in to change notification settings - Fork 300
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
shim fails to boot on some (older) Aarch64 laptops #670
Comments
lumag
added a commit
to lumag/shim
that referenced
this issue
Jul 28, 2024
Although file alignment for EFI apps is not clear, most of the UEFI accept defaulf file alignment (0x200). Nevertheless some of the UEFI bootloaders require file alignment to be 0x1000 (e.g. Lenovo Miix 630, Lenovo Yoga C630, etc). Increase file alignment to the desired value. Fixes rhboot#670 Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
vathpela
pushed a commit
to lumag/shim
that referenced
this issue
Jan 15, 2025
Although file alignment for EFI apps is not clear, most of the UEFI accept defaulf file alignment (0x200). Nevertheless some of the UEFI bootloaders require file alignment to be 0x1000 (e.g. Lenovo Miix 630, Lenovo Yoga C630, etc). Increase file alignment to the desired value. Fixes rhboot#670 Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
vathpela
pushed a commit
that referenced
this issue
Jan 15, 2025
Although file alignment for EFI apps is not clear, most of the UEFI accept defaulf file alignment (0x200). Nevertheless some of the UEFI bootloaders require file alignment to be 0x1000 (e.g. Lenovo Miix 630, Lenovo Yoga C630, etc). Increase file alignment to the desired value. Fixes #670 Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The shim binaries are being built with relaxed file alignment
requirements. This makes some of UEFI implementations reject shim
binaries. For example Lenovo Miix 630 boots grubaa64.efi, but rejects
shimaa64.efi. Most likely this is because of the header differences.
Compare:
vs
Reference for the alignment story:
The text was updated successfully, but these errors were encountered: