From owner-freebsd-arm@FreeBSD.ORG Thu Feb 22 16:36:29 2007 Return-Path: X-Original-To: freebsd-arm@freebsd.org Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 83A6516A47B for ; Thu, 22 Feb 2007 16:36:29 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from mx.bulinfo.net (mx.bulinfo.net [193.194.156.1]) by mx1.freebsd.org (Postfix) with ESMTP id 3D19913C491 for ; Thu, 22 Feb 2007 16:36:29 +0000 (UTC) (envelope-from krassi@bulinfo.net) Received: from localhost (localhost [127.0.0.1]) by mx.bulinfo.net (Postfix) with ESMTP id CDBBD175C0C; Thu, 22 Feb 2007 18:36:26 +0200 (EET) Received: from mx.bulinfo.net ([127.0.0.1]) by localhost (mx.bulinfo.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20168-02-3; Thu, 22 Feb 2007 18:36:24 +0200 (EET) Received: from [192.168.2.188] (pythia.bulinfo.net [212.72.195.5]) by mx.bulinfo.net (Postfix) with ESMTP id C14DA175C09; Thu, 22 Feb 2007 18:36:22 +0200 (EET) Message-ID: <45DDC686.50405@bulinfo.net> Date: Thu, 22 Feb 2007 18:36:22 +0200 From: Krassimir Slavchev User-Agent: Thunderbird 1.5 (X11/20060201) MIME-Version: 1.0 To: "M. Warner Losh" , freebsd-arm@freebsd.org References: <45DD6E45.5000505@bulinfo.net> <20070222.082227.-2001110508.imp@bsdimp.com> In-Reply-To: <20070222.082227.-2001110508.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at mx.bulinfo.net Cc: Subject: Re: SD card support? X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2007 16:36:29 -0000 M. Warner Losh wrote: > In message: <45DD6E45.5000505@bulinfo.net> > Krassimir Slavchev writes: > : Hello, > : > : I've read that SD is not supported by qdmmc and now qdmmc does not exist > : in the source tree. > : Are the SD cards supported by mmcsd driver? > > Yes. The qdmmc driver is no more. The at91_mci driver is the host > adapter driver, mmc is the bus, and mmcsd is support for mmc/sd cards > (although only sd will work at the moment due to lack of hardware). > > Good! I am going to investigate why my SD card is not detected. dmesg says only: at91_mci0: Setting controller bus width to 1 at91_mci0: Setting controller bus width to 1 at91_mci0: Setting controller bus width to 1 at91_mci0: Setting controller bus width to 1 mmc0: setting transfer rate to 30.000MHz at91_mci0: Setting controller bus width to 1 > : Also what this line in dmesg means: > : 'Cannot get 100 Hz clock; using 100Hz' > : May be something is not initialized? > > No, that just means you can't divide 32768 by 100 evenly. > > Warner > > And another problem: ate0: mem 0xdffbc000-0xdffbffff irq 24 on atmelarm0 ate0: Cannot find my PHY. device_attach: ate0 attach returned 6 Looks like nothing on miibus. Very strange because the bootspi is able to boot from tftp server. The PHY is RTL8201CP and I use rlphy driver which is for RTL8201L. Any hints where to look? Thanks in advance