cancel
Showing results for 
Search instead for 
Did you mean: 

stm32mp2 RT patches ,CPUFreq can't use

bugman
Associate III

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?

 

1 ACCEPTED SOLUTION

Accepted Solutions

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

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

4 REPLIES 4
Christophe Guibout
ST Employee

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

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

bugman_0-1760004403986.png

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?

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

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Okay, thank you. ST recommends using 1.2GHz for industrial stability?