From owner-freebsd-arm@FreeBSD.ORG Wed May 14 05:52:20 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 418027C4; Wed, 14 May 2014 05:52:20 +0000 (UTC) Received: from mail-ee0-x234.google.com (mail-ee0-x234.google.com [IPv6:2a00:1450:4013:c00::234]) (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 A25D92BBB; Wed, 14 May 2014 05:52:19 +0000 (UTC) Received: by mail-ee0-f52.google.com with SMTP id e53so942767eek.39 for ; Tue, 13 May 2014 22:52:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=Qk0KwQ0QfatPELfr5IQHQWTEQAXR9+ezdI0bvQa8eqE=; b=yccTLPDJUhTgVtgwLp0KFnASQ6j856ZwxY9M/OZVQkEbHOQwvNbn67hcVrE9L8PktW 9ZwOk2XVs2yFPsGHoKplYBKE3ZnSrweKwVRVX63jGXVCML7ICsuKb4yWtKqyeG/YNNyT RZRMHXWQ4zlxPWrSqw7kdXUuje4J9A9MWqucDIhdLd33c38EKlCUMKCQNaM901cbnc7/ f528TorQIXUDQCcswMwpT9/MAUbx9L9D1U9kypiYYZHYAjIbvqlstCbGFc63MSbb3ZyJ sgZPut62acEKMqye5n6J5ggtRPVMs3yixf4s7VBtdqnb9fX6aB3NvDJoFJzkz0B6QgXH 3AUA== X-Received: by 10.14.89.70 with SMTP id b46mr604399eef.109.1400046736598; Tue, 13 May 2014 22:52:16 -0700 (PDT) Received: from ketas-laptop.mydomain (ketas-laptop6.si.pri.ee. [2001:ad0:91f:0:21a:6bff:fe66:2ad3]) by mx.google.com with ESMTPSA id 4sm2459792eeq.33.2014.05.13.22.52.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 13 May 2014 22:52:15 -0700 (PDT) Sender: Sulev-Madis Silber Message-ID: <5373048C.7030009@hot.ee> Date: Wed, 14 May 2014 08:52:12 +0300 From: "Sulev-Madis Silber (ketas)" User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:15.0) Gecko/20120912 Thunderbird/15.0.1 MIME-Version: 1.0 To: Winston Smith Subject: Re: Patch to make BBB properly boot from eMMC every time References: <5371E1F3.6080002@hot.ee> <1399987808.56626.2.camel@revolution.hippie.lan> <1399991632.56626.7.camel@revolution.hippie.lan> <5372789E.8020103@hot.ee> In-Reply-To: X-TagToolbar-Keys: D20140514085212114 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-arm , Ian Lepore X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2014 05:52:20 -0000 On 2014-05-13 23:33, Winston Smith wrote: > On Tue, May 13, 2014 at 3:55 PM, Sulev-Madis Silber (ketas) > wrote: >> That's bit different issue. > > I can't help but think the hang here is related, particularly to the > subtle timing issues that are plaguing the 4 vs 8 bit detection. > Seems like there's just something not right in the eMMC > detection/startup? Maybe the [faster] 1GHZ CPU is further throwing > off the timing. > >> I would actually want to have 1GHz WITH eMMC... now it's impossible. >> First that, then maybe variable freq later (if possible). I certainly >> have usage for such speeds somewhere. > > Why is it impossible? It seems to work, just not reliably! > So you have uboot that could run BBB 1GHz while booting from eMMC? Indeed, 2014.04 has appeared in crochet... while it should appear in ports as *-devel, meh. I haven't tried that yet. > Seems silly to have the 1GHZ BBB running at only 550Mhz. > >> But right now BBB is so stable. I would put snapshot of CURRENT to >> production right now. I now also have taken all debugging options out. I >> didn't realize how SLOW things are with WITNESS & others on. >> Maybe when I get more than one copy of same HW, I could run some of them >> with WITNESS on too (would it actually give me some useful data I could >> report back?) > > I'm in the same boat. However, Ian is in the process of backporting > the CURRENT arm updates to STABLE. If I can get 1GHZ working with > 10-STABLE, then I'll be very happy. > > WITNESS is an easy one, create a config like this: > > ident MYCONF > > include BEAGLEBONE > nooptions WITNESS > > > And build with it (set KERNCONF if you're using crotchet-freebsd) and > you'll get a WITNESS-free kernel. > No, I'm not using crochet... http://ketas.si.pri.ee/bbb/ There are most of things I use to customize tree for BBB.