IMX6SL机器,打开bus_freq调频,机器很容易出现死机。
打开调频:echo 1 > /sys/devices/platform/imx_busfreq.0/enable;
说明:若不打开调频模式,机器运行稳定,只是ilde时功耗高。
或者打开调频模式,bus_freq.c中注释掉void reduce_bus_freq()函数中所有内容,
机器也运行稳定,功耗仍是高。
平台:imx6sl_eink ,android 4.4.2,
android_kk4.4.2_1.0.0-ga_core_source,
DDR:lpddr2,1G
log上无任何异常,类似ddr或cpu不稳定问题。
求解?
Before the system hang, is it running something apps?
maybe something is running and sensitive the frequency changing in your system?
android 4.4.2 is quite old. could you try the newer version of Android?
hi jimmychan:
Thank you!
maybe something is running and sensitive the frequency changing in your system?
----->we should reduce the power,so turn on bus_freq.
And now I found that in the reduce_bus_freq(void) function of bus_freq.c, my machine crash
when change the clock,like pll1,pll3 and clk_set_parent()...
I wonder what the following code does? Is it necessary?
clk_set_parent(pll1_sw_clk, pll1);
clk_set_parent(pll1_sw_clk, pll2_400);
the code is used to change the frequency.