hi Jaehoon Chung
in the previous email I try to reduce search of error. This is the
seriel output with enabled CONFIG_MMC_TRACE.
U-Boot 2015.04-rc2 (Jun 26 2015 - 09:46:24)
CPU: Exynos4412@1000MHz
Model: Odroid based on Exynos4412
DRAM: 2 GiB
Board PMIC init
MMC: SAMSUNG SDHCI: 0, EXYNOS DWMMC: 1
CMD_SEND:0
ARG 0x00000000
MMC_RSP_NONE
CMD_SEND:8
ARG 0x000001AA
MMC_RSP_R1,5,6,7 0x000001AA
CMD_SEND:55
ARG 0x00000000
MMC_RSP_R1,5,6,7 0x00000120
CMD_SEND:41
ARG 0x40300000
MMC_RSP_R3,4 0x00FF8000
CMD_SEND:55
ARG 0x00000000
MMC_RSP_R1,5,6,7 0x00000120
CMD_SEND:41
ARG 0x40300000
MMC_RSP_R3,4 0xC0FF8000
CMD_SEND:2
ARG 0x00000000
MMC_RSP_R2 0x744A4553
0x44432020
0x1033005B
0x8700E100
DUMPING DATA
000 - 74 4A 45 53
004 - 44 43 20 20
008 - 10 33 00 5B
012 - 87 00 E1 00
CMD_SEND:3
ARG 0x00000000
MMC_RSP_R1,5,6,7 0xB3680520
CMD_SEND:9
ARG 0xB3680000
MMC_RSP_R2 0x400E0032
0x5B590000
0x3C1D7F80
0x0A400000
DUMPING DATA
000 - 40 0E 00 32
004 - 5B 59 00 00
008 - 3C 1D 7F 80
012 - 0A 40 00 00
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
MMC_RSP_R1,5,6,7 0x00000920
CMD_SEND:6
ARG 0x00000002
MMC_RSP_R1,5,6,7 0x00000920
CMD_SEND:16
ARG 0x00000200
MMC_RSP_R1,5,6,7 0x00000900
CMD_SEND:17
ARG 0x00000000
sdhci_transfer_data: Error detected in status(0x208002)!
MMC_RSP_R1,5,6,7 0x00000900
CMD_SEND:16
ARG 0x00000200
MMC_RSP_R1,5,6,7 0x00000900
CMD_SEND:17
ARG 0x00000000
sdhci_transfer_data: Error detected in status(0x208002)!
MMC_RSP_R1,5,6,7 0x00000900
CMD_SEND:16
ARG 0x00000200
MMC_RSP_R1,5,6,7 0x00000900
CMD_SEND:18
ARG 0x00000A00
sdhci_transfer_data: Error detected in status(0x608000)!
MMC_RSP_R1,5,6,7 0x00000900
Using default environment
DFU alt info setting: done
Net: No ethernet found.
Hit any key to stop autoboot: 0
best regards
Alexy
On 06/26/2015 12:09 AM, Jaehoon Chung wrote:
Hi, Alexy.
On 06/25/2015 09:56 PM, Alexy Gallardo Segura wrote:
hi Jaehoon Chung
I use the CONFIG_MMC_TRACE in the method
static int sdhci_transfer_data(struct sdhci_host *host, struct mmc_data *data,
unsigned int start_addr)
on file sdhci.c.
How did you use the CONFIG_MMC_TRACE?
If CONFIG_MMC_TRACE is enabled, it should be printed messages in mmc.c.
(Try to print all debug messages.)
Then we can check which command is error. I will try to reproduce this.
Best Regards,
Jaehoon Chung
This is the output for debug of method. This output is using the
CONFIG_MMC_TRACE for complete method :
CPU: Exynos4412@1000MHz
Model: Odroid based on Exynos4412
DRAM: 2 GiB
Board PMIC init
MMC: SAMSUNG SDHCI: 0, EXYNOS DWMMC: 1
mmc fail to send stop cmd
Using default environment
DFU alt info setting: done
Net: No ethernet found.
Hit any key to stop autoboot: 0
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
mmc fail to send stop cmd
** ext4fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
For the CONFIG_MMC_TRACE for the part of method where is throws the error the
serial output is the next:
CPU: Exynos4412@1000MHz
Model: Odroid based on Exynos4412
DRAM: 2 GiB
Board PMIC init
MMC: SAMSUNG SDHCI: 0, EXYNOS DWMMC: 1
sdhci_transfer_data: Transfer data timeout
sdhci_transfer_data: Transfer data timeout
MMC init failed
Using default environment
DFU alt info setting: done
Net: No ethernet found.
Hit any key to stop autoboot: 0
sdhci_transfer_data: Transfer data timeout
** Bad device mmc 0 **
sdhci_transfer_data: Transfer data timeout
** Bad device mmc 0 **
sdhci_transfer_data: Transfer data timeout
** Bad device mmc 0 **
Odroid #
best regards
Alexy
On 06/24/2015 09:41 PM, Jaehoon Chung wrote:
Hi, Alexy.
On 06/25/2015 02:06 AM, Alexy Gallardo Segura wrote:
Hello everyone
I am currently working with the ODROID-x2 platform and the U-boot that was
using the u-boot by default, but support for the USB driver does not work well.
Then I started to use the version available at:
https://github.com/LeMaker/u-boot
The USB works well. Probe the network and SD_CARD memories but now is not
working for me. I am using an SD 8Gb.
Serious output is as follows:
U-Boot 2015.04-rc2 (Jun 24 2015 - 10:24:52)
CPU: Exynos4412@1000MHz
Model: Odroid based on Exynos4412
DRAM: 2 GiB
Board PMIC init
MMC: SAMSUNG SDHCI: 0, EXYNOS DWMMC: 1
sdhci_transfer_data: Error detected in status(0x208002)!
sdhci_transfer_data: Error detected in status(0x208002)!
sdhci_transfer_data: Error detected in status(0x208000)!
Using default environment
It seems that sd-card doesn't initialize completely.
-> "sdhci_transfer_data: Error detected in status(0x208000)!"
You can enable the MMC debug configuration.(CONFIG_MMC_TRACE)
Could you share the log message after enable CONFIG_MMC_TRACE?
Best Regards,
Jaehoon Chung
DFU alt info setting: done
Net: No ethernet found.
Hit any key to stop autoboot: 0
** ext4fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
** ext4fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
** ext4fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Odroid #
if someone knows something and I can help.
Regards
Alexy
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot