From owner-freebsd-arm@freebsd.org Thu Dec 1 21:46:54 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 81332C6122C for ; Thu, 1 Dec 2016 21:46:54 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-58.reflexion.net [208.70.210.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 347C71D8A for ; Thu, 1 Dec 2016 21:46:53 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 25090 invoked from network); 1 Dec 2016 21:46:36 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 1 Dec 2016 21:46:36 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.20.0) with SMTP; Thu, 01 Dec 2016 16:47:03 -0500 (EST) Received: (qmail 29038 invoked from network); 1 Dec 2016 21:47:02 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 1 Dec 2016 21:47:02 -0000 Received: from [192.168.1.106] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 561DCEC9211; Thu, 1 Dec 2016 13:46:51 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: Can't get 11.0-RELEASE to boot on Banana PI M3 From: Mark Millard In-Reply-To: Date: Thu, 1 Dec 2016 13:46:50 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <9C8B313C-A058-44DF-8673-D23B481CE312@dsl-only.net> References: <20161124222152.dfd02dcafdc25182b6b46e50@bidouilliste.com> <66508AA3-436A-4D9E-AAB5-B85D0B4FC40C@dsl-only.net> To: Michael Sperber X-Mailer: Apple Mail (2.3251) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2016 21:46:54 -0000 On 2016-Dec-1, at 9:41 AM, Michael Sperber = wrote: > Mark Millard 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: > : [options] > Mount using filesystem > 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) > 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