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.
Any update on this by any chance ?
Thanks a lot,
Olivier.
Hi @igorpadykov
Thanks for the quick reply.
The file you're referring to (/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq) is missing from my image. That's my original point
None of the /cpufreq/ folder is present on my image. Do I need any Yocto configuration/step/recipe to have those /cpufreq/ kernel files configured in my image ?
Best,
Olivier.
could you try to reproduce issue on NXP EVK reference board.
Best regards
igor
Hi @igorpadykov
I'm experiencing the issue on a i.MX8M Mini Evaluation Kit
Not sure if this is considered as a "EVK reference board".
Best,
Olivier.
Hi Olivier
one can check cpufreq linux kernel configuration described in sect.2.5.3.4 Menu Configuration Options
Best regards
igor