Closed guynich closed 1 year ago
One moment, I need to flash a new image to my sdcard.
The path you are looking for should be /sys/bus/cpu/devices/cpu*/cpufreq/
, but I need to confirm.
Yeah, it looks like you were looking at the wrong path.
ubuntu@ubuntu:~$ sudo cat /sys/bus/cpu/devices/cpu*/cpufreq/cpuinfo_cur_freq
1800000
1800000
1800000
1800000
2304000
2304000
2352000
2352000
Thanks for checking this so fast. I suspect I have a corrupted microSD card because I see this:
rock5b-1@rock5b-1:~$ ls /sys/bus/cpu/devices/cpu*/cpufreq
ls: cannot access '/sys/bus/cpu/devices/cpu*/cpufreq': No such file or directory
rock5b-1@rock5b-1:~$
I'll write a new card and test again. Thanks again Joshua!
Thanks for this work on rockchip - I'm running v1.18 release on OrangePi 5 and OKdo radxa Rock5B.
On the OrangePi I can get the CPU core frequencies by running
lscpu | grep CPU
, e.g.:If I try the same on Rock5B I do not see the MHz values, e.g.:
I've also tried this
sudo cat /sys/devices/system/cpu/cpu4/cpufreq/cpuinfo_cur_freq
: butcpufreq
is not found on Rock5B Any suggestions how to find the CPU core frequencies?