I cannot get cpufreq power management to work on the OMAP3530 EVM (Rev G). The frequency is always stuck at 500MHz and 1.2V. I've tried the PSP v2.01.03.11 and 3.0.0.4. (Based on OMAP-PM branch, according to software manifest). I configured the kernel starting from the default, and included changes for PM and PMIC chanpters in the PSP 3.0.0.4 user manual. I think I've uploaded the kernel .config. (I hope its attaced) See example command transcript below. I tried to change the governor settings, and tried directly writing frequecy values, but the frequency always is stuck at 500MHz, and I measure the VDD1 voltage always @1.2V. Anyone know what is wrong? (Config, commands, or problem with Kernel?)
I cannot get cpufreq power management to work on the OMAP3530 EVM (Rev G). The frequency is always stuck at 500MHz and 1.2V. I've tried the PSP v2.01.03.11 and 3.0.0.4. (Based on OMAP-PM branch, according to software manifest).
I configured the kernel starting from the default, and included changes for PM and PMIC chanpters in the PSP 3.0.0.4 user manual. I think I've uploaded the kernel .config. (I hope its attaced)
See example command transcript below. I tried to change the governor settings, and tried directly writing frequecy values, but the frequency always is stuck at 500MHz, and I measure the VDD1 voltage always @1.2V. Anyone know what is wrong? (Config, commands, or problem with Kernel?)
#cd /sys/devices/system/cpu/cpu0/cpufreq # cat scaling_governoruserspace# cat cpuinfo_cur_freq500000# echo conservative > scaling_governor# cat cpuinfo_cur_freq500000# echo performance > scaling_governor # cat cpuinfo_cur_freq500000# cat stats/time_in_state720000 0600000 0550000 0500000 196271250000 0125000 0# echo 125000 > scaling_setspeed # cat cpuinfo_cur_freq500000
#cd /sys/devices/system/cpu/cpu0/cpufreq
# cat scaling_governoruserspace# cat cpuinfo_cur_freq500000# echo conservative > scaling_governor# cat cpuinfo_cur_freq500000# echo performance > scaling_governor # cat cpuinfo_cur_freq500000# cat stats/time_in_state720000 0600000 0550000 0500000 196271250000 0125000 0# echo 125000 > scaling_setspeed # cat cpuinfo_cur_freq500000
Hi Alan,
I'm using a PSP 3.0.0.4 kernel and below are the steps I took to be able to change the cpu frequency.
I modified the kernel configuration using menuconfig as follows:
I first enable CPU Frequency Scaling:
CPU Power Management -> CPU Frequency scaling
Enable: governor for userspace frequency scaling
Set: Default CPUFreq governor (userspace) ---> (userspace)
Enable Smart reflex:
System Type --> TI OMAP Implementations ---> OMAP PM layer selection (PM layer implemented using SRF) --> select SRF
Once the kernel is booted you can modify the cpufreq below is an example and all the available frequencies.
echo 500000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies720000 600000 550000 500000 250000 125000
Jeff L
If this post resolves your issue, please click on the verified answer.
Regards,
Thanks for the help, the changes worked!
I guess it was the : Set: Default CPUFreq governor (userspace) ---> (userspace)
that made the difference. (I went back and tried again with the 'conservative' governor, and then I couldn't change speed again.
(The SR tip was good too).