From owner-freebsd-arm@FreeBSD.ORG Tue Jan 1 01:37:47 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 785AFBB5 for ; Tue, 1 Jan 2013 01:37:47 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id 48C308FC08 for ; Tue, 1 Jan 2013 01:37:46 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id r011bhiN017391; Tue, 1 Jan 2013 01:37:43 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id wkg4huyvveiwgd2ia4zmv4pz4a; Tue, 01 Jan 2013 01:37:43 +0000 (UTC) (envelope-from tim@kientzle.com) Subject: Re: Rpi boot process stuck on mountroot Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: <1357002062.54953.135.camel@revolution.hippie.lan> Date: Mon, 31 Dec 2012 17:37:41 -0800 Content-Transfer-Encoding: 7bit Message-Id: <06BF94A3-6F02-4E4B-8572-D202E5C8CB4B@kientzle.com> References: <1357002062.54953.135.camel@revolution.hippie.lan> To: Ian Lepore X-Mailer: Apple Mail (2.1283) Cc: freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jan 2013 01:37:47 -0000 On Dec 31, 2012, at 5:01 PM, Ian Lepore wrote: > On Mon, 2012-12-31 at 16:42 -0800, hiren panchasara wrote: >> Hi All, >> >> I am using Tim Kientzle's scripts and have been harassing him with >> stupid questions. >> Many thanks to him for his work. >> >> I am LX Series 8gig Class 10 sd card with Tim's most current scripts >> and -head as my sources. >> >> dmesg on attaching the card: >> >> mmc0: on sdhci0 >> mmcsd0: 7600MB at >> mmc0 50.0MHz/4bit/65535-block >> >> But getting error on mountroot as shown in the attachment. >> >> Any help/pointers would be appreciated. >> > > Hmm. If it's an 8gb card it's HC by definition, and it says it detected > an SDHC card, so running at 50mhz shouldn't be a problem. It would be > interesting to see if it works if you force it to run as a non-HC at > 25mhz, using this patch... > > http://people.freebsd.org/~gonzo/patches/u-boot-pi-nohs.diff My build scripts already apply that patch when they build U-Boot. Hiren's problem is the FreeBSD kernel failing to mountroot. The kernel should be doing its own probe and configuration of the SD card. I saw a similar problem a little while back here and noticed it failed exactly when the kernel probed it at 50MHz. When the kernel probed at 25MHz all was good. Tim