[RK3399] [Android 9.0] 编译后无法正常进入系统

串口打印如下:
[ 3.059917] dwmmc_rockchip fe310000.dwmmc: IDMAC supports 32-bit address mode.
[ 3.060199] dwmmc_rockchip fe310000.dwmmc: Using internal DMA controller.
[ 3.060345] dwmmc_rockchip fe310000.dwmmc: Version ID is 270a
[ 3.060586] dwmmc_rockchip fe310000.dwmmc: DW MMC controller at irq 25,32 bit host data width,256 deep fifo
[ 3.060838] dwmmc_rockchip fe310000.dwmmc: 'clock-freq-min-max' property was deprecated.
[ 3.061186] dwmmc_rockchip fe310000.dwmmc: No vmmc regulator found
[ 3.061348] dwmmc_rockchip fe310000.dwmmc: No vqmmc regulator found
[ 3.062575] dwmmc_rockchip fe310000.dwmmc: allocated mmc-pwrseq
[ 3.074444] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 3.087838] dwmmc_rockchip fe310000.dwmmc: 1 slots initialized
[ 3.090660] rockchip-dmc dmc: Failed to get leakage
[ 3.092934] rockchip-dmc dmc: Failed to get pvtm
[ 3.095155] rockchip-dmc dmc: could not find power_model node


解决方法:
&dfi {
    status = "disabled";
};

&dmc {
    status = "disabled";
};


&dmc和&dfi两个节点是用作ddr变频用的,关闭以后ddr定频跑loader下面默认频率。对性能没有影响,ddr定频跑的是最高频,机器运行功耗可能会大一点。

 

如果关闭这两个选项系统可以跑起来的话,大概是因为你板子用的是lpddr4然后dts配置却是用的ddr3的,可以选择使用lpddr4的dts, 或者参考lp4的dts将dmc部分移到你当前使用的dts中。

你可能感兴趣的:(Android,Android)