
Hello there,
I tried to get mmc working on a board using an at91sam9g20. The mmc-card is wired on slotb.
I applied the patches:
http://lists.denx.de/pipermail/u-boot/2009-September/060053.html http://lists.denx.de/pipermail/u-boot/2009-August/059456.html http://lists.denx.de/pipermail/u-boot/2009-September/060243.html
It didn't work as I always got (apart from the message of a too low clock which I avoided by setting f_min / f_max on my own):
mmc: command 8 failed (status: 0x0010c1e5) mmc: command 55 failed (status: 0x0010c1e5) mmc: command 1 failed (status: 0x0010c1e5) Card did not respond to voltage select!
So I had a look at linux sources and discovered that the MCI selected the wrong slot. After modifying atmel_mci_set_ios() to set SDCR to use slotb ("mmci_writel(SDCR, sdcr | 1);") I got my card working.
Hope this helps someone.
Regards
Sebastian Heutling