[PATCH] efi_loader: improve detection of ESP for storing UEFI variables

Paulo Alcantara pc at cjr.nz
Mon Nov 9 15:35:26 CET 2020


Mark Kettenis <mark.kettenis at xs4all.nl> writes:

> The OpenBSD installation media for armv7 and arm64 use a FAT partition
> of type 0x0c because the Raspberry Pi firmware doesn't support 0xef.
> This allows us to have a single FAT partition with the Raspberry Pi
> firmware, U-Boot and /EFI/BOOT/BOOT{ARCH}.EFI.

Yeah, it is the same partition type that my openSUSE Tumbleweed image
has and everything boots fine on rpi4.

My only problem with not having the partition type of 0xef in MBR is
that my UEFI variables (/ubootefi.var) could not be loaded because
U-Boot did not detect an ESP to either read or store them, but the UEFI
boot worked regardless.


More information about the U-Boot mailing list