#975685 grub-install fails with U-Boot EFI

Package:
grub2-common
Source:
grub2
Description:
GRand Unified Bootloader (common files for version 2)
Submitter:
Elliott Mitchell
Date:
2020-11-25 04:27:03 UTC
Severity:
normal
#975685#5
Date:
2020-11-25 04:21:52 UTC
From:
To:
`grub-install` fails to install properly when run on a system using
U-Boot's implementation of the EFI protocol (potentially also effects
package grub-efi-arm64, perhaps this should be against src:grub2).

Since a Tianocore-based implementation of the EFI protocol is also
available, I can provide more imformation.  A useful distinction is
U-Boot's EFI implementation does NOT implement EFI variables.  This seems
a plausible method to distinguish U-Boot's partial EFI implementation
from Tianocore's complete EFI implementation.

On the U-Boot implementation grubaa64.efi needs to be installed as
/boot/efi/EFI/BOOT/bootaa64.efi instead.  Roughly akin to
--bootloader-id=BOOT, plus an extra rename.  I suspect I may be filing
other bugs soon.

(the platform is a Raspberry Pi 4B, the Tianocore implementation is
quite workable except too many pieces of software assume device-tree
on ARM and won't work with ACPI)