2025-09-27 8:50 PM
Due to the default removal of CPUFreq configuration in the patch file after applying RTpatch, I am unable to obtain the current CPU frequency through the following command.
reference:如何更改 CPU 频率 - stm32mpu
I also try lscpu and /proc/cpuinfo and so on.
They can't solve it. I checked the CPU frequency
Is there any other way?
Solved! Go to Solution.
2025-10-09 4:33 AM
Hello @bugman,
The default CPU clock is 1.2GHz with X-LINUX-RT : the frequency is fixed following the recommended industrial profile (wiki link).
You can change the frequency, but the SoC won't follow the recommended industrial profile anymore.
BR,
Christophe
2025-10-03 5:47 AM
Hello @bugman,
As cpufreq is disabled in X-LINUX-RT, I would recommand to check the CPU frequency through clock summary:
cat /sys/kernel/debug/clk/clk_summary | grep ck_cpu1
BR,
Christophe
2025-10-09 3:13 AM
I am using The CPU model: STM32MP257DAL ,Displayed as 1.2Ghz through the command line you provided.
According to the instructions on the wiki, the clock speed can reach 1.5GHz. Is the default speed 1.2GHz used in the RT version ?
Can the frequency be changed to 1.2GHz?
2025-10-09 4:33 AM
Hello @bugman,
The default CPU clock is 1.2GHz with X-LINUX-RT : the frequency is fixed following the recommended industrial profile (wiki link).
You can change the frequency, but the SoC won't follow the recommended industrial profile anymore.
BR,
Christophe
2025-10-09 4:44 AM
Okay, thank you. ST recommends using 1.2GHz for industrial stability?