cpufreq-set not working

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

cpufreq-set not working

1,121 次查看
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 回复数

227 次查看
pfiorini
Contributor I

@ nxp team

Same problem. Any Suggestion?

Regards.

Paolo Fiorini.

0 项奖励

404 次查看
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 项奖励

1,073 次查看
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 项奖励

1,010 次查看
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 项奖励

1,082 次查看
kishan_dudhatra
Contributor III

@ nxp team,

Could you please reply?

Regards,
Kishan Dudhatra
0 项奖励