Hi guys,
According to your linux user guide documentation : https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf#_OPENTOPIC_TOC_PROCESSING_d672e1012....
To check the maximum frequency:
cat /sys/devices/system/cpu/*/cpufreq/cpuinfo_max_freq
On my running IM8MM board, none of those 'cpufreq' folders exist :
imx8mmevk:~$ ls /sys/devices/system/cpu/cpu*/cpufreq/*
ls: cannot access '/sys/devices/system/cpu/cpu*/cpufreq/*': No such file or directory
Also, '/proc/cpuinfo' does not report any CPU frequency either :
imx8mmevk:~$ cat /proc/cpuinfo
processor : 0
BogoMIPS : 16.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 1
BogoMIPS : 16.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 2
BogoMIPS : 16.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 3
BogoMIPS : 16.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
The image I'm using has been built using Yocto :
repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-gatesgarth -m imx-5.10.9-1.0.0.xml
repo sync
MACHINE=imx8mmevk DISTRO=fsl-imx-xwayland source ./imx-setup-release.sh -b bld-xwayland
bitbake imx-image-full
Is there anything special that needs to be done to enable cpu frequency reporting working properly ? Did I do something wrong ?
Thanks for your help.
Olivier.