From owner-freebsd-arm@FreeBSD.ORG Thu Apr 3 15:53:31 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 39EACC43; Thu, 3 Apr 2014 15:53:31 +0000 (UTC) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) (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 0B09AD72; Thu, 3 Apr 2014 15:53:30 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1WVjxD-000JWf-Bj; Thu, 03 Apr 2014 15:53:23 +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 s33FrKQE087327; Thu, 3 Apr 2014 09:53:20 -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: U2FsdGVkX1+wXwB97Lg/W3eK2claKr2y Subject: Re: Building an image for Raspberry Pi From: Ian Lepore To: Glen Barber In-Reply-To: <20140403063059.GX14379@glenbarber.us> References: <20140403005755.GA71905@pwnie.vrt.sourcefire.com> <20140403054106.GT14379@glenbarber.us> <20140403061443.GD71905@pwnie.vrt.sourcefire.com> <20140403061923.GW14379@glenbarber.us> <20140403062811.GE71905@pwnie.vrt.sourcefire.com> <20140403063059.GX14379@glenbarber.us> Content-Type: text/plain; charset="us-ascii" Date: Thu, 03 Apr 2014 09:53:20 -0600 Message-ID: <1396540400.81853.284.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: Thu, 03 Apr 2014 15:53:31 -0000 On Thu, 2014-04-03 at 02:30 -0400, Glen Barber wrote: > On Thu, Apr 03, 2014 at 02:28:11AM -0400, Shawn Webb wrote: > > On Apr 03, 2014 02:19 AM -0400, Glen Barber wrote: [...] > > > > > > Do you have a slower SD card you can try? I've seen that happen > > > sporadically with Class 10 SD cards, but have not yet seen it on lesser > > > speed SD cards. (I still boot-test faster SD cards, but haven't hit > > > this issue in a while though.) > > > > The one I'm currently using is a class 10 card, so maybe that's it. I've > > got a class 2 microsd card with an adapter that I'll try. I'll report > > back soon-ish with results. > > Ok, thanks for experimenting. I thought there was a fix committed for > this, but maybe I'm wrong. > > Glen No, we've never figured out the RPi sdcard mystery. We've tried forcing the driver to run the card bus faster and slower and while it sometimes seems to change things, it's never really been a fix. I've gone as far as putting an oscilliscope on the clock and data lines and everything looks normal up to the point where the bus locks up, then it "just stops working". There must be some subtle timing thing with our driver that gets the hardware into a bad state, and the u-boot and linux drivers are just enough different that they don't encounter it. -- Ian