All of lore.kernel.org
 help / color / mirror / Atom feed
From: Siarhei Siamashka <siarhei.siamashka@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Bisected "sdhci_transfer_data: Error detected in status(0x208002)!" problem on ODROID-X
Date: Tue, 20 Oct 2015 04:57:02 +0300	[thread overview]
Message-ID: <20151020045703.6a452396@i7> (raw)

Hello,

Currently SD card support seems to be broken at least on the ODROID-X
board in U-Boot v2015.10. Checking older U-Boot releases shows that
it used to work in v2014.10, and bisecting points to the commit
a276172cf32386c211c75638f6bf3c0d59ba03ba ("arm: exynos: fix the
div value for set_mmc_clk"):
    http://git.denx.de/?p=u-boot.git;a=commitdiff;h=a276172cf32386c211c75638f6bf3c0d59ba03ba

Reverting this commit resolves the problem and the SD card starts
working properly.

As an extra test, I also tried to add debugging print at the end of the
exynos4_set_mmc_clk() function, so that it calls exynos4_get_mmc_clk()
with the original 'dev_index' and reports the resulting mmc clock
speed. After reverting the patch, the reported value is 50MHz. Before
reverting it, the reported value was 100MHz. This is a Transcend
class 6 SDHC card.

Is this enough information or should I check something else?

-- 
Best regards,
Siarhei Siamashka

             reply	other threads:[~2015-10-20  1:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-20  1:57 Siarhei Siamashka [this message]
2015-10-22  2:57 ` [U-Boot] Bisected "sdhci_transfer_data: Error detected in status(0x208002)!" problem on ODROID-X Jaehoon Chung
2015-10-22 10:08   ` Siarhei Siamashka

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=20151020045703.6a452396@i7 \
    --to=siarhei.siamashka@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.