From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guillaume Gardet Date: Thu, 04 Dec 2014 10:11:14 +0100 Subject: [U-Boot] exynos: snow: external SD/MMC broken In-Reply-To: <5480148B.6050502@samsung.com> References: <547F2B0A.6010301@free.fr> <547FA83A.9040104@samsung.com> <5480148B.6050502@samsung.com> Message-ID: <54802531.8030309@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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