This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM3730 cpufreq子系统下如何实现动态调频



在内核中配置好了对cpufreq的支持,设置好了默认的governor为ondemand,进入开发板后,能看到这样一个路径/sys/devices/system/cpu/cpu0/cpufreq,说明配置已经生效,此路径下有这些文件:

affected_cpus                  scaling_available_governors
cpuinfo_cur_freq               scaling_cur_freq
cpuinfo_max_freq               scaling_driver
cpuinfo_min_freq               scaling_governor
cpuinfo_transition_latency     scaling_max_freq
ondemand                       scaling_min_freq
related_cpus                   scaling_setspeed
scaling_available_frequencies   stats

通过cat cpuinfo_cur_freq可以读到当前主频为600M(默认),scaling_max_freq为1000000, scaling_min_freq为300000,

问题在于:不管负荷大小,运行时间的长短,cpu当前频率一致固定在600M,没有发生任何调整,是怎么回事?在ondemand模式下应该会自动调频才对,怎么没有发生调频,板子空跑还是600M,咋回事?求高人指点!