Part Number:AM3358
你好:
请问在uboot怎么使能mmc3?我在uboot设备树使能emmc,uboot就会卡住了:
CPU : AM335X-GP rev 2.1
Model: SE MYS-3358
DRAM: 256 MiB
WDT: Started with servicing (60s timeout)
NAND: 0 MiB
MMC:
一直停留在这个地方。
下面是我的设备树配置:
&mmc3 {
dmas = <&edma 12 0
&edma 13 0>;
dma-names = "tx", "rx";
status = "okay";
//vmmc-supply = <&wlan_en_reg>;
vmmc-supply = <&vdd_3v3b>;
bus-width = <4>;
pinctrl-names = "default";
pinctrl-0 = <&mmc3_pins_myir &wlan_pins_myir>;
ti,non-removable;
ti,needs-special-hs-handling;
cap-power-off-card;
keep-power-in-suspend;
#address-cells = <1>;
#size-cells = <0>;
wlcore: wlcore@0 {
compatible = "ti,wl1835";
reg = <2>;
interrupt-parent = <&gpio0>;
interrupts = <23 IRQ_TYPE_LEVEL_HIGH>;
};
};
如果把status = "okay";改成status = "disabled";则可以正常启动,请问这是什么原因?
Nancy Wang:
先通过uboot下mmc的相关指令查看一下emmc的情况。
=> mmc list => mmc dev
wu miller 说:如果把status = "okay";改成status = "disabled";则可以正常启动
是否是从其它设备启动的?
,
wu miller:
您好:
谢谢回复。但是我只要在uboot把mmc3打开就会停留在这个地方,不能进去uboot执行你说的命令:
,
Nancy Wang:
参考以下帖子看一下。
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/772379/linux-am3358-how-to-configure-emmc-in-uboot
另外也可以在RTOS下先测试看一下,EMMC读写有没有问题。
software-dl.ti.com/…/index_device_drv.html
,
wu miller:
您好:
我是用mmc3做wifi使用的,所以才这样配置设备树
&mmc3 {dmas = <&edma 12 0&edma 13 0>;dma-names = "tx", "rx";status = "okay";//vmmc-supply = <&wlan_en_reg>;vmmc-supply = <&vdd_3v3b>;bus-width = <4>;pinctrl-names = "default";pinctrl-0 = <&mmc3_pins_myir &wlan_pins_myir>;ti,non-removable;ti,needs-special-hs-handling;cap-power-off-card;keep-power-in-suspend;
#address-cells = <1>;#size-cells = <0>;wlcore: wlcore@0 {compatible = "ti,wl1835";reg = <2>;interrupt-parent = <&gpio0>;interrupts = <23 IRQ_TYPE_LEVEL_HIGH>;};
我也按照你给你链接配置了依然是卡在 MMC:这个地方
,
Nancy Wang:
我给您的链接是配置emmc的,如果您接的是WIFI的话建议您到英文论坛咨询,会有相关专家给您支持。