Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Aug 2023 17:33:47 +0800
From:      Archimedes Gaviola <archimedes.gaviola@gmail.com>
To:        =?UTF-8?B?Sm9zw6kgUMOpcmV6?= <fbl@aoek.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: PinePro64 does not go past mountroot
Message-ID:  <CAJFbk7GXvhEE=0E%2BZp8DGHGb8Av9r=2XeE1nbKXZDrWE7NpuoA@mail.gmail.com>
In-Reply-To: <dde6df1b8771b317ddc0fa4c9d794030@mail.yourbox.net>
References:  <dde6df1b8771b317ddc0fa4c9d794030@mail.yourbox.net>

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

On Thu, Aug 3, 2023 at 11:44=E2=80=AFAM Jos=C3=A9 P=C3=A9rez <fbl@aoek.com>=
 wrote:

> Hi,
> want to give my PinePro64 another option with FreeBSD, so I downloaded
> FreeBSD-14.0-CURRENT-arm64-aarch64-PINE64-20230727-474708c334a7-264358.im=
g
> and dd'd it to a USB drive.
>
> The Pine boots from SPI, flashed with U-Boot 2021.04-11556-g9ecacf77d2
> and make it to FreeBSD, but does not go past mountroot:
> ...
> WARNING: WITNESS option enabled, expect reduced performance.
> ugen2.1: <Generic EHCI root HUB> at usbus2
> Trying to mount root from ufs:/dev/ufs/rootfs [rw]...
> uhub0 on usbus2
> uhub0: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on
> usbus2
> ugen4.1: <Synopsys XHCI root HUB> at usbus4
> ugen5.1: <Synopsys XHCI root HUB> at usbus5
> ugen3.1: <Generic OHCI root HUB> at usbus3
> ugen1.1: <Generic OHCI root HUB> at usbus1
> uhub1 on usbus4
> uhub1: <Synopsys XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on
> usbus4
> uhub2 on usbus5
> uhub4 on usbus3
> uhub2: <Synopsys XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on
> usbus5
> uhub4: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on
> usbus3
> uhub3 on usbus1
> uhub3: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on
> usbus1
> ugen0.1: <Generic EHCI root HUB> at usbus0
> uhub5 on usbus0
> uhub5: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on
> usbus0
> uhub4: 1 port with 1 removable, self powered
> uhub3: 1 port with 1 removable, self powered
> uhub1: 2 ports with 2 removable, self powered
> uhub2: 2 ports with 2 removable, self powered
> uhub0: 1 port with 1 removable, self powered
> uhub5: 1 port with 1 removable, self powered
> mountroot: waiting for device /dev/ufs/rootfs...
> Mounting from ufs:/dev/ufs/rootfs failed with error 19.
>
> Loader variables:
>    vfs.root.mountfrom=3Dufs:/dev/ufs/rootfs
>    vfs.root.mountfrom.options=3Drw
>
> Manual root filesystem specification:
>    <fstype>:<device> [options]
>        Mount <device> using filesystem <fstype>
>        and with the specified (optional) option list.
>
>      eg. ufs:/dev/da0s1a
>          zfs:zroot/ROOT/default
>          cd9660:/dev/cd0 ro
>            (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)
>
>    ?               List valid disk boot devices
>    .               Yield 1 second (for background tasks)
>    <empty line>    Abort manual input
>
> mountroot> ?
>
> List of GEOM managed disk devices:
>
>
> mountroot>
>
>
> Can anyone suggest how to solve this?
>
> Thank you.
>
>
>
> --
> Jos=C3=A9 P=C3=A9rez
>
>
Hi,

Though I'm not familiar with your hardware but did you see something like
umass*, pass* and da* for USB storage-related device drivers loaded upon
kernel boot-up? I could be wrong but it seems like the root filesystem
wasn't found because your USB storage driver is missing.

Thanks,
Archimedes

