From owner-freebsd-arm@freebsd.org Tue Apr 18 16:57:46 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 0DF0CD44391 for ; Tue, 18 Apr 2017 16:57:46 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (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 A00E112D0 for ; Tue, 18 Apr 2017 16:57:45 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 1f346d29-2458-11e7-b96e-2378c10e3beb X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.78.92.27 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.78.92.27]) by outbound1.eu.mailhop.org (Halon) with ESMTPSA id 1f346d29-2458-11e7-b96e-2378c10e3beb; Tue, 18 Apr 2017 16:57:37 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id v3IGvWd5009088; Tue, 18 Apr 2017 10:57:32 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1492534652.96207.28.camel@freebsd.org> Subject: Re: beaglebone black: MMC partition switch failed From: Ian Lepore To: =?ISO-8859-1?Q?Otac=EDlio?= , freebsd-arm@freebsd.org Date: Tue, 18 Apr 2017 10:57:32 -0600 In-Reply-To: References: <5bac0dbc-6d2b-c757-0cd3-babbd048cfd2@gmail.com> <20170418155102.GO2455@FreeBSD.org> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit 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 16:57:46 -0000 On Tue, 2017-04-18 at 13:54 -0300, Otacílio wrote: > Em 18/04/2017 12:51, Glen Barber escreveu: > > > > 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=FreeBSD-12.0-CURRENT-arm-armv6-BEAGLEBONE-20170413- > > > > r316750.img > > > > of=/dev/sdf bs=8M > > > > 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 the > > > > 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 ### > > > > > > > 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 > > > I tested them a few days ago and none of them worked. I also > compiled  > locally and it does not work, even an image generated for the RPI3  > prints the same error message. The 20170405 image Glen mentioned works fine, I just DLed and tested it. -- Ian