Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Sep 2022 21:48:42 -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:  <CANCZdfq%2Bm3iFpbU%2BLu12nCvvtT5Swx=MYrC1FkOj5ZhfN%2BocmA@mail.gmail.com>
In-Reply-To: <YykmFkdqKKW30dM9@void.f-m.fm>
References:  <YykmFkdqKKW30dM9@void.f-m.fm>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000fadb8905e913b4ed
Content-Type: text/plain; charset="UTF-8"

On Mon, Sep 19, 2022 at 8:31 PM void <void@f-m.fm> wrote:

> Hi,
>
> In /usr/src/UPDATING, there's this concerning
> zroot booting after buildworld kernel cycle:
>
> +++++
> 2.) update the ZFS boot block on your boot drive
>
>     The following example updates the ZFS boot block on the
>     freebsd-boot partition of a GPT partitioned drive ada0:
>     "gpart bootcode -p /boot/gptzfsboot -i $N ada0"
>     The value $N will typically be 1 (if booting from BIOS) or 2 (if
>     booting from EFI).
> +++++
>
> BIOS in a rpi4 context I read as u-boot. I thought it hands the boot
> process
> over to bootaa64.efi, which I thought was efi. Is this correct?
> Its initial boot screen shows u-boot. Is this bios or efi?
>

I've updated UPDATING in https://reviews.freebsd.org/D36629. Please review.

Warner


> TIA,
> --
>
>

--000000000000fadb8905e913b4ed
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 Mon, Sep 19, 2022 at 8:31 PM void =
&lt;<a href=3D"mailto:void@f-m.fm">void@f-m.fm</a>&gt; 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">Hi,<br>
<br>
In /usr/src/UPDATING, there&#39;s this concerning<br>
zroot booting after buildworld kernel cycle:<br>
<br>
+++++<br>
2.) update the ZFS boot block on your boot drive<br>
<br>
=C2=A0 =C2=A0 The following example updates the ZFS boot block on the<br>
=C2=A0 =C2=A0 freebsd-boot partition of a GPT partitioned drive ada0:<br>
=C2=A0 =C2=A0 &quot;gpart bootcode -p /boot/gptzfsboot -i $N ada0&quot;<br>
=C2=A0 =C2=A0 The value $N will typically be 1 (if booting from BIOS) or 2 =
(if<br>
=C2=A0 =C2=A0 booting from EFI).<br>
+++++<br>
<br>
BIOS in a rpi4 context I read as u-boot. I thought it hands the boot proces=
s<br>
over to bootaa64.efi, which I thought was efi. Is this correct?<br>
Its initial boot screen shows u-boot. Is this bios or efi?<br></blockquote>=
<div><br></div><div>I&#39;ve updated UPDATING in=C2=A0<a href=3D"https://re=
views.freebsd.org/D36629">https://reviews.freebsd.org/D36629</a>. Please re=
view.</div><div><br></div><div>Warner</div><div>=C2=A0</div><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid =
rgb(204,204,204);padding-left:1ex">
TIA,<br>
-- <br>
<br>
</blockquote></div></div>

--000000000000fadb8905e913b4ed--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfq%2Bm3iFpbU%2BLu12nCvvtT5Swx=MYrC1FkOj5ZhfN%2BocmA>