--000000000000e3faa30602017abb
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 Thu, Aug 3, 2023 at 11:44=E2=80=AF=
AM Jos=C3=A9 P=C3=A9rez &lt;<a href=3D"mailto:fbl@aoek.com">fbl@aoek.com</a=
>&gt; wrote:<br></div><blockquote 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>
want to give my PinePro64 another option with FreeBSD, so I downloaded <br>
FreeBSD-14.0-CURRENT-arm64-aarch64-PINE64-20230727-474708c334a7-264358.img =
<br>
and dd&#39;d it to a USB drive.<br>
<br>
The Pine boots from SPI, flashed with U-Boot 2021.04-11556-g9ecacf77d2 <br>
and make it to FreeBSD, but does not go past mountroot:<br>
...<br>
WARNING: WITNESS option enabled, expect reduced performance.<br>
ugen2.1: &lt;Generic EHCI root HUB&gt; at usbus2<br>
Trying to mount root from ufs:/dev/ufs/rootfs [rw]...<br>
uhub0 on usbus2<br>
uhub0: &lt;Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1&gt; on <=
br>
usbus2<br>
ugen4.1: &lt;Synopsys XHCI root HUB&gt; at usbus4<br>
ugen5.1: &lt;Synopsys XHCI root HUB&gt; at usbus5<br>
ugen3.1: &lt;Generic OHCI root HUB&gt; at usbus3<br>
ugen1.1: &lt;Generic OHCI root HUB&gt; at usbus1<br>
uhub1 on usbus4<br>
uhub1: &lt;Synopsys XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1&gt; on =
<br>
usbus4<br>
uhub2 on usbus5<br>
uhub4 on usbus3<br>
uhub2: &lt;Synopsys XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1&gt; on =
<br>
usbus5<br>
uhub4: &lt;Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1&gt; on <=
br>
usbus3<br>
uhub3 on usbus1<br>
uhub3: &lt;Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1&gt; on <=
br>
usbus1<br>
ugen0.1: &lt;Generic EHCI root HUB&gt; at usbus0<br>
uhub5 on usbus0<br>
uhub5: &lt;Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1&gt; on <=
br>
usbus0<br>
uhub4: 1 port with 1 removable, self powered<br>
uhub3: 1 port with 1 removable, self powered<br>
uhub1: 2 ports with 2 removable, self powered<br>
uhub2: 2 ports with 2 removable, self powered<br>
uhub0: 1 port with 1 removable, self powered<br>
uhub5: 1 port with 1 removable, self powered<br>
mountroot: waiting for device /dev/ufs/rootfs...<br>
Mounting from ufs:/dev/ufs/rootfs failed with error 19.<br>
<br>
Loader variables:<br>
=C2=A0 =C2=A0vfs.root.mountfrom=3Dufs:/dev/ufs/rootfs<br>
=C2=A0 =C2=A0vfs.root.mountfrom.options=3Drw<br>
<br>
Manual root filesystem specification:<br>
=C2=A0 =C2=A0&lt;fstype&gt;:&lt;device&gt; [options]<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0Mount &lt;device&gt; using filesystem &lt;fstype=
&gt;<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0and with the specified (optional) option list.<b=
r>
<br>
=C2=A0 =C2=A0 =C2=A0eg. ufs:/dev/da0s1a<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0zfs:zroot/ROOT/default<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0cd9660:/dev/cd0 ro<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(which is equivalent to: mount -t =
cd9660 -o ro /dev/cd0 /)<br>
<br>
=C2=A0 =C2=A0?=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0List v=
alid disk boot devices<br>
=C2=A0 =C2=A0.=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Yield =
1 second (for background tasks)<br>
=C2=A0 =C2=A0&lt;empty line&gt;=C2=A0 =C2=A0 Abort manual input<br>
<br>
mountroot&gt; ?<br>
<br>
List of GEOM managed disk devices:<br>
<br>
<br>
mountroot&gt;<br>
<br>
<br>
Can anyone suggest how to solve this?<br>
<br>
Thank you.<br>
<br>
<br>
<br>
-- <br>
Jos=C3=A9 P=C3=A9rez<br>
<br></blockquote><div><br></div><div>Hi,</div><div><br></div><div>Though I&=
#39;m not familiar with your hardware but did you see something like umass*=
, pass* and da* for USB storage-related device drivers loaded upon kernel b=
oot-up? I could be wrong but it seems like the root filesystem wasn&#39;t f=
ound because your USB storage driver is missing.</div><div><br></div><div>T=
hanks,</div><div>Archimedes<br></div><div><br></div><div><br></div></div></=
div>

--000000000000e3faa30602017abb--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJFbk7GXvhEE=0E%2BZp8DGHGb8Av9r=2XeE1nbKXZDrWE7NpuoA>