Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Dec 2016 13:46:50 -0800
From:      Mark Millard <markmi@dsl-only.net>
To:        Michael Sperber <sperber@deinprogramm.de>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Can't get 11.0-RELEASE to boot on Banana PI M3
Message-ID:  <9C8B313C-A058-44DF-8673-D23B481CE312@dsl-only.net>
In-Reply-To: <y9lzikfbl8x.fsf@jellaby.local>
References:  <y9l7f7t2smo.fsf@jellaby.local> <20161124222152.dfd02dcafdc25182b6b46e50@bidouilliste.com> <66508AA3-436A-4D9E-AAB5-B85D0B4FC40C@dsl-only.net> <y9leg1w11yy.fsf@jellaby.local> <A218DF6A-4EFA-4EB7-99EC-8DA2E077DE3F@dsl-only.net> <y9lzikfbl8x.fsf@jellaby.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2016-Dec-1, at 9:41 AM, Michael Sperber <sperber at deinprogramm.de> =
wrote:

> Mark Millard <markmi at dsl-only.net> writes:
>=20
>> Black <-> Gnd
>> Green <-> Rx (middle pin of the 3)
>> White <-> Tx
>>=20
>> Red not connected
>=20
> Ah, thanks!  This got me here:
>=20
> Loader variables:
>=20
> Manual root filesystem specification:
>  <fstype>:<device> [options]
>      Mount <device> using filesystem <fstype>
>      and with the specified (optional) option list.
>=20
>    eg. ufs:/dev/da0s1a
>        zfs:tank
>        cd9660:/dev/cd0 ro
>          (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)

The "eg." list is not based on what is on your
FreeBSD machine. The later GEOM is based on what
it found on the FreeBSD machine.

>  ?               List valid disk boot devices
>  .               Yield 1 second (for background tasks)
>  <empty line>    Abort manual input
>=20
> mountroot> ?
>=20
> List of GEOM managed disk devices:
>  da0 diskid/DISK-E79F652A mmcsd1 diskid/DISK-BDA51C2Ds2a =
ufsid/582fa82db6b4890b diskid/DISK-BDA51C2Ds2 diskid/DISK-BDA51C2Ds1 =
mmcsd0s2a msdosfs/BOOT diskid/DISK-BDA51C2D mmcsd0s2 mmcsd0s1 mmcsd0

The root filesystem is a ufs file system. So one way is:

ufs:/dev/ufsid/582fa82db6b4890b

since it is the only ufsid present. It avoids needing to
understand the partition structure and naming. It is based
on a unique number stored in the specific ufs file system.

But it is more to type accurately.

There is also:

ufs:/dev/mmcsd0s2a

and

ufs:/dev/diskid/DISK-BDA51C2Ds2a

which have parts of the names identifying partitions
directly.

mmcsd0 is for where the "disk" is physically plugged in.

DISK-BDA51C2D is for the storage device that was plugged
in (an ID number that is on the "disk" is involved).

But none of the explains why it could not mount the root
file system in the first place and the attempt may just
fail as well.

> I tried this (not really knowing what I'm doing):
>=20
> mountroot> ufs:/dev/da0s1a

(Variant of the earlier note:)
The "eg." list was not based on what is on your
FreeBSD machine. The above GEOM list is based on
what it found as existing on the FreeBSD machine.

> Trying to mount root from ufs:/dev/da0s1a []...
> mountroot: waiting for device /dev/da0s1a...
> Mounting from ufs:/dev/da0s1a failed with error 19.
>=20
> Any suggestions on how to go on from here?

=3D=3D=3D
Mark Millard
markmi at dsl-only.net





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9C8B313C-A058-44DF-8673-D23B481CE312>