All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot]  [PATCH v3] AT91: Add SD/MMC controller support
@ 2009-10-01  7:22 Sebastian Heutling
  2009-10-01  7:59 ` [U-Boot] AT91 working SD with u-boot Konrad Mattheis
  0 siblings, 1 reply; 7+ messages in thread
From: Sebastian Heutling @ 2009-10-01  7:22 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-05-26 19:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-01  7:22 [U-Boot] [PATCH v3] AT91: Add SD/MMC controller support Sebastian Heutling
2009-10-01  7:59 ` [U-Boot] AT91 working SD with u-boot Konrad Mattheis
2009-10-01  8:25   ` Sebastian Heutling
2009-10-01  8:33     ` Konrad Mattheis
2009-10-01  9:28       ` Sebastian Heutling
2009-10-04 12:54         ` Albin Tonnerre
2010-05-26 19:03     ` Kalyan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.