From: Albin Tonnerre <albin.tonnerre@free-electrons.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] at91sam9g45ekes SDHC/MMC
Date: Tue, 16 Mar 2010 21:36:11 +0100 [thread overview]
Message-ID: <20100316203037.GA3783@pc-ran3241> (raw)
In-Reply-To: <dfbc12091003160530t35c1d04ese49b16964c0195fc@mail.gmail.com>
On Tue, 16 Mar 2010 08:30 -0400, Henry S?cart wrote :
> Here's the command I'm using and the output. I put a debugging statement in
> sd_init_card() after the for loop (HJS:).
>
> U-Boot> mmc init 0
> mmc: clock 150000 too low; setting CLKDIV to 255
> HJS: sd_init_card() mmc_acmd for loop finished. ret = -19, resp[0] =
> 0x6B200020
> No MMC card found
Err, well, that's weird. I have to admit I can't even guess whether it's
trying to read the right slot. Could you please:
1/ add a #define DEBUG at the top of drivers/mmc/atmel_mci.c
2/ get the output of mmc init (0 or 1 doesn't matter) for both CONFIG_ATMEL_MCI1
and !CONFIG_ATMEL_MCI1 (with the SD card staying in the same slot, of course)
3/ In the process, add a debug printf in the mci driver displaying the value of
MMCI_CR (you'd get that by calling mmci_readl(CR))
I'm sorry I can't help you further. Unfortunately I don't own such hardware, and
this kind of thing is rather hard to debug remotely.
Regards,
--
Albin Tonnerre, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2010-03-16 20:36 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-15 19:51 [U-Boot] at91sam9g45ekes SDHC/MMC Henry Súcart
2010-03-15 20:10 ` Albin Tonnerre
2010-03-15 21:40 ` Henry Súcart
2010-03-15 22:15 ` Albin Tonnerre
2010-03-16 12:30 ` Henry Súcart
2010-03-16 20:36 ` Albin Tonnerre [this message]
2010-03-16 22:08 ` Henry Súcart
2010-03-17 19:23 ` Henry Súcart
2010-04-06 9:57 ` Ulf Samuelsson
2010-04-12 13:55 ` Henry Súcart
2010-04-23 0:51 ` Rob Emanuele
2010-04-23 6:24 ` Samuelsson, Ulf
2010-04-23 21:58 ` Andy Fleming
2010-04-23 23:21 ` Albin Tonnerre
2010-04-24 1:18 ` Andy Fleming
2010-04-28 20:17 ` Robert Emanuele
2010-05-03 14:45 ` Henry Súcart
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=20100316203037.GA3783@pc-ran3241 \
--to=albin.tonnerre@free-electrons.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox