Date: Fri, 23 Sep 2022 20:29:33 -0600 From: Warner Losh <imp@bsdimp.com> To: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: following -current on rpi4 with zfs-on-root Message-ID: <CANCZdfozCB1n4JKt_bP0vSkNcXw=VbgqD=sShLJYC1j-PNJxUA@mail.gmail.com> In-Reply-To: <Yy5CDsY8V1Enswd1@void.f-m.fm> 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> <Yy5CDsY8V1Enswd1@void.f-m.fm>
next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000048829505e9631107 Content-Type: text/plain; charset="UTF-8" On Fri, Sep 23, 2022 at 5:32 PM void <void@f-m.fm> wrote: > 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 > Doh! I let an extra '/efi' slip into my directions. /boot/loader.efi is where it lives on the host. > 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/ > Yea. that's what gets installed into /boot/loader.efi Warner --00000000000048829505e9631107 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">= <div dir=3D"ltr" class=3D"gmail_attr">On Fri, Sep 23, 2022 at 5:32 PM void = <<a href=3D"mailto:void@f-m.fm">void@f-m.fm</a>> wrote:<br></div><blo= ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left= :1px solid rgb(204,204,204);padding-left:1ex">On Tue, Sep 20, 2022 at 02:36= :02PM -0600, Warner Losh wrote:<br> >> ><br> >> >> For EFI, there are many choices. The default installation= places<br> >> >> loader.efi into the ESP in EFI\FREEBSD\LOADER.EFI. The fo= llowing<br> >> >> updates it (assuming the ESP is on p1, and isn't alre= ady mounted):<br> >> >> mount -t msdos /dev/ada0p1 /boot/efi<br> >> >> cp /boot/efi/loader.efi /boot/efi/efi/freebsd<br> >> >> If you have a non-standard setup, please see the EFI note= s section.<br> <br> Hi Warner,<br> <br> On a freshly rebuilt system after make installworld (but before anything el= se),<br> <br> # mount | grep msdos<br> <br> /dev/da0p1 on /boot/efi (msdosfs, local)<br> <br> There is no loader.efi in /boot/efi on arm64.aarch64 for raspberry pi 4<br>= </blockquote><div><br></div><div>Doh! I let an extra '/efi'=C2=A0 s= lip into my directions. /boot/loader.efi is where it</div><div>lives on the= host.</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"mar= gin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1= ex"> bootaa64.efi is in /boot/efi/EFI/BOOT, so I followed Marek's <br> instructions and copied loader_lua.efi to bootaa64.efi from<br> /usr/obj/usr/src/arm64.aarch64/stand/efi/loader_lua/<br></blockquote><div><= br></div><div>Yea. that's what gets installed into /boot/loader.efi</di= v><div><br></div><div>Warner</div></div></div> --00000000000048829505e9631107--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfozCB1n4JKt_bP0vSkNcXw=VbgqD=sShLJYC1j-PNJxUA>