cpufreq-set not working

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

cpufreq-set not working

2,179件の閲覧回数
kishan_dudhatra
Contributor III

Hi,

I am using imx8mm with Kirkstone (5.15.71). I am trying to set the CPU frequency but "/sys/devices/system/cpu/cpufreq" is empty. I also try to run cpufreq-info but getting below error:

cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  no or unknown cpufreq driver is active on this CPU
analyzing CPU 1:
  no or unknown cpufreq driver is active on this CPU
analyzing CPU 2:
  no or unknown cpufreq driver is active on this CPU
analyzing CPU 3:
  no or unknown cpufreq driver is active on this CPU

Can you please suggest how to set CPU frequency from userspace?

Regards,
Kishan Dudhatra
ラベル(1)
タグ(1)
0 件の賞賛
返信
5 返答(返信)

1,285件の閲覧回数
pfiorini
Contributor I

@ nxp team

Same problem. Any Suggestion?

Regards.

Paolo Fiorini.

0 件の賞賛
返信

1,462件の閲覧回数
himanshu_bhavani
Contributor I

Hi @kishan_dudhatra,

One of my colleague is able to resolve the issue.

This is a workaround patch, Please check this patch at your end.

This patch will resolve your issue!

Thanks & Regards,

Himanshu Bhavani

BSP Engineer at Silicon Signals Pvt Ltd | https://siliconsignals.io/

 

0 件の賞賛
返信

2,131件の閲覧回数
Alejandro_Salas
NXP TechSupport
NXP TechSupport

Hello @kishan_dudhatra!

 

Please refer to the attached document in the section 2.5.3 CPU Frequency Scaling (CPUFREQ), there is explained how to change the CPU frequency in user space. 

 

I hope this can help to you.

 

Best regards.

0 件の賞賛
返信

2,068件の閲覧回数
kishan_dudhatra
Contributor III

I refer to the documents but cpufreq is not available.

ls: cannot access '/sys/devices/system/cpu/cpu0/cpufreq': No such file or directory

My goal is to set the CPU frequency from userspace in Kirkstone and it's already worked in Zeus. I also try to enable it from driver side but did not succeed.
Can you please provide more information to enable the control to set the CPU frequency from userspace?

Regards,
Kishan Dudhatra
タグ(1)
0 件の賞賛
返信

2,140件の閲覧回数
kishan_dudhatra
Contributor III

@ nxp team,

Could you please reply?

Regards,
Kishan Dudhatra
0 件の賞賛
返信