您尚未登录。

楼主 #1 2019-05-23 10:55:42

flash
会员
注册时间: 2019-05-17
已发帖子: 14
积分: 14

H3 emmc 调试

参照 orangepi pc plus 在设备树中添加了设备信息:
&mmc2 {
    pinctrl-names = "default";
    pinctrl-0 = <&mmc2_8bit_pins>;
    vmmc-supply = <&reg_vcc3v3>;
    bus-width = <8>;
    non-removable;
    cap-mmc-hw-reset;
    status = "okay";
};

&mmc2_8bit_pins {
    /* Increase drive strength for DDR modes */
    allwinner,drive = <SUN4I_PINCTRL_40_MA>;
    /* eMMC is missing pull-ups */
    allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
};

启动log:
[    1.028147] sunxi-mmc 1c11000.mmc: smc 1 err, cmd 8, RTO !!
[    1.065805] sunxi-mmc 1c11000.mmc: smc 1 err, cmd 55, RTO !!
[    1.072411] sunxi-mmc 1c11000.mmc: smc 1 err, cmd 55, RTO !!
[    1.078901] sunxi-mmc 1c11000.mmc: smc 1 err, cmd 55, RTO !!
[    1.085414] sunxi-mmc 1c11000.mmc: smc 1 err, cmd 55, RTO !!
[    1.097286] sunxi-mmc 1c11000.mmc: smc 1 err, cmd 1, RTO !!


这会是什么问题?
可以从sd卡启动,说明mmc驱动没有问题,只需要在设备树中添加设备信息就行了。

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn