Re: following -current on rpi4 with zfs-on-root

From: void <void_at_f-m.fm>
Date: Fri, 23 Sep 2022 23:32:30 UTC
On Tue, Sep 20, 2022 at 02:36:02PM -0600, Warner Losh wrote:
>> >
>> >> For EFI, there are many choices. The default installation places
>> >> loader.efi into the ESP in EFI\FREEBSD\LOADER.EFI. The following
>> >> updates it (assuming the ESP is on p1, and isn't already mounted):
>> >> mount -t msdos /dev/ada0p1 /boot/efi
>> >> cp /boot/efi/loader.efi /boot/efi/efi/freebsd
>> >> If you have a non-standard setup, please see the EFI notes section.

Hi Warner,

On a freshly rebuilt system after make installworld (but before anything else),

# mount | grep msdos

/dev/da0p1 on /boot/efi (msdosfs, local)

There is no loader.efi in /boot/efi on arm64.aarch64 for raspberry pi 4

bootaa64.efi is in /boot/efi/EFI/BOOT, so I followed Marek's 
instructions and copied loader_lua.efi to bootaa64.efi from
/usr/obj/usr/src/arm64.aarch64/stand/efi/loader_lua/

--