public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Guillaume Gardet <guillaume.gardet@free.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot] exynos: snow: external SD/MMC broken
Date: Thu, 04 Dec 2014 10:11:14 +0100	[thread overview]
Message-ID: <54802531.8030309@free.fr> (raw)
In-Reply-To: <5480148B.6050502@samsung.com>


Le 04/12/2014 09:00, Jaehoon Chung a ?crit :
> Hi, GUillaume
>
> On 12/04/2014 09:18 AM, Minkyu Kang wrote:
>> + Jaehoon Chung
>>
>> On 04/12/14 00:23, Guillaume Gardet wrote:
>>> Hi,
>>>
>>> while trying latest u-boot GIT on snow (Google Chromebook ARM), I encountered some problems with external SD card.
>>> I cannot access to external SD card ('mmc dev 1' just returns 'Card did not respond to voltage select!' and then 'Timeout') whereas I have access to internal eMMC (with 'mmc dev 0').
> Did you check SD-card's power and clock line? "Timeout" is not important.

I cannot, it is a laptop, not a dev board. :(

>
>>> Any idea what could be the problem?
> You can enable CONFIG_MMC_TRACE, and you can also print debug message into dw-mmc.c
> Could you share it?

mmc dev 1 returns lots of things and I cannot scroll the screen and I cannot redirect cmd output to a file (could I?). (I have no serial cable).
Here is the end of the log on 1st try (when booted from USB stick):
********************************************************************************
....
CMD_SEND:3
                         ARG                               0x00000000
                         MMC_RSP_R1,5,6,7        0xB3680520
CMD_SEND:9
                         ARG                               0xB3680000
                         MMC_RSP_R2                 0x400E0032
0x5B590000
0x3C1D7F80
0x0A400063

DUMPING DATA
                                                               000 - 40 0E 00 32
                                                               004 - 5B 59 00 00
                                                               008 - 3C 1D 7F 80
                                                               012 - 0A 40 00 63
CMD_SEND:13
                         ARG                               0xB3680000
                         MMC_RSP_R1,5,6,7        0x00000700
CURR_STATE:3
CMD_SEND:7
                         ARG                               0xB3680000
                         MMC_RSP_R1,5,6,7        0x00000700
CMD_SEND:55
                         ARG                               0xB3680000
                         MMC_RSP_R1,5,6,7        0x00000920
CMD_SEND:51
                         ARG                               0x00000000
                         MMC_RSP_R1,5,6,7        0x00000920
CMD_SEND:6
                         ARG                               0x00FFFFF1
                         MMC_RSP_R1,5,6,7        0x00000900
CMD_SEND:6
                         ARG                               0x80FFFFF1
                         MMC_RSP_R1,5,6,7        0x00000900
CMD_SEND:55
                         ARG                               0xB3680000
dwmci_send_cmd: Response Error.
                         MMC_RSP_R1,5,6,7        0x00000700
********************************************************************************

Next tries always returns:
********************************************************************************
CMD_SEND:0
                         ARG                               0x00000000
dwmci_send_cmd: Timeout.
                         MMC_RSP_NONE
********************************************************************************



When I boot from SD card (u-boot chainload), on 1st try, it returns:
********************************************************************************
CMD_SEND:0
                         ARG                               0x00000000
                         MMC_RSP_NONE
CMD_SEND:8
                         ARG                               0x000001AA
dwmci_send_cmd: Response Error.
                         MMC_RSP_R1,5,6,7        0x00000008
CMD_SEND:55
                         ARG                               0x00000000
dwmci_send_cmd: Response Error.
                         MMC_RSP_R1,5,6,7        0x00000008
********************************************************************************


Guillaume

  reply	other threads:[~2014-12-04  9:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-03 15:23 [U-Boot] exynos: snow: external SD/MMC broken Guillaume Gardet
2014-12-04  0:18 ` Minkyu Kang
2014-12-04  8:00   ` Jaehoon Chung
2014-12-04  9:11     ` Guillaume Gardet [this message]
2014-12-04 18:11       ` Suriyan Ramasami

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=54802531.8030309@free.fr \
    --to=guillaume.gardet@free.fr \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox