linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sebastian Reichel <sre@ring0.de>
To: Balaji T K <balajitk@ti.com>
Cc: linux-omap@vger.kernel.org, linux-mmc@vger.kernel.org
Subject: SD card timeout problems on Nokia N900 (omap_hsmmc on OMAP3)
Date: Wed, 26 Feb 2014 00:47:46 +0100	[thread overview]
Message-ID: <20140225234746.GA13866@earth.universe> (raw)

[-- 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 --]

             reply	other threads:[~2014-02-25 23:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-25 23:47 Sebastian Reichel [this message]
2014-02-26  6:02 ` SD card timeout problems on Nokia N900 (omap_hsmmc on OMAP3) Michael Trimarchi
2014-02-26  6:55   ` Stefan Roese
2014-02-26  8:44     ` Balaji T K
2014-02-26 17:03       ` Tony Lindgren

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=20140225234746.GA13866@earth.universe \
    --to=sre@ring0.de \
    --cc=balajitk@ti.com \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux-omap@vger.kernel.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).