From owner-freebsd-arm@FreeBSD.ORG Mon Apr 28 19:40:36 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 7AF1CB7B; Mon, 28 Apr 2014 19:40:36 +0000 (UTC) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E23CE17F7; Mon, 28 Apr 2014 19:40:35 +0000 (UTC) Received: by mail-wi0-f173.google.com with SMTP id z2so6308984wiv.6 for ; Mon, 28 Apr 2014 12:40:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=4ce7QWJcOCQMGpRp4aUC1wsKkzhYxZBa9OI8JifJBt4=; b=LGk0/pNQklpKIX3aH+e0gqN/uzF5qsWqRsBs6MDlVTYQMXaz4M/HFSG93c7Wcfu+sB vI7NN2RLh6ugN2m5cbmQy3ft6PSDOAIIPy7ndo7FgRZHeFH4NDT1SVxxMgtfKv8sMD+B GzzJz4DHYenX+B31nH8sHS3XWE+4zxPuC0TnmK1taAVF7Wst+ovdQnbbh1q/0QaQKyrA AHZXrfBX5b4rUJsOcAkH16Eb/6t2m3GBqy27wZRQVrgdcdpsRj6Q3+LRWZVG4CdpfMbQ +lw9EeEbi2fT5f+nDKidju2OGSd3LYSF2UxSlXzMIxyDd/k0pRQzWaBXXa9gl2jSsQac iptA== MIME-Version: 1.0 X-Received: by 10.180.8.136 with SMTP id r8mr16941354wia.60.1398714034191; Mon, 28 Apr 2014 12:40:34 -0700 (PDT) Received: by 10.217.10.195 with HTTP; Mon, 28 Apr 2014 12:40:34 -0700 (PDT) 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> Date: Mon, 28 Apr 2014 15:40:34 -0400 Message-ID: Subject: Re: FreeBSD-10-STABLE hangs when booting from BeagleBone Black eMMC From: Winston Smith To: Patrick Kelsey Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD ARM , Ian Lepore 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: Mon, 28 Apr 2014 19:40:36 -0000 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!