From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Wed, 09 Aug 2006 16:43:42 +0100 (BST) Received: from 81-174-11-161.f5.ngi.it ([81.174.11.161]:19384 "EHLO mail.enneenne.com") by ftp.linux-mips.org with ESMTP id S20042425AbWHIPnl convert rfc822-to-8bit (ORCPT ); Wed, 9 Aug 2006 16:43:41 +0100 Received: from zaigor.enneenne.com ([192.168.32.1]) by mail.enneenne.com with esmtp (Exim 4.50) id 1GApEF-0000sC-Bf for linux-mips@linux-mips.org; Wed, 09 Aug 2006 16:40:15 +0200 Received: from giometti by zaigor.enneenne.com with local (Exim 4.60) (envelope-from ) id 1GAqEc-0004kY-AF for linux-mips@linux-mips.org; Wed, 09 Aug 2006 17:44:42 +0200 Date: Wed, 9 Aug 2006 17:44:42 +0200 From: Rodolfo Giometti To: linux-mips@linux-mips.org Message-ID: <20060809154442.GA13145@enneenne.com> References: <20060809102950.GA2531@enneenne.com> <20060809133240.GA9690@enneenne.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <20060809133240.GA9690@enneenne.com> Organization: GNU/Linux Device Drivers, Embedded Systems and Courses X-PGP-Key: gpg --keyserver keyserver.linux.it --recv-keys D25A5633 User-Agent: Mutt/1.5.12-2006-07-14 X-SA-Exim-Connect-IP: 192.168.32.1 X-SA-Exim-Mail-From: giometti@enneenne.com Subject: Re: au1100 MMC support X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:44:12 +0100) X-SA-Exim-Scanned: Yes (on mail.enneenne.com) Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 12256 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: giometti@linux.it Precedence: bulk X-list: linux-mips On Wed, Aug 09, 2006 at 03:32:40PM +0200, Rodolfo Giometti wrote: > > > mmc0: host does not support reading read-only switch. assuming write-enable. > > mmc0: starting CMD2 arg 00000000 flags 00000067 > > mmc0: req done (CMD2): 1/0/0: 00000000 00000000 00000000 00000000 > > mmc0: req done (CMD2): 1/0/0: 00000000 00000000 00000000 00000000 > > mmc0: req done (CMD2): 1/0/0: 00000000 00000000 00000000 00000000 > > mmc0: req done (CMD2): 1/0/0: 00000000 00000000 00000000 00000000 > > mmc0: clock 450000Hz busmode 2 powermode 2 cs 0 Vdd 15 width 0 > > mmc0: starting CMD9 arg 019a0000 flags 00000007 > > mmc0: req done (CMD9): 1/0/0: 00000000 00000000 00000000 00000000 > > mmc0: req done (CMD9): 1/0/0: 00000000 00000000 00000000 00000000 > > mmc0: req done (CMD9): 1/0/0: 00000000 00000000 00000000 00000000 > > mmc0: req done (CMD9): 1/0/0: 00000000 00000000 00000000 00000000 > > Here is the problem! I get no answer to CMD9 (CSD request) due a > timeout (sd0_status=0x3028080). Fixed. Here the patch in file drivers/mmc/au1xmmc.c: case MMC_RSP_R3: mmccmd |= SD_CMD_RT_3; break; + case MMC_RSP_R6: + mmccmd |= SD_CMD_RT_6; + break; } switch(cmd->opcode) { However the driver is still not functional since read/write operations on the MMC are broken. :'( Ciao, Rodolfo -- GNU/Linux Solutions e-mail: giometti@enneenne.com Linux Device Driver giometti@gnudd.com Embedded Systems giometti@linux.it UNIX programming phone: +39 349 2432127