From switching between 4.19.x and 5.4.x kernels I noticed that the lower cpu frequencies got missing.
It should start at 120MHz like this:
root@horangepione:~# uname -a
Linux honeypot2 4.19.84-sunxi #19.11.3 SMP Mon Nov 18 18:39:42 CET 2019 armv7l GNU/Linux
root@horangepione:~# cpufreq-info -o
minimum CPU frequency - maximum CPU frequency - governor
CPU 0 120000 kHz ( 11 %) - 1008000 kHz (100 %) - ondemand
CPU 1 120000 kHz ( 11 %) - 1008000 kHz (100 %) - ondemand
CPU 2 120000 kHz ( 11 %) - 1008000 kHz (100 %) - ondemand
CPU 3 120000 kHz ( 11 %) - 1008000 kHz (100 %) - ondemand
Though on 5.4.x the minimum frequency is 480MHz.
Since the default cpufrequtils file was not there I created one:
cat /etc/default/cpufrequtils
# WARNING: this file will be replaced on board support package (linux-root-...) upgrade
ENABLE=true
MIN_SPEED=120000
MAX_SPEED=1200000
GOVERNOR=ondemand
It seems to have an effect because when changing the minimum frequency it clocks up as it should.
Frequencies beyond 1.01GHz missing as well but that is a different story...I guess.
Question
Werner
Armbianmonitor for 5.4.6: http://ix.io/260C
From switching between 4.19.x and 5.4.x kernels I noticed that the lower cpu frequencies got missing.
It should start at 120MHz like this:
root@horangepione:~# uname -a Linux honeypot2 4.19.84-sunxi #19.11.3 SMP Mon Nov 18 18:39:42 CET 2019 armv7l GNU/Linux root@horangepione:~# cpufreq-info -o minimum CPU frequency - maximum CPU frequency - governor CPU 0 120000 kHz ( 11 %) - 1008000 kHz (100 %) - ondemand CPU 1 120000 kHz ( 11 %) - 1008000 kHz (100 %) - ondemand CPU 2 120000 kHz ( 11 %) - 1008000 kHz (100 %) - ondemand CPU 3 120000 kHz ( 11 %) - 1008000 kHz (100 %) - ondemand
Though on 5.4.x the minimum frequency is 480MHz.
Since the default cpufrequtils file was not there I created one:
cat /etc/default/cpufrequtils # WARNING: this file will be replaced on board support package (linux-root-...) upgrade ENABLE=true MIN_SPEED=120000 MAX_SPEED=1200000 GOVERNOR=ondemand
It seems to have an effect because when changing the minimum frequency it clocks up as it should.
Frequencies beyond 1.01GHz missing as well but that is a different story...I guess.
Cheers
Werner
Edited by WernerAdd armbianmonitor for 5.4.x
Link to comment
Share on other sites
4 answers to this question
Recommended Posts