From: Sebastian Heutling <heutling@who-ing.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3] AT91: Add SD/MMC controller support
Date: Thu, 1 Oct 2009 09:22:02 +0200 [thread overview]
Message-ID: <4AC4589A.9000408@who-ing.de> (raw)
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
next reply other threads:[~2009-10-01 7:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-01 7:22 Sebastian Heutling [this message]
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
-- strict thread matches above, loose matches on Subject: below --
2009-09-05 12:23 [U-Boot] [PATCH v2] AT91: Add SD/MMC controller support Albin Tonnerre
2009-09-08 20:39 ` [U-Boot] [PATCH v3] " Albin Tonnerre
2009-11-22 21:17 ` Wolfgang Denk
2009-11-23 19:42 ` Albin Tonnerre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AC4589A.9000408@who-ing.de \
--to=heutling@who-ing.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.