This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux: SD card detected issue

Other Parts Discussed in Thread: DM385

Tool/software: Linux

Hi all,

I have a custom board with DM385 and  I am running 2.6.37 kernel. 

My problem is that the kernel doesn't detect the SD Card when its booting.

Following are the debug messages for MMC.

Could someone point me to which file to modify? or Is there a flowchart of kernel file chain that would show me which file/function linux kernel calls?

omap-iommu omap-iommu.0: ducati registered
omap-iommu omap-iommu.1: sys registered
mice: PS/2 mouse device common for all mice
mmci-omap-hs mmci-omap-hs.0: mmc_fclk: enabled
mmci-omap-hs mmci-omap-hs.0: context was not lost
mmc0: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0
mmci-omap-hs mmci-omap-hs.0: mmc_fclk: disabled
mmci-omap-hs mmci-omap-hs.1: mmc_fclk: enabled
mmci-omap-hs mmci-omap-hs.1: context was not lost
mmc1: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0
mmci-omap-hs mmci-omap-hs.1: mmc_fclk: disabled
mmci-omap-hs mmci-omap-hs.0: mmc_fclk: enabled
mmci-omap-hs mmci-omap-hs.0: context was not lost
mmc0: mmc_rescan: trying to init card at 400000 Hz
mmc0: clock 0Hz busmode 1 powermode 1 cs 0 Vdd 7 width 0 timing 0
mmc0: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 7 width 0 timing 0
mmc0: starting CMD52 arg 00000c00 flags 00000195
mmci-omap-hs mmci-omap-hs.0: mmc0: CMD52, argument 0x00000c00
mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
mmc0: req done (CMD52): -110: 00000000 00000000 00000000 00000000
mmc0: starting CMD52 arg 80000c08 flags 00000195
mmci-omap-hs mmci-omap-hs.0: mmc0: CMD52, argument 0x80000c08
mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
mmc0: req done (CMD52): -110: 00000000 00000000 00000000 00000000
mmc0: clock 400000Hz busmode 1 powermode 2 cs 1 Vdd 7 width 0 timing 0
mmc0: starting CMD0 arg 00000000 flags 000000c0
mmci-omap-hs mmci-omap-hs.0: mmc0: CMD0, argument 0x00000000
mmci-omap-hs mmci-omap-hs.0: IRQ Status is 1
mmc0: req done (CMD0): 0: 00000000 00000000 00000000 00000000
mmc0: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 7 width 0 timing 0
mmc0: starting CMD8 arg 000000aa flags 000002f5
mmci-omap-hs mmci-omap-hs.0: mmc0: CMD8, argument 0x000000aa
mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
mmc0: req done (CMD8): -110: 00000000 00000000 00000000 00000000
mmc0: starting CMD5 arg 00000000 flags 000002e1
mmci-omap-hs mmci-omap-hs.0: mmc0: CMD5, argument 0x00000000
mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
mmc0: req failed (CMD5): -110, retrying...
mmci-omap-hs mmci-omap-hs.0: mmc0: CMD5, argument 0x00000000
mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
mmc0: req failed (CMD5): -110, retrying...
mmci-omap-hs mmci-omap-hs.0: mmc0: CMD5, argument 0x00000000
mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
mmc0: req failed (CMD5): -110, retrying...
mmci-omap-hs mmci-omap-hs.0: mmc0: CMD5, argument 0x00000000
mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
mmc0: req done (CMD5): -110: 00000000 00000000 00000000 00000000
mmc0: starting CMD55 arg 00000000 flags 000000f5
mmci-omap-hs mmci-omap-hs.0: mmc0: CMD55, argument 0x00000000
mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000
mmc0: starting CMD55 arg 00000000 flags 000000f5
mmci-omap-hs mmci-omap-hs.0: mmc0: CMD55, argument 0x00000000
mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000
mmc0: starting CMD55 arg 00000000 flags 000000f5
mmci-omap-hs mmci-omap-hs.0: mmc0: CMD55, argument 0x00000000
mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000
mmc0: starting CMD55 arg 00000000 flags 000000f5
mmci-omap-hs mmci-omap-hs.0: mmc0: CMD55, argument 0x00000000
mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000
mmc0: starting CMD1 arg 00000000 flags 000000e1
mmci-omap-hs mmci-omap-hs.0: mmc0: CMD1, argument 0x00000000
mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
mmc0: req done (CMD1): -110: 00000000 00000000 00000000 00000000
mmc0: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0
mmci-omap-hs mmci-omap-hs.0: mmc_fclk: disabled
mmci-omap-hs mmci-omap-hs.0: mmc_fclk: enabled
mmci-omap-hs mmci-omap-hs.0: context was not lost
mmci-omap-hs mmci-omap-hs.1: mmc_fclk: enabled
mmci-omap-hs mmci-omap-hs.1: context was not lost
mmci-omap-hs mmci-omap-hs.1: mmc_fclk: disabled
mmci-omap-hs mmci-omap-hs.0: mmc_fclk: disabled

