Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Sep 2022 00:32:30 +0100
From:      void <void@f-m.fm>
To:        freebsd-arm@freebsd.org
Subject:   Re: following -current on rpi4 with zfs-on-root
Message-ID:  <Yy5CDsY8V1Enswd1@void.f-m.fm>
In-Reply-To: <CANCZdfq-RkVTMYk5ZW-LShU6XzNTdKk0TvrNWrmC4jgaC31cUA@mail.gmail.com>
References:  <YykmFkdqKKW30dM9@void.f-m.fm> <CANCZdfq%2Bm3iFpbU%2BLu12nCvvtT5Swx=MYrC1FkOj5ZhfN%2BocmA@mail.gmail.com> <YymzEH3bUWmtvPUB@void.f-m.fm> <d30f002b-08d0-e697-55b3-49d848a2edd1@plan-b.pwste.edu.pl> <CANCZdfq-RkVTMYk5ZW-LShU6XzNTdKk0TvrNWrmC4jgaC31cUA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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/

-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Yy5CDsY8V1Enswd1>