Hi team
BSP:L4.14.98
How to disable USDHC2 in iMX8M Mini?
Disable SD card startup and only use EMMC startup.
Because I want to set USDHC2 to GPIO.
uboot dts be modified as follows:
&usdhc2 {
pinctrl-names = "default", "state_100mhz", "state_200mhz";
pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
bus-width = <4>;
non-removable;
vmmc-supply = <®_usdhc2_vmmc>;
status = "disable";
};
But I am using uuu -b emmc flash.bin and cannot write it to EMMC.
Can you tell me why?
How should I disable usdhc2 in uboot?
Thanks.
Hello,
Could you share the uboot log when you attempt to flash using UUU?
Are you trying this on an EVK or is it a custom board?
Best regards,
Aldo.
disabled
Modify to disabled,But still not ok