"cpufreq-info" command not working in imx93 Based custom board in yocto scarthgap 6.6.36

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

"cpufreq-info" command not working in imx93 Based custom board in yocto scarthgap 6.6.36

跳至解决方案
1,563 次查看
arun_mozhi_thevan
Contributor I

When i run "cpufreq-info" command on yocto , i got the below error.

Below i have add what are the configurations are enbaled in defconfig
CONFIG_CPUSETS=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_ARM_PSCI_CPUIDLE=y
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
CONFIG_CPUFREQ_DT=y
CONFIG_ACPI_CPPC_CPUFREQ=m
CONFIG_ARM_SCPI_CPUFREQ=y
CONFIG_ARM_IMX_CPUFREQ_DT=y
CONFIG_ARM_SCMI_CPUFREQ=y
CONFIG_QORIQ_CPUFREQ=y
CONFIG_CPU_THERMAL=y
CONFIG_LEDS_TRIGGER_CPU=y
CONFIG_CORESIGHT_CPU_DEBUG=m


Please suggest me any fixes?
cpufreq-info.png

标签 (2)
0 项奖励
回复
1 解答
1,503 次查看
Chavira
NXP TechSupport
NXP TechSupport

Hi @arun_mozhi_thevan!

Unfortunately in general in i.MX93 the Cpu frecuency is managed by lpm (Low power Module) and we use the lpm driver in iMX93 and is the reason that we obtain the error using that command.

You can use the mhz command instead.

 

Best Regards!

Chavira

在原帖中查看解决方案

0 项奖励
回复
5 回复数
1,513 次查看
arun_mozhi_thevan
Contributor I

Hi ,
i could not able to find  mode directory
ls /sys/devices/platform/imx93-lpm/
driver_override of_node/ subsystem/ uevent
modalias power/ supplier:platform:44450000.clock-controller/ waiting_for_supplier

Please suggest me any fix ?

 

0 项奖励
回复
1,543 次查看
Chavira
NXP TechSupport
NXP TechSupport

Hi @arun_mozhi_thevan!

Thank you for contacting NXP Support!

 

Try with the command mhz.

The result should be the next:

Chavira_0-1733161307212.png

 

Best Regards!

Chavira

 

0 项奖励
回复
1,538 次查看
arun_mozhi_thevan
Contributor I

Hi @Chavira 

Why we could not able to use cpufreq-info command on imx93 custom board ?


0 项奖励
回复
1,504 次查看
Chavira
NXP TechSupport
NXP TechSupport

Hi @arun_mozhi_thevan!

Unfortunately in general in i.MX93 the Cpu frecuency is managed by lpm (Low power Module) and we use the lpm driver in iMX93 and is the reason that we obtain the error using that command.

You can use the mhz command instead.

 

Best Regards!

Chavira

0 项奖励
回复
1,485 次查看
arun_mozhi_thevan
Contributor I
thanks for the help
0 项奖励
回复