Dear SIr:
我已经在英文论坛发布了问题,但是一直没有回复,内容如下,请帮忙分析下问题,多谢
Our software uses Linux RT SDK 08_00_00_08 and the hardware design uses SD card and EMMC
Currently we can boot from an SD card and met an issue that mmc0(emmc) cannot be detect on custom evm board in kernel
And we always got :
[ 2.502423] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
[ 2.678997] mmc0: }mc_select_hs200 failed, error -110
[ 2.684045] mmc0: error -110 whilst initialising MMC card
[ 2.813566] mmc0: mmc_select_hs200 failed, error -110
[ 2.818610] mmc0: error -110 whilst initialising MMC card
[ 2.961772] mmc0: mmc_select_hs200 failed, error -110
[ 2.966816] mmc0: error -110 whilst initialising MMC card
[ 3.152029] mmc0: mmc_select_hs200 failed, error -110
[ 3.157071] mmc0: error -110 whilst initialising MMC card
dts:
main_sdhci0: mmc@4f80000 {
compatible = "ti,j721e-sdhci-8bit";
reg = <0x0 0x4f80000 0x0 0x1000>, <0x0 0x4f88000 0x0 0x400>;
interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&k3_pds 91 TI_SCI_PD_EXCLUSIVE>;
clock-names = "clk_ahb", "clk_xin";
clocks = <&k3_clks 91 0>, <&k3_clks 91 1>;
assigned-clocks = <&k3_clks 91 1>;
assigned-clock-parents = <&k3_clks 91 2>;
mmc-ddr-1_8v;
mmc-hs200-1_8v;
mmc-hs400-1_8v;
ti,otap-del-sel-legacy = <0x0>;
ti,otap-del-sel-mmc-hs = <0x0>;
ti,otap-del-sel-ddr52 = <0x6>;
ti,otap-del-sel-hs200 = <0x8>;
ti,otap-del-sel-hs400 = <0x5>;
ti,itap-del-sel-legacy = <0x10>;
ti,itap-del-sel-mmc-hs = <0xa>;
ti,clkbuf-sel = <0x7>;
bus-width = <8>;
ti,trm-icp = <0x8>;
ti,strobe-sel = <0x77>;
dma-coherent;
};
&main_sdhci0 {
non-removable;
ti,driver-strength-ohm = <50>;
disable-wp;
};
Thanks.