From owner-freebsd-arm@FreeBSD.ORG Tue Apr 29 00:48:35 2014 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 181F8A60 for ; Tue, 29 Apr 2014 00:48:35 +0000 (UTC) Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DD1D31746 for ; Tue, 29 Apr 2014 00:48:34 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1WewDo-000P7W-8p; Tue, 29 Apr 2014 00:48:32 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id s3T0mT4g015574; Mon, 28 Apr 2014 18:48:29 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18uboUbltLe/C4MPsd64bg2 Subject: Re: FreeBSD-10-STABLE hangs when booting from BeagleBone Black eMMC From: Ian Lepore To: Winston Smith In-Reply-To: References: <1398618984.61646.165.camel@revolution.hippie.lan> <1398624759.61646.174.camel@revolution.hippie.lan> <1398648505.61646.189.camel@revolution.hippie.lan> Content-Type: text/plain; charset="us-ascii" Date: Mon, 28 Apr 2014 18:48:28 -0600 Message-ID: <1398732508.61646.245.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: FreeBSD ARM X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2014 00:48:35 -0000 On Mon, 2014-04-28 at 15:40 -0400, Winston Smith wrote: > On Sun, Apr 27, 2014 at 10:35 PM, Patrick Kelsey wrote: > > On Sun, Apr 27, 2014 at 9:28 PM, Ian Lepore wrote: > >> If you need 10 we should probably figure out what the problem is there. > >> If the same u-boot works on 11 and fails on 10, then the difference must > >> be in ubldr, and there certainly have been changes there in 11. > >> > >> The quickest way to test that theory would be to build the image for 10 > >> and then hand-copy the ubldr from an 11 build onto that sdcard and see > >> if it works. If so, we can see about merging some ubldr stuff to 10. > >> It may need to go into the msdos partition (I net-boot all my boards). > > That works!!! > > > The issue with booting from eMMC on 10-STABLE is in ubldr. On 10-STABLE, > > ubldr is hardwired to boot from the first disk device, which will always be > > the SD card when using a u-boot that has my mmc device enumeration patches > > (or an equivalent). The changes that Ian and I made to ubldr would have to > > be MFC'd to 10-STABLE to get the behavior you want without resorting to > > copying ubldr built from an 11-CURRENT tree to your device. > > I'm not sure what MFC'd means, but yes, could we get this in 10-STABLE? > > It's my understanding that 11-CURRENT won't be released for quite some > time, so presumably fixes of this nature would automatically get > backported (MFC'd?) to 10-STABLE? > > Thanks! Okay, all done. As of r265071 all the recent ubldr changes have been merged to the 10-stable branch and should work to boot eMMC on BBB. Unless I missed something, the ubldr in 10-stable should now be the same as the one in -current. -- Ian