How to set USDHC2 to GPIO. in iMX8M Mini?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to set USDHC2 to GPIO. in iMX8M Mini?

1,269件の閲覧回数
Kecy
Contributor I

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 = <&reg_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.

0 件の賞賛
返信
3 返答(返信)

1,250件の閲覧回数
AldoG
NXP TechSupport
NXP TechSupport

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.

0 件の賞賛
返信

1,264件の閲覧回数
kef2
Senior Contributor V

disabled

0 件の賞賛
返信

1,262件の閲覧回数
Kecy
Contributor I

Modify to disabled,But still not ok

0 件の賞賛
返信