Re: TR: Neep help with my MMC driver ...
From: Pierre Ossman
Date: Fri Jul 20 2007 - 10:00:47 EST
On Fri, 20 Jul 2007 15:44:18 +0200
"Pierre Savary" <pierre.savary@xxxxxxxxxx> wrote:
> Hi,
>
>
>
> I permit me to send you a mail because I've seen on the net that you
> have work around MMC.
Well, I am the maintainer ;)
Also, you should include the LKML for these discussions.
>
> Linux 2.6.21+patch.AT91 run on my AT91sam9260. I must use the MMC.
> But it doesn't work . and I try since the begin of this week !!!!!!!!
> This is what I do :
>
>
*snip*
>
> $ mknod /dev/mmc b 254 0
>
Make sure this is the correct major. You can find it in /proc/devices.
*snip*
>
> Sending command 1 as 00001041, arg = 00000000, blocks = 0, length = 0
> (MR = 00008384)
>
> setting ier to 00000001
>
> MCI irq: status = 0001C0E4, C07F0001, 00010000
>
> MMC: Response index error
>
> Completed command
>
> Status = 0009C0E4 [00000000 00000000 00000000 00000000]
>
> Error detected and set to 4 (cmd = 1, retries = 0)
>
> mmc0: req done (CMD1): 4/0/0: 00000000 00000000 00000000 00000000
>
> mmc0: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0
>
> MMC: Setting controller bus width to 1
>
All your commands are failing, oddly enough with "response index
error". I'm not familiar with the AT91 controller, so I'm adding
Nicolas Ferre, the AT91 maintainer, to this discussion.
Rgds
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/