From nobody Thu Aug 03 09:33:47 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RGkF70FklzZRPr for ; Thu, 3 Aug 2023 09:34:03 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RGkF63XRfz3H3t for ; Thu, 3 Aug 2023 09:34:02 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-997c4107d62so105685666b.0 for ; Thu, 03 Aug 2023 02:34:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691055240; x=1691660040; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=vcLJltFQLfex/GMPrlLeaR7PwVyG/h+JxybFLBqNXDk=; b=PqUymejmdpYvaSRbUKKultpcfhoPRRTTMlzhqYhRwsL5JdkTMpUUURp/rISx8XMPT3 d6opWPCvFDjTUfXG4s1EnBULPylmeFNjrNZTal/IDbBb+0BjCcvqrau4+OeBHhbKpr3m +gzCHc+zO9TRAucC5Q2GMmdkf6Fa1gSgseIiVwYukp/zv28hIv/jDHzle5eUi8UHtvp4 ee0yndGY8CNqLGjIzggI6/6mdgLSrbyaSc8Lox/t/L4aQTJZN14exgiG0CoudVPltnVG Qp1lqLADOd1G3gwrchhMNxVjus/PZyx2eC5ynWURQv1R3zOINdukdi3rHsOYOF4KOmbV HiSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691055240; x=1691660040; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vcLJltFQLfex/GMPrlLeaR7PwVyG/h+JxybFLBqNXDk=; b=RFvbLAChgC2tHkwKM/j8EGAAmPbUj7J2Gmp9brew8D6bvOONRJWjvi4Gw3JPQswJSj 1YxiOZSReXneEzWEEIc0WF/ARYT5mZkVicf1AIrFgREGeb1brp43O0ZOdi3xjk2UbUmA QkCkT5bUwmxQ4mt737A+64qus2UIrHPAixXCrOuYFwPivs8VVHQSv596dlnLz1kVBE6z Bp80zO1G5HhSN5HLs+6YUjFh0S4eeHSdbaUSTISbwryompC62uAp+hM+StA3q0TLoVbU DhyHJtBYmE783OZ2FY/hI6ATidSllxn9tp2nvb6+aa4AlzYRVv8YLuYWgXaG3K2z0A04 itzg== X-Gm-Message-State: AOJu0YyG0WtDkep97ItNm9DsJtrLAak+9z8UvpmfwYNHiCVeiz2dG6op VmXmK+IT4wEYoqQRoWLfd4VihRPch21IIZmbgVMAvueA X-Google-Smtp-Source: AGHT+IE4VyOjcZCqeGda9qeFzPFWnBVtlterTRAla/yOBG9e7Yt5/LZ/xvcl8k3pOTjQdGT7j5pBp+qYJ5JIkNDz5ZQ= X-Received: by 2002:a17:906:1653:b0:994:17e3:2753 with SMTP id n19-20020a170906165300b0099417e32753mr1278290ejd.26.1691055240246; Thu, 03 Aug 2023 02:34:00 -0700 (PDT) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Archimedes Gaviola Date: Thu, 3 Aug 2023 17:33:47 +0800 Message-ID: Subject: Re: PinePro64 does not go past mountroot To: =?UTF-8?B?Sm9zw6kgUMOpcmV6?= Cc: freebsd-arm@freebsd.org Content-Type: multipart/alternative; boundary="000000000000e3faa30602017abb" X-Rspamd-Queue-Id: 4RGkF63XRfz3H3t X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[] --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 = 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: at usbus2 > Trying to mount root from ufs:/dev/ufs/rootfs [rw]... > uhub0 on usbus2 > uhub0: on > usbus2 > ugen4.1: at usbus4 > ugen5.1: at usbus5 > ugen3.1: at usbus3 > ugen1.1: at usbus1 > uhub1 on usbus4 > uhub1: on > usbus4 > uhub2 on usbus5 > uhub4 on usbus3 > uhub2: on > usbus5 > uhub4: on > usbus3 > uhub3 on usbus1 > uhub3: on > usbus1 > ugen0.1: at usbus0 > uhub5 on usbus0 > uhub5: 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: > : [options] > Mount using filesystem > 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) > 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


=
On Thu, Aug 3, 2023 at 11:44=E2=80=AF= AM 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.img =
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 <= br> 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 <= br> usbus3
uhub3 on usbus1
uhub3: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on <= br> 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 <= br> 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:
=C2=A0 =C2=A0vfs.root.mountfrom=3Dufs:/dev/ufs/rootfs
=C2=A0 =C2=A0vfs.root.mountfrom.options=3Drw

Manual root filesystem specification:
=C2=A0 =C2=A0<fstype>:<device> [options]
=C2=A0 =C2=A0 =C2=A0 =C2=A0Mount <device> using filesystem <fstype= >
=C2=A0 =C2=A0 =C2=A0 =C2=A0and with the specified (optional) option list.
=C2=A0 =C2=A0 =C2=A0eg. ufs:/dev/da0s1a
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0zfs:zroot/ROOT/default
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0cd9660:/dev/cd0 ro
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(which is equivalent to: mount -t = cd9660 -o ro /dev/cd0 /)

=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
=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)
=C2=A0 =C2=A0<empty line>=C2=A0 =C2=A0 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






--000000000000e3faa30602017abb--