Chris Ball <cjb@xxxxxxxxxx> wrote: > Hi Haavard, > > On Wed, Sep 15, 2010 at 10:59:00AM +0200, Haavard Skinnemoen wrote: > > Since the identification frequency was increased to 400 kHz, my > > ATSTK1000 board has not been able to initialize any MMC or SD cards. > > Reducing the identification mode frequency to 200 kHz fixes the problem. > > Good news -- there's already a patch to fix this in -mm. > > Please test http://article.gmane.org/gmane.linux.kernel.commits.mm/62969 > and let us know whether it works for you. It does, sort of. I get this: atmel_mci atmel_mci.0: Atmel MCI controller at 0xfff02400 irq 28, 1 slots mmc0: mmc_rescan: trying to init card at 400000 Hz Freeing init memory: 916K (90000000 - 900e5000) mmc0: mmc_rescan: trying to init card at 300000 Hz mmc0: mmc_rescan: trying to init card at 200000 Hz mmc0: mmc_rescan: trying to init card at 136719 Hz mmc0: host does not support reading read-only switch. assuming write-enable. mmc0: new SD card at address 1234 mmcblk0: mmc0:1234 SD1GB 972 MiB mmcblk0: p1 which is mostly ok, since it does succeed at initializing the card eventually, but it is somewhat surprising that it needs to go all the way down to 136 kHz. Usually, it works fine at 200 kHz. On the other hand, I did try something else before testing the 200 kHz patch: I enabled the internal pull-ups on the MMC lines. Turning them off again makes the card initialization fail at 200 kHz. So please ignore my patch, and let's go for Hein's patch instead. Haavard -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html