On Fri, Mar 14, 2014 at 4:46 PM, Carl-Fredrik Sundström
<
audi...@gmail.com> wrote:
>
> I would like to test my application at different lower CPU Frequencies to
> make sure that it would work on a custom board with a lower specced sitara
> processor. Could I lock the CPU at max 600 or 720 MHz ?
voodoo@am335x-boneblack-512mb-1:~$ sudo cpufreq-set -f 800000
voodoo@am335x-boneblack-512mb-1:~$ cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to
cpu...@vger.kernel.org, please.
analyzing CPU 0:
driver: generic_cpu0
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 300 us.
hardware limits: 300 MHz - 1000 MHz
available frequency steps: 300 MHz, 600 MHz, 800 MHz, 1000 MHz
available cpufreq governors: conservative, ondemand, userspace,
powersave, performance
current policy: frequency should be within 300 MHz and 1000 MHz.
The governor "userspace" may decide which speed to use
within this range.
current CPU frequency is 800 MHz. <= BINGO
cpufreq stats: 300 MHz:3.87%, 600 MHz:0.01%, 800 MHz:0.01%, 1000
MHz:96.11% (30)
just use cpufreq-set -f (freq)
Regards,
--
Robert Nelson
http://www.rcn-ee.com/