Rockpi4/CPU overclocking
ROCK Pi 4 > CPU overclocking
ROCK Pi 4 has 6 core CPU Dual Cortex-72 and qual Cortex-A53-RK3399, Dual Cortex-72, frequency 1.8GHz with qual Cortex-A53, frequency 1.4GHz.
Get CPUx Max Frequency
$ cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq #Cortex-A53 max freqency. $ cat /sys/devices/system/cpu/cpu4/cpufreq/cpuinfo_max_freq #Cortex-A72 max freqency.
In /sys/devices/system/cpu/ has cpu0-cpu5 directory,cpu0-cpu3 is Cortex-A53 directory and cpu4-cpu5 is Cortex-A72 directory.
CPU Overclocking
This is currently for ROCK 4A/B/C only, as their default clock is less than 2GHz.
Change the /boot/hw_intfc.conf:
# setting cpu frequency over-2GHz intfc:dtoverlay=cpufreq
Reboot your ROCK 4 and you can see the max CPU frequenct is over 2GHz dual Cortex-A72, over 1.5GHz qual Cortex-A53.