From owner-freebsd-arm@FreeBSD.ORG Thu Jan 22 23:06:53 2009 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 CF4E31065695; Thu, 22 Jan 2009 23:06:53 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id 09E0F8FC0C; Thu, 22 Jan 2009 23:06:52 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id n0MN6nww074176 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 23 Jan 2009 00:06:49 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by cicely5.cicely.de (8.14.2/8.14.2) with ESMTP id n0MN6lHr036893 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 23 Jan 2009 00:06:47 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id n0MN6lLU053870; Fri, 23 Jan 2009 00:06:47 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id n0MN6lYr053869; Fri, 23 Jan 2009 00:06:47 +0100 (CET) (envelope-from ticso) Date: Fri, 23 Jan 2009 00:06:47 +0100 From: Bernd Walter To: "M. Warner Losh" Message-ID: <20090122230647.GN50103@cicely7.cicely.de> References: <20090122151340.GE50103@cicely7.cicely.de> <4978B4A6.8060408@FreeBSD.org> <20090122180518.GK50103@cicely7.cicely.de> <20090122.155741.-470325804.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090122.155741.-470325804.imp@bsdimp.com> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED=-1.8, AWL=0.055, BAYES_00=-2.599 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on spamd.cicely.de Cc: freebsd-arm@FreeBSD.org, mav@FreeBSD.org, ticso@cicely7.cicely.de, ticso@cicely.de Subject: Re: Mount root from SD card? X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jan 2009 23:06:55 -0000 On Thu, Jan 22, 2009 at 03:57:41PM -0700, M. Warner Losh wrote: > In message: <20090122180518.GK50103@cicely7.cicely.de> > Bernd Walter writes: > : On Thu, Jan 22, 2009 at 08:02:14PM +0200, Alexander Motin wrote: > : > Bernd Walter wrote: > : > >As another point: > : > >Is it possible to support SHDC with mci some day, or is there a special > : > >hardware requirement for SDHC? > : > > : > SDHC (SD High Capacity) has just a different data addressing scheme (in > : > 512bytes blocks instead of bytes). There is no special hardware > : > requirements, only minor initialization differences. With present > : > mmc/mmcsd modules SDHC should work fine on any controller. > : > : Good news - thank you for clearification. > > Now all we need to do is to enhance the boot blocks to be able to boot > off the SDHC cards :) Yes, but since you wrote code to store the kernel inside SPI-flash there is a useable workaround available ;-) Full loader support would be more interesting than SDHC in boot code anyway. > BTW, I found and fixed the bug (at least I think so). We were > assuming that all transfers were 512 bytes long. The newly used 16 > and 64 byte transfers broke that assumption, which is why things broke > after Alexander's latest commits. There's still a small chance that > there's something borked in the byte swapping code, but I kinda doubt > it since I was able to mount root. > > svn commit r187603 is the fix. Great! -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.