Re: au1100 MMC support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx
Linux Device Driver                             giometti@xxxxxxxxx
Embedded Systems                     		giometti@xxxxxxxx
UNIX programming                     phone:     +39 349 2432127


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux