Created attachment 200419 [details]
Per the attached patch, loader1.efifat should be used with gpart's partcode argument, not the bootcode argument as the man page suggests.
This is relevant for all EFI-capable STABLE but not CURRENT, because CURRENT recently axed boot1.efifat.
Any update on this patch?
This issue should have been closed by https://cgit.freebsd.org/src/commit/share/man/man8/uefi.8?id=db8b56134506840832bec2d1ce07b9e00d4d6d71.