AnsweredAssumed Answered

mmcblk1: error -110 transferring data

Question asked by fang min on Jun 5, 2014
Latest reply on Aug 23, 2016 by Raana

hi, all

        i encountered a problem about SD card.

        when i insert a SD card,  the following error log in console.

-----------------------------------------------------------------------------------

mmc1: new high speed SDHC card at address e624

mmcblk1: mmc1:e624 SU08G 7.40 GiB

 

 

root@freescale ~$

root@freescale ~$ mmcblk1: error -110 transferring data, sector 0, nr 8, cmd response 0x900, card status 0xb00

mmcblk1: retrying using single block read

mmcblk1: error -110 transferring data, sector 0, nr 8, cmd response 0x900, card status 0x0

end_request: I/O error, dev mmcblk1, sector 0

mmcblk1: error -110 transferring data, sector 1, nr 7, cmd response 0x900, card status 0x0

end_request: I/O error, dev mmcblk1, sector 1

------------------------------------------------------------------------------------

 

my iomux setting is here:

//USDHC2

MX6DL_PAD_SD2_CLK__USDHC2_CLK,

MX6DL_PAD_SD2_CMD__USDHC2_CMD,

MX6DL_PAD_SD2_DAT0__USDHC2_DAT0,

MX6DL_PAD_SD2_DAT1__USDHC2_DAT1,

MX6DL_PAD_SD2_DAT2__USDHC2_DAT2,

MX6DL_PAD_SD2_DAT3__USDHC2_DAT3,

//SD2_CD

MX6DL_PAD_GPIO_4__GPIO_1_4,

//SD2_WP

MX6DL_PAD_GPIO_2__GPIO_1_2,

------------------------------------------------------------------

sd2_data  is here:

 

#define AUTO_SD2_CD IMX_GPIO_NR(1, 4)

#define AUTO_SD2_WP IMX_GPIO_NR(1, 2)

 

static const struct esdhc_platform_data mx6q_sd2_data __initconst = {

  .cd_gpio = AUTO_SD2_CD,

  .wp_gpio = AUTO_SD2_WP,

  .keep_power_at_suspend = 1,

  .support_8bit = 0,

  .delay_line = 0,

  .cd_type = ESDHC_CD_CONTROLLER,

  .runtime_pm = 1,

};

Outcomes