From owner-freebsd-arm@FreeBSD.ORG Tue May 13 20:33:16 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 5AF6FF1C; Tue, 13 May 2014 20:33:16 +0000 (UTC) Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) (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 C37D52C60; Tue, 13 May 2014 20:33:15 +0000 (UTC) Received: by mail-wi0-f178.google.com with SMTP id hm4so1294307wib.5 for ; Tue, 13 May 2014 13:33:12 -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=UxVrKKmoQKcSPaGhc9Pun0AVEyNX+GnumQt/Zp0wbf4=; b=X0rjDXwLi7w4ebEpoVQvoha7+unX/a3BwyH2gVKSDJg1dDOoUW6KG1yuD6odhAaCbu F8sqPNJLo9Wk7SMvPf53vf3pu6yelLgh2xF6hnyymb2aL7MFODcWctsa70TB6q9MkBIV NKfOH9bGw7yAQuf/+34Z5I37Fx14mtDK9CeKWVR1a2oECUizfLOGbsM2wgJaFYUikPGN N6bzZH97I5kD1KVyJFRmoPRf7u4oDWVXsY7MWnlpr+7wj0vgzNfVxteRR++4bSt0CrUN KPT4la9OWMh/Vr+3j/AAKkAKPYk8LCvQH2Iq89Acwjdn7gL2IcbMbkfdcz0HoxO/9tUN XGeA== MIME-Version: 1.0 X-Received: by 10.194.90.107 with SMTP id bv11mr28576521wjb.11.1400013192904; Tue, 13 May 2014 13:33:12 -0700 (PDT) Received: by 10.217.10.195 with HTTP; Tue, 13 May 2014 13:33:12 -0700 (PDT) In-Reply-To: <5372789E.8020103@hot.ee> References: <5371E1F3.6080002@hot.ee> <1399987808.56626.2.camel@revolution.hippie.lan> <1399991632.56626.7.camel@revolution.hippie.lan> <5372789E.8020103@hot.ee> Date: Tue, 13 May 2014 16:33:12 -0400 Message-ID: Subject: Re: Patch to make BBB properly boot from eMMC every time From: Winston Smith To: "Sulev-Madis Silber (ketas)" Content-Type: text/plain; charset=UTF-8 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: Tue, 13 May 2014 20:33:16 -0000 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! 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.