From: andy@warmcat.com (Andy Green)
To: linux-arm-kernel@lists.infradead.org
Subject: Using SD cards on Samsung S3C2410/S3C2440 based systems
Date: Tue, 15 Dec 2009 17:31:52 +0000 [thread overview]
Message-ID: <4B27C808.7080800@warmcat.com> (raw)
In-Reply-To: <200912151443.59761.jbe@pengutronix.de>
On 12/15/09 13:43, Somebody in the thread at some point said:
Hi Juergen -
> s3c2440-sdi s3c2440-sdi: running at 0kHz (requested: 0kHz).
> s3c2440-sdi s3c2440-sdi: running at 399kHz (requested: 400kHz).
> mmc0: new SD card at address 8d7e
> mmcblk0: mmc0:8d7e SD02G 1.83 GiB
> mmcblk0: p1 p2
>
> Any idea why most of the cards do not work?
-110 is timeout... it might be worth setting CONFIG_PRINTK_TIME and
looking to see what the real time looks like in both cases.
I guess you have the pullups on your PCB OK for the MMC bus (everything
except CLK), and you looked with your scope that power is OK there from
early boot and the signals look well-formed. (And the clock is 400kHz).
I noticed that at 115kbps console set on the kernel commandline on an
iMX31, I can cause SD Card boot we use to fail like you describe at the
moment just by setting loglevel=8 on the commandline. So try one of the
"bad" cards at loglevel=4 and see if that changes anything.
-Andy
next prev parent reply other threads:[~2009-12-15 17:31 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 [this message]
2009-12-20 12:22 ` Juergen Beisert
2009-12-20 12:48 ` Andy Green
2009-12-20 13:03 ` Juergen Beisert
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=4B27C808.7080800@warmcat.com \
--to=andy@warmcat.com \
--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).