From owner-freebsd-arm@freebsd.org Tue Apr 18 15:51:09 2017 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 F0EE5D44929 for ; Tue, 18 Apr 2017 15:51:08 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ADB3DD6; Tue, 18 Apr 2017 15:51:08 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 7BCEED13; Tue, 18 Apr 2017 15:51:06 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Date: Tue, 18 Apr 2017 15:51:02 +0000 From: Glen Barber To: jungle Boogie Cc: "freebsd-arm@freebsd.org" Subject: Re: beaglebone black: MMC partition switch failed Message-ID: <20170418155102.GO2455@FreeBSD.org> References: <5bac0dbc-6d2b-c757-0cd3-babbd048cfd2@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="f0PSjARDFl/vfYT5" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 11.0-STABLE amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event X-PEKBAC-Definition: Problem Exists, Keyboard Between Admin/Computer X-Spidey-Sense: Uh oh, Peter logged in User-Agent: Mutt/1.7.1 (2016-10-04) 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: Tue, 18 Apr 2017 15:51:09 -0000 --f0PSjARDFl/vfYT5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 18, 2017 at 08:42:58AM -0700, jungle Boogie wrote: > On 15 April 2017 at 18:50, jungle boogie wrote: > > Hi All, > > > > It's been awhile since I've been able to run FreeBSD on my BBB. It was > > failing somewhere, but I didn't have good serial cable to see what was > > happening. > > > > Using the latest freebsd head image: > > FreeBSD-12.0-CURRENT-arm-armv6-BEAGLEBONE-20170413-r316750.img > > > > I'm writing it to my microSD card: > > sudo dd if=3DFreeBSD-12.0-CURRENT-arm-armv6-BEAGLEBONE-20170413-r316750= =2Eimg > > of=3D/dev/sdf bs=3D8M > > 128+0 records in > > 128+0 records out > > 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.01005 s, 1.1 GB/s > > > > > > Putting it in the BB and holding s2 for three seconds as mentioned in t= he > > FBSD Journal article[0]. > > > > Upon doing so, I see this: > > U-Boot SPL 2017.01-rc3 (Apr 13 2017 - 12:30:59) > > Trying to boot from MMC1** First descriptor is NOT a primary desc on 0:= 1 ** > > MMC partition switch failed > > *** Warning - MMC partition switch failed, using default environment > > > > ** Partition 1 not valid on device 0 ** > > spl_register_fat_device: fat register err - -1 > > spl_load_image_fat: error reading image u-boot.img, err - -1 > > MMC partition switch failed > > *** Warning - MMC partition switch failed, using default environment > > > > spl: no partition table found > > SPL: failed to boot from all boot devices > > ### ERROR ### Please RESET the board ### > > >=20 >=20 > Anyone have recommendations on how to fix this? There appears to be an issue with the 20170413 image. Please check if the FreeBSD-12.0-CURRENT-arm-armv6-BEAGLEBONE-20170405-r316508.img.xz image works. Glen --f0PSjARDFl/vfYT5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJY9jXfAAoJEAMUWKVHj+KTWMQQAKTSTDPwC/KsxNn89cTpFrKF czIAfromERaWaL7YPAZK1RFTKDFr02d7a8ZhzbvfU8T3HygbIQkAonH/gvfZSRF2 bzG9bsFYxnoR7H9um0Y1j2LVb/iWTEcBwVt3Qar4XzMdh4W9WjJQnF4kZaGvIuxt /nS7Zj/zE5/umjDk6w+ZYUJbHOctFxC/xqnTVqCJBpovQgvj3bHTZJHcdsxYZi+W VeK0Ikf0k0OGT9ggFlffP9iJOXCiPKoQSCbuAzi0p1JtZhLWpAtf8Yvvpj3xaLps OZPe4kbWkIOWeMWyc2VykGzvp/7NXI9BeLGEWvunwQQ4RGt67UlzYTLrZctpn39/ mJ4+/dKpvRPYmEA00T0sjM9LCDAGStaC1bQbuRYr1wR44cydbVNdmmzRrEXVimQD ND/QoYQG4XDWT1UNL2uVa19kIUzbziEFGCxCobSbq/cdaj4G72DV1r8PpMmSJ4yb pnDavZszP4m2rBslkELq9kWj+k4qd6RpYoabU6BN56gvfQN/IcXiqAR52Hwaa1xk 8OsQnGet/RilMpfpztjkFUFUGCCYQ7unnvuMYGnM2izcQp0a34jg7VHHc5x69UVf nGEQuhxwdhz9F6JDVQmjqE9YvHNKimSJWXt/gTMswVuMrihMDW+2KZBvgNG8g/ER w7xDKDdNZQGgwsJruksq =9lRa -----END PGP SIGNATURE----- --f0PSjARDFl/vfYT5--