linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SD card timeout problems on Nokia N900 (omap_hsmmc on OMAP3)
@ 2014-02-25 23:47 Sebastian Reichel
  2014-02-26  6:02 ` Michael Trimarchi
  0 siblings, 1 reply; 5+ messages in thread
From: Sebastian Reichel @ 2014-02-25 23:47 UTC (permalink / raw)
  To: Balaji T K; +Cc: linux-omap, linux-mmc

[-- Attachment #1: Type: text/plain, Size: 1105 bytes --]

Hi,

I have problems with the SD-card initialization on my Nokia N900
using a 3.14-rc1 based kernel in DT boot mode. The bug is can be
circumvented by changing the kernel slightly (e.g. remove some DT
nodes or mark them as disabled). So the SD card's timeout problems
seem to derive from kernel timing problems. I'm pretty sure, that
the problems are not originating from a broken SD card, since

 1. The SD card worked quite good before and still does depending
    on unrelated DTS changes (=> loading less drivers).
 2. The SD card works flawlessly on my notebook using a USB adapter
 3. Another SD card showed the same problem

I tried to git bisect the problem, but I just get shown some
unrelated driver additions.

Anyways, this is the error I get during boot:

[    3.896820] mmc0: mmc_rescan_try_freq: trying to init card at 400000 Hz
...
[    5.956237] mmc0: error -110 whilst initialising SD card

I added some debug prints to trace the error:

 * mmc_sd_init_card()
 * mmc_sd_get_cid()
 * mmc_send_app_op_cond()

Can you give me any hints how to find & fix the problem's source?

-- Sebastian

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

end of thread, other threads:[~2014-02-26 17:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-25 23:47 SD card timeout problems on Nokia N900 (omap_hsmmc on OMAP3) Sebastian Reichel
2014-02-26  6:02 ` Michael Trimarchi
2014-02-26  6:55   ` Stefan Roese
2014-02-26  8:44     ` Balaji T K
2014-02-26 17:03       ` Tony Lindgren

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).