View: 9715|Reply: 0

Frequency scaling on Orange Pi One in Armbian

[Copy link]

2

threads

10

posts

54

credits

Registered member

Rank: 2

credits
54
Published in 2016-5-28 11:24:07 | Show all floors |Read mode
Edited by aegrotatio at 2016-5-28 11:37

Hi, I'm very excited to use the Armbian on Orange Pi One.

Without rebuilding a kernel or fex file, here is how to configure the Orange Pi One governor so the "[  150.135554] [cpu_freq] ERR:set cpu frequency to 648MHz failed!" and "[ARISC ERROR] messages no longer appear in dmesg.  We will set it to 912MHz on the low end and 1200MHz on the higher end which scale up and down properly on the Orange Pi One.  This is until you update your fex file and/or kernel config to use different values for the CPU frequency scaling that are a little different on the Orange Pi One than they are on the Orange Pi PC.

Put it in your /etc/rc.local just after the line "/usr/local/bin/sun8i-corekeeper.sh &".

/usr/bin/cpufreq-set -d 912MHz -u 1200MHz -g ondemand

You can change "ondemand" parameter to conservative, ondemand, userspace, powersave, interactive, or performance.

Also, edit /etc/default/cpufrequtils to read:
ENABLE=true
MIN_SPEED=912000
MAX_SPEED=1200000
GOVERNOR=ondemand


You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list