From: Rodolfo Giometti <giometti@linux.it>
To: linux-mips@linux-mips.org
Subject: Re: au1100 MMC support
Date: Wed, 9 Aug 2006 17:44:42 +0200 [thread overview]
Message-ID: <20060809154442.GA13145@enneenne.com> (raw)
In-Reply-To: <20060809133240.GA9690@enneenne.com>
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
prev parent reply other threads:[~2006-08-09 15:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-09 10:29 au1100 MMC support Rodolfo Giometti
2006-08-09 13:32 ` Rodolfo Giometti
2006-08-09 15:44 ` Rodolfo Giometti [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060809154442.GA13145@enneenne.com \
--to=giometti@linux.it \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox