[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1007928: grub-installer: support for arm64 EBBR systems



Package: grub-installer
Version: 1.182

Hello,
On arm64 EBBR style systems with U-boot + EFI API the persistent
variable store can, unfortunately, be read-only when boot time services
have finished[1]. Meaning that Linux is unable to set EFI variables.

Would it be possible to please add logic for arm64 + EFI to re-attempt a
failed grub-install with the extra flags added:
--force-extra-removable --no-nvram

For reference, this was discussed briefly on debian-boot[2].

Also, unfortunately, the force-efi-extra-removable logic only employs
the following flag:
--force-extra-removable
So on arm64 EBBR systems the "expert mode" installation option doesn't
work either :-(. Could --no-nvram please be added to this option?

FWIW, for testing this I built a recent u-boot with qemu_64_defconfig
and passed the resultant u-boot.bin to qemu with "-bios u-boot.bin".
Also, I'm more than happy to quickly test grub-installer .udebs

Cheers!
--
Steve Capper

[1] https://arm-software.github.io/ebbr/#id21
[2] https://lists.debian.org/debian-boot/2021/11/msg00079.html
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.


Reply to: