初级会员
- 积分
- 120
- 金钱
- 120
- 注册时间
- 2020-2-26
- 在线时间
- 30 小时
|
uboot移植的过程中,按照教程来的,试了好几遍,结果移植烧写后,一直报一个vdd regulator的错误,然后蜂鸣器一直响,找了好久的原因,与出厂的stm32mp157d-atk.dtsi比较了一下,发现教程中是: regulator-off-in-suspend; 而出厂的代码是:regulator-boot-on;
把这些地方都改掉后就好了。
有没有巨佬来解释一下这个是为啥呢?电源没开启导致报错?
vddcore: regulator-vddcore {
compatible = "regulator-fixed";
regulator-name = "vddcore";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1350000>;
regulator-boot-on;
regulator-always-on;
};
v3v3: regulator-3p3v {
compatible = "regulator-fixed";
regulator-name = "v3v3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
};
vdd: regulator-vdd {
compatible = "regulator-fixed";
regulator-name = "vdd";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
};
vdd_usb: regulator-vdd-usb {
compatible = "regulator-fixed";
regulator-name = "vdd_usb";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
};
vin: vin {
compatible = "regulator-fixed";
regulator-name = "vin";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
};
|
|