你好:
请问一下,有一块双emmc的am335x的板子,用的sdk是07.03版本L5.4.106的内核,但是发现用串口启动的时候,到文件写无法识别到mmc0,可以识别到mmc1;当更换成mmc1启动的时候,可以识别到mmc0。请问一下为啥串口启动无法识别到mmc0,两个设备树的配置都是一样的,请问能给出相关建议吗?
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.
当更换成mmc1启动的时候,可以识别到mmc0
“替换”是指在任何情况下从 mmc0 或 mmc1 启动吗?或者是其他东西?
请附上板 DTS,显示两个 MMC 的配置方式。另请附上内核启动日志。
你好,设备树如下:
&mmc1 {
status = "okay";
vmmc-supply = <&vmmcsd_fixed>;
bus-width = <8>;
pinctrl-names = "default";
pinctrl-0 = <&emmc1_pins>;
ti,non-removable;
ti,needs-special-reset;
//cd-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
};
&mmc2 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&emmc2_pins>;
bus-width = <8>;
ti,non-removable;
ti,needs-special-reset;
vmmc-supply = <&vmmcsd_fixed>;
// no-sd;
// no-sdio;
vmmc-supply = <&ldo4_reg>;
// mmc-pwrseq = <&ldo4_reg>;
};
启动日志串口启动的时候,mmc0没有显示出来,mmc1启动的时候,mmc0才显示出来。另外发现mmc1第一次起来的时候没有识别到mmc0 ,mmc1第二次启动的时候可以识别,然后后面一直都可以识别了