From: jbe@pengutronix.de (Juergen Beisert)
To: linux-arm-kernel@lists.infradead.org
Subject: Using SD cards on Samsung S3C2410/S3C2440 based systems
Date: Sun, 20 Dec 2009 14:03:59 +0100 [thread overview]
Message-ID: <200912201404.00746.jbe@pengutronix.de> (raw)
In-Reply-To: <4B2E1D37.6030100@warmcat.com>
Hi Andy,
On Sonntag, 20. Dezember 2009, Andy Green wrote:
> >> and you looked with your scope that power is OK there from early boot
> >
> > I started to add some caps close to the socket. Now more cards are
> > working with a 2.6.32.2 kernel. But when I boot a 2.6.31 kernel instead,
> > some are still do not work. Curious.
>
> Where did you connect the caps and what value are they?
4u7 and 100n, at the power supply pins of the SD socket. But...
> Unless you have a very long bus to the SD Card, any caps on signal lines
> are just there to suppress EMI and are not required for operation.
>
> If you added a cap between power and ground at the socket and it started
> behaving better, I would remove the cap and watch the power carefully
> with a 'scope during boot.
...this seems not the problem...
> Also I would try the "thumb test" as a sanity check against the socket,
> try a bad card that never works with your thumb applying gentle pressure
> to the socket.
...I added some delays to the driver, when it switches the clocks. You are
right: The driver states "switching to 400kHz" ----- but nothing happen!
There is no clock at the SD card! Not till it switches to the 25MHz clock. It
seems the driver is bogus (current 2.6.32.2). Time for bug hunting now. :-)
Thanks for pointing me to the right direction.
Regards
Juergen
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | Phone: +49-8766-939 228 |
Vertretung Sued/Muenchen, Germany | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de/ |
next prev parent reply other threads:[~2009-12-20 13:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-15 13:43 Using SD cards on Samsung S3C2410/S3C2440 based systems Juergen Beisert
2009-12-15 17:31 ` Andy Green
2009-12-20 12:22 ` Juergen Beisert
2009-12-20 12:48 ` Andy Green
2009-12-20 13:03 ` Juergen Beisert [this message]
2009-12-20 13:02 ` Andy Green
2009-12-20 13:14 ` Juergen Beisert
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=200912201404.00746.jbe@pengutronix.de \
--to=jbe@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
/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;
as well as URLs for NNTP newsgroup(s).