Best regards,

Byron

  • Hi Sir,

    We have the two custom boards.one board connect the micro sd card.another connect general sd card.The MMC configuration of them are MMC0/wifi and MMC1/sd card. Hardware of MMC design are the same.

    The board with micro sd have the wifi module and another one have no wifi module temporality.it was reserved in the future.

    our mmc information are as below.

    static struct omap2_hsmmc_info mmc[] = {
    {
    .mmc = 1,
    .caps = MMC_CAP_4_BIT_DATA | MMC_CAP_POWER_OFF_CARD,
    .gpio_cd = -EINVAL,
    .gpio_wp = -EINVAL,
    .ocr_mask = MMC_VDD_165_195,
    .nonremovable = true,
    },
    {
    .mmc = 2,
    .caps = MMC_CAP_4_BIT_DATA,// | MMC_CAP_NEEDS_POLL,
    .gpio_cd = -EINVAL, /* Dedicated pins for CD and WP */
    .gpio_wp = -EINVAL,
    .ocr_mask = MMC_VDD_33_34,
    },
    {} /* Terminator */
    };

    We upgrade the same firmware in them.

    After booting,the SD card can be detected in micro sd card board but can not work in sd card board.but it worked in the uboot mode.because I can update the firmware.

    The kernel message of micro sd card board are as below.

    mmc1: CMD12, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 3
    mmc1: req done (CMD18): 0: 00000900 00000000 00000000 00000000
    mmc1: 65536 bytes transferred: 0
    mmc1: (CMD12): 0: 00000b00 00000000 00000000 00000000
    mmc1: starting CMD18 arg 0000345f flags 000000b5
    mmc1: blksz 512 blocks 128 flags 00000200 tsac 100 ms nsac 0
    mmc1: CMD12 arg 00000000 flags 0000049d
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD18, argument 0x0000345f
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 2
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD12, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 3
    mmc1: req done (CMD18): 0: 00000900 00000000 00000000 00000000
    mmc1: 65536 bytes transferred: 0
    mmc1: (CMD12): 0: 00000b00 00000000 00000000 00000000
    mmc1: starting CMD18 arg 000034df flags 000000b5
    mmc1: blksz 512 blocks 128 flags 00000200 tsac 100 ms nsac 0
    mmc1: CMD12 arg 00000000 flags 0000049d
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD18, argument 0x000034df
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 2
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD12, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 3
    mmc1: req done (CMD18): 0: 00000900 00000000 00000000 00000000
    mmc1: 65536 bytes transferred: 0
    mmc1: (CMD12): 0: 00000b00 00000000 00000000 00000000
    mmc1: starting CMD18 arg 0000355f flags 000000b5
    mmc1: blksz 512 blocks 128 flags 00000200 tsac 100 ms nsac 0
    mmc1: CMD12 arg 00000000 flags 0000049d
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD18, argument 0x0000355f
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 2
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD12, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 3
    mmc1: req done (CMD18): 0: 00000900 00000000 00000000 00000000
    mmc1: 65536 bytes transferred: 0
    mmc1: (CMD12): 0: 00000b00 00000000 00000000 00000000
    mmc1: starting CMD18 arg 000035df flags 000000b5
    mmc1: blksz 512 blocks 128 flags 00000200 tsac 100 ms nsac 0
    mmc1: CMD12 arg 00000000 flags 0000049d
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD18, argument 0x000035df
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 2
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD12, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 3
    mmc1: req done (CMD18): 0: 00000900 00000000 00000000 00000000
    mmc1: 65536 bytes transferred: 0
    mmc1: (CMD12): 0: 00000b00 00000000 00000000 00000000
    mmc1: starting CMD18 arg 0000365f flags 000000b5
    mmc1: blksz 512 blocks 128 flags 00000200 tsac 100 ms nsac 0
    mmc1: CMD12 arg 00000000 flags 0000049d
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD18, argument 0x0000365f
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 2
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD12, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 3
    mmc1: req done (CMD18): 0: 00000900 00000000 00000000 00000000
    mmc1: 65536 bytes transferred: 0
    mmc1: (CMD12): 0: 00000b00 00000000 00000000 00000000
    mmc1: starting CMD18 arg 000036df flags 000000b5
    mmc1: blksz 512 blocks 128 flags 00000200 tsac 100 ms nsac 0
    mmc1: CMD12 arg 00000000 flags 0000049d
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD18, argument 0x000036df
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 2
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD12, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 3
    mmc1: req done (CMD18): 0: 00000900 00000000 00000000 00000000
    mmc1: 65536 bytes transferred: 0
    mmc1: (CMD12): 0: 00000b00 00000000 00000000 00000000
    mmc1: starting CMD18 arg 0000375f flags 000000b5
    mmc1: blksz 512 blocks 128 flags 00000200 tsac 100 ms nsac 0
    mmc1: CMD12 arg 00000000 flags 0000049d
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD18, argument 0x0000375f
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 2
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD12, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 3
    mmc1: req done (CMD18): 0: 00000900 00000000 00000000 00000000
    mmc1: 65536 bytes transferred: 0
    mmc1: (CMD12): 0: 00000b00 00000000 00000000 00000000
    mmc1: starting CMD18 arg 000037df flags 000000b5
    mmc1: blksz 512 blocks 128 flags 00000200 tsac 100 ms nsac 0
    mmc1: CMD12 arg 00000000 flags 0000049d
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD18, argument 0x000037df
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 2
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD12, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 3
    mmc1: req done (CMD18): 0: 00000900 00000000 00000000 00000000
    mmc1: 65536 bytes transferred: 0
    mmc1: (CMD12): 0: 00000b00 00000000 00000000 00000000
    mmc1: starting CMD18 arg 0000385f flags 000000b5
    mmc1: blksz 512 blocks 128 flags 00000200 tsac 100 ms nsac 0
    mmc1: CMD12 arg 00000000 flags 0000049d
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD18, argument 0x0000385f
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 2
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD12, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 3
    mmc1: req done (CMD18): 0: 00000900 00000000 00000000 00000000
    mmc1: 65536 bytes transferred: 0
    mmc1: (CMD12): 0: 00000b00 00000000 00000000 00000000
    mmc1: starting CMD18 arg 000038df flags 000000b5
    mmc1: blksz 512 blocks 128 flags 00000200 tsac 100 ms nsac 0
    mmc1: CMD12 arg 00000000 flags 0000049d
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD18, argument 0x000038df
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 2
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD12, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 3
    mmc1: req done (CMD18): 0: 00000900 00000000 00000000 00000000
    mmc1: 65536 bytes transferred: 0
    mmc1: (CMD12): 0: 00000b00 00000000 00000000 00000000
    mmc1: starting CMD18 arg 0000395f flags 000000b5
    mmc1: blksz 512 blocks 128 flags 00000200 tsac 100 ms nsac 0
    mmc1: CMD12 arg 00000000 flags 0000049d
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD18, argument 0x0000395f
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 2
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD12, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 3
    mmc1: req done (CMD18): 0: 00000900 00000000 00000000 00000000
    mmc1: 65536 bytes transferred: 0
    mmc1: (CMD12): 0: 00000b00 00000000 00000000 00000000
    mmc1: starting CMD18 arg 000039df flags 000000b5
    mmc1: blksz 512 blocks 128 flags 00000200 tsac 100 ms nsac 0
    mmc1: CMD12 arg 00000000 flags 0000049d
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD18, argument 0x000039df
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 2
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD12, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 3
    mmc1: req done (CMD18): 0: 00000900 00000000 00000000 00000000
    mmc1: 65536 bytes transferred: 0
    mmc1: (CMD12): 0: 00000b00 00000000 00000000 00000000
    mmc1: starting CMD18 arg 00003a5f flags 000000b5
    mmc1: blksz 512 blocks 128 flags 00000200 tsac 100 ms nsac 0
    mmc1: CMD12 arg 00000000 flags 0000049d
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD18, argument 0x00003a5f
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 2
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD12, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 3
    mmc1: req done (CMD18): 0: 00000900 00000000 00000000 00000000
    mmc1: 65536 bytes transferred: 0
    mmc1: (CMD12): 0: 00000b00 00000000 00000000 00000000
    mmc1: starting CMD18 arg 00003adf flags 000000b5
    mmc1: blksz 512 blocks 128 flags 00000200 tsac 100 ms nsac 0
    mmc1: CMD12 arg 00000000 flags 0000049d
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD18, argument 0x00003adf
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 2
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD12, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 3
    mmc1: req done (CMD18): 0: 00000900 00000000 00000000 00000000
    mmc1: 65536 bytes transferred: 0
    mmc1: (CMD12): 0: 00000b00 00000000 00000000 00000000
    mmc1: starting CMD18 arg 00003b5f flags 000000b5
    mmc1: blksz 512 blocks 123 flags 00000200 tsac 100 ms nsac 0
    mmc1: CMD12 arg 00000000 flags 0000049d
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD18, argument 0x00003b5f
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 2
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD12, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 3
    mmc1: req done (CMD18): 0: 00000900 00000000 00000000 00000000
    mmc1: 62976 bytes transferred: 0
    mmc1: (CMD12): 0: 00000b00 00000000 00000000 00000000
    mmci-omap-hs mmci-omap-hs.1: mmc_fclk: disabled
    mmci-omap-hs mmci-omap-hs.1: mmc_fclk: enabled
    mmci-omap-hs mmci-omap-hs.1: context was not lost
    mmc1: starting CMD18 arg 00000080 flags 000000b5
    mmc1: blksz 512 blocks 128 flags 00000200 tsac 100 ms nsac 0
    mmc1: CMD12 arg 00000000 flags 0000049d
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD18, argument 0x00000080
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 2
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD12, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 3
    mmc1: req done (CMD18): 0: 00000900 00000000 00000000 00000000
    mmc1: 65536 bytes transferred: 0
    mmc1: (CMD12): 0: 00000b00 00000000 00000000 00000000
    mmc1: starting CMD18 arg 00000000 flags 000000b5
    mmc1: blksz 512 blocks 128 flags 00000200 tsac 100 ms nsac 0
    mmc1: CMD12 arg 00000000 flags 0000049d
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD18, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 2
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD12, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 3
    mmc1: req done (CMD18): 0: 00000900 00000000 00000000 00000000
    mmc1: 65536 bytes transferred: 0
    mmc1: (CMD12): 0: 00000b00 00000000 00000000 00000000
    mmci-omap-hs mmci-omap-hs.1: mmc_fclk: disabled
    mmci-omap-hs mmci-omap-hs.1: mmc_fclk: enabled
    mmci-omap-hs mmci-omap-hs.1: context was not lost
    mmc1: starting CMD18 arg 00000041 flags 000000b5
    mmc1: blksz 512 blocks 6 flags 00000200 tsac 100 ms nsac 0
    mmc1: CMD12 arg 00000000 flags 0000049d
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD18, argument 0x00000041
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 2
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD12, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 3
    mmc1: req done (CMD18): 0: 00000900 00000000 00000000 00000000
    mmc1: 3072 bytes transferred: 0
    mmc1: (CMD12): 0: 00000b00 00000000 00000000 00000000
    mmc1: starting CMD18 arg 00000047 flags 000000b5
    mmc1: blksz 512 blocks 24 flags 00000200 tsac 100 ms nsac 0
    mmc1: CMD12 arg 00000000 flags 0000049d
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD18, argument 0x00000047
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 2
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD12, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 3
    mmc1: req done (CMD18): 0: 00000900 00000000 00000000 00000000
    mmc1: 12288 bytes transferred: 0
    mmc1: (CMD12): 0: 00000b00 00000000 00000000 00000000

    =======================================================================
    The kernel message of sd card board are as below

    mmc0: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 7 width 0 timing 0
    mmc0: starting CMD52 arg 00000c00 flags 00000195
    mmci-omap-hs mmci-omap-hs.0: mmc0: CMD52, argument 0x00000c00
    mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
    mmc0: req done (CMD52): -110: 00000000 00000000 00000000 00000000
    mmc0: starting CMD52 arg 80000c08 flags 00000195
    mmci-omap-hs mmci-omap-hs.0: mmc0: CMD52, argument 0x80000c08
    mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
    mmc0: req done (CMD52): -110: 00000000 00000000 00000000 00000000
    mmc0: clock 400000Hz busmode 1 powermode 2 cs 1 Vdd 7 width 0 timing 0
    mmc0: starting CMD0 arg 00000000 flags 000000c0
    mmci-omap-hs mmci-omap-hs.0: mmc0: CMD0, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.0: IRQ Status is 1
    mmc0: req done (CMD0): 0: 00000000 00000000 00000000 00000000
    mmc0: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 7 width 0 timing 0
    mmc0: starting CMD8 arg 000000aa flags 000002f5
    mmci-omap-hs mmci-omap-hs.0: mmc0: CMD8, argument 0x000000aa
    mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
    mmc0: req done (CMD8): -110: 00000000 00000000 00000000 00000000
    mmc0: starting CMD5 arg 00000000 flags 000002e1
    mmci-omap-hs mmci-omap-hs.0: mmc0: CMD5, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
    mmc0: req failed (CMD5): -110, retrying...
    mmci-omap-hs mmci-omap-hs.0: mmc0: CMD5, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
    mmc0: req failed (CMD5): -110, retrying...
    mmci-omap-hs mmci-omap-hs.0: mmc0: CMD5, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
    mmc0: req failed (CMD5): -110, retrying...
    mmci-omap-hs mmci-omap-hs.0: mmc0: CMD5, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
    mmc0: req done (CMD5): -110: 00000000 00000000 00000000 00000000
    mmc0: starting CMD55 arg 00000000 flags 000000f5
    mmci-omap-hs mmci-omap-hs.0: mmc0: CMD55, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
    mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000
    mmc0: starting CMD55 arg 00000000 flags 000000f5
    mmci-omap-hs mmci-omap-hs.0: mmc0: CMD55, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
    mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000
    mmc0: starting CMD55 arg 00000000 flags 000000f5
    mmci-omap-hs mmci-omap-hs.0: mmc0: CMD55, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
    mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000
    mmc0: starting CMD55 arg 00000000 flags 000000f5
    mmci-omap-hs mmci-omap-hs.0: mmc0: CMD55, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
    mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000
    mmc0: starting CMD1 arg 00000000 flags 000000e1
    mmci-omap-hs mmci-omap-hs.0: mmc0: CMD1, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
    mmc0: req done (CMD1): -110: 00000000 00000000 00000000 00000000
    mmc0: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0
    mmci-omap-hs mmci-omap-hs.0: mmc_fclk: disabled
    mmci-omap-hs mmci-omap-hs.0: mmc_fclk: enabled
    mmci-omap-hs mmci-omap-hs.0: context was not lost
    mmci-omap-hs mmci-omap-hs.1: mmc_fclk: enabled
    mmci-omap-hs mmci-omap-hs.1: context was not lost
    mmci-omap-hs mmci-omap-hs.1: mmc_fclk: disabled
    mmci-omap-hs mmci-omap-hs.0: mmc_fclk: disabled

    Please help,How can we debug this issue?thanks.

    Best Regards,

    Byron