问题描述:Android7.1_mt 售后机器放置不动 大概几个小时就发生异常一次重启
问题分析:
1.复现问题后抓取last kmsg log分析
查看log发生了panic 访问了无效的地址导致,挂在cpu上,每次地址都不一样,有点像跑飞了,可能是cpu gpu 或者ddr的问题
尝试提供cpu gpu ddr的电压后没有复现
单独修改cpu ddr gpu 发现只有修改cpu后不复现,可知是cpu的电压略低导致的不稳定
问题解决:
提高cpu大于1GHZ频率的电压
cpu0_opp_table: opp_table0 {
opp-1008000000 {
opp-hz = /bits/ 64 <1008000000>;
/*opp-microvolt = <1150000 1150000 1350000>;
opp-microvolt-L0 = <1150000 1150000 1350000>;
opp-microvolt-L1 = <1100000 1100000 1350000>;
opp-microvolt-L2 = <1050000 1050000 1350000>;
opp-microvolt-L3 = <1000000 1000000 1350000>;*/
opp-microvolt = <1200000 1150000 1350000>;
opp-microvolt-L0 = <1200000 1150000 1350000>;
opp-microvolt-L1 = <1150000 1100000 1350000>;
opp-microvolt-L2 = <1100000 1050000 1350000>;
opp-microvolt-L3 = <1050000 1000000 1350000>;
clock-latency-ns = <40000>;
};
opp-1200000000 {
opp-hz = /bits/ 64 <1200000000>;
/*opp-microvolt = <1200000 1200000 1350000>;
opp-microvolt-L0 = <1200000 1200000 1350000>;
opp-microvolt-L1 = <1150000 1150000 1350000>;
opp-microvolt-L2 = <1100000 1100000 1350000>;
opp-microvolt-L3 = <1050000 1050000 1350000>;*/
opp-microvolt = <1250000 1200000 1350000>;
opp-microvolt-L0 = <1250000 1200000 1350000>;
opp-microvolt-L1 = <1200000 1150000 1350000>;
opp-microvolt-L2 = <1150000 1100000 1350000>;
opp-microvolt-L3 = <1100000 1050000 1350000>;
clock-latency-ns = <40000>;
};
opp-1416000000 {
opp-hz = /bits/ 64 <1416000000>;
/*opp-microvolt = <1300000 1300000 1350000>;
opp-microvolt-L0 = <1300000 1300000 1350000>;
opp-microvolt-L1 = <1250000 1250000 1350000>;
opp-microvolt-L2 = <1200000 1200000 1350000>;
opp-microvolt-L3 = <1150000 1150000 1350000>;*/
opp-microvolt = <1350000 1300000 1350000>;
opp-microvolt-L0 = <1350000 1300000 1350000>;
opp-microvolt-L1 = <1300000 1250000 1350000>;
opp-microvolt-L2 = <1250000 1200000 1350000>;
opp-microvolt-L3 = <1200000 1150000 1350000>;
clock-latency-ns = <40000>;
问题总结:
需要增加这样的硬件可靠性测试 以避免流到市场上