全部博文(198)
分类: LINUX
2018-09-26 15:23:50
用非高速卡(不带HC字样的),使用是完全没问题的,最高速度有16M/s。但是高速卡(有high capacity)的就出现如下错误:
[ 193.887832] mmc1: Timeout waiting for hardware interrupt.
[ 193.894750] mmcblk1: error -110 sending stop command, original cmd response 0x2000900, card status 0x2400900
[ 193.904770] mmcblk1: error -110 transferring data, sector 0, nr 8, cmd response 0x2000900, card status 0x0
[ 193.914979] mmcblk1: retrying using single block read
[ 203.927833] mmc1: Timeout waiting for hardware interrupt.
[ 203.935599] mmcblk1: error -110 transferring data, sector 0, nr 8, cmd response 0x2000900, card status 0x0
[ 203.945317] end_request: I/O error, dev mmcblk1, sector 0
[ 213.967814] mmc1: Timeout waiting for hardware interrupt.
[ 213.973644] mmcblk1: error -110 transferring data, sector 1, nr 7, cmd response 0x2000900, card status 0x0
[ 213.983381] end_request: I/O error, dev mmcblk1, sector 1
[ 224.007851] mmc1: Timeout waiting for hardware interrupt.
///////////////////////////////////////////////////////////////////
arch/arm/boot/dts/imx6qdl-sabresd.dtsi
&usdhc2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc2>;
bus-width = <8>;
cd-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
wp-gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
no-1-8-v;
keep-power-in-suspend;
enable-sdio-wakeup;
status = "okay";
};
pinctrl_usdhc2: usdhc2grp {
fsl,pins = <
MX6QDL_PAD_SD2_CMD__SD2_CMD 0x17059
MX6QDL_PAD_SD2_CLK__SD2_CLK 0x10059
MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x17059
MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17059
MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17059
MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x17059
MX6QDL_PAD_NANDF_D4__SD2_DATA4 0x17059
MX6QDL_PAD_NANDF_D5__SD2_DATA5 0x17059
MX6QDL_PAD_NANDF_D6__SD2_DATA6 0x17059
MX6QDL_PAD_NANDF_D7__SD2_DATA7 0x17059
>;
};