Bug#919012: grub2: set arm64-efi code offset to EFI_PAGE_SIZE
Leif Lindholm
leif.lindholm at linaro.org
Fri Jan 11 17:37:25 GMT 2019
Package: grub2
Severity: wishlist
Some arm64 laptops/tablets ship with UEFI firmware that require the code
offset to be aligned to EFI_PAGE_SIZE, presumably in order to be able to
enforce no-execute settings for the PE/COFF header itself.
The following (minimal) patch set sent to grub-devel (and reviewed by me)
changes the behaviour accordingly:
https://lists.gnu.org/archive/html/grub-devel/2018-12/msg00056.html
The unfortunate behaviour of trying to run a grub without 4k-aligned code
offset is to silently hang immediately.
As a reference, a patch performing the same change in behaviour is already
merged in EDK2:
https://github.com/tianocore/edk2/commit/de3c440e8a54c201c527b85da7b89d58486ece4d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grub-devel/attachments/20190111/85a0839e/attachment.html>
More information about the Pkg-grub-devel
mailing list