From owner-freebsd-arm@FreeBSD.ORG Tue May 20 02:39:49 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 67C85493 for ; Tue, 20 May 2014 02:39:49 +0000 (UTC) Received: from mail-we0-x232.google.com (mail-we0-x232.google.com [IPv6:2a00:1450:400c:c03::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 0132220FC for ; Tue, 20 May 2014 02:39:48 +0000 (UTC) Received: by mail-we0-f178.google.com with SMTP id u56so6429878wes.9 for ; Mon, 19 May 2014 19:39:47 -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:content-transfer-encoding; bh=syaRjb4SCLJyN80GgvAdHNM/pT1KT05UFX1FFTHn9Cs=; b=PBybUwZuG8iWsfXItTz7oib9z++uME8ue2OtxaSMSAd3Urdd5qCp8TGSBPpzK8IbHB lBD4YEcuL+0jmaqFDKuIIyWY9IwXLtcOChsERtr3IUHZrQnW9y7HHaHXdYk6YTyutPg3 OS5g9H+7cRfhvNW9UujMrhm5VbD19KPGCAOUlI9K3jQhP1NKQOXm0KR5makvhs6A4jyF gIYDNjzxf/2w9NMR0eufEwJlebMYr+MUQV2aIokH4QZsAZr9AjhTz46v1VNEWQtXNqRt 2tSH0Lxyhq/7x8gFkXTyOkXhilKrC3Mpdk+j0eRBmV64h7zFf7fgOxYVjoZRa8JbBmq8 tS3Q== MIME-Version: 1.0 X-Received: by 10.194.57.38 with SMTP id f6mr7452475wjq.59.1400553587303; Mon, 19 May 2014 19:39:47 -0700 (PDT) Received: by 10.217.10.195 with HTTP; Mon, 19 May 2014 19:39:47 -0700 (PDT) In-Reply-To: <024F43EF-E299-413E-AE42-2507AEDD0886@bsdimp.com> References: <537A050E.3040804@hot.ee> <537AB550.2090401@hot.ee> <537AB675.1020006@hot.ee> <024F43EF-E299-413E-AE42-2507AEDD0886@bsdimp.com> Date: Mon, 19 May 2014 22:39:47 -0400 Message-ID: Subject: Re: BBB MMC / SD detection instability with U-Boot 2014.04 (CPU 1GHz) From: Winston Smith To: Warner Losh Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-arm 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, 20 May 2014 02:39:49 -0000 On Mon, May 19, 2014 at 10:28 PM, Warner Losh wrote: > Wow! That=E2=80=99s a lot of added 10ms delays=E2=80=A6 Do we have a the= ory of the crime > for why they are needed? Usually they suggest to me that we=E2=80=99re do= ing something > wrong (either not checking the right bits in the bridge, having a fixed r= etry count > rather than a timed limit and having some bridges fail more slowly than o= thers > so the delays are effecting the same thing). It's a good start (since the BBB is really flakey at 1Ghz), but yes, more delays aren't good! For what it's worth, I'm working in parallel with both FreeBSD and Debian Wheezy images on the BBB, and it is quite apparent that the BBB running FreeBSD is *much* slower to boot than the BBB running Debian; which currently boots to the login prompt in about 15 seconds from power up. FreeBSD has a 15-20 second delay just to detect the eMMC, let alone everything else. Comparatively, my x64 FreeBSD VM boots much more quickly than my Ubuntu x64= VM. -W.