This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] Linux/AM3351:AM3351 CPU 频率

Guru**** 1959305 points
Other Parts Discussed in Thread: AM3351
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/565497/linux-am3351-am3351-cpu-frequency

器件型号:AM3351

工具/软件:Linux

我们有一个使用 AM3351的板。 我们已成功配置 u-boot 和 Arago Linux。 我们将使用 03.00.00.04 SDK。

我们正在寻找 CPU 频率的确认方法、以及设置频率的方法。

 我在其他论坛帖子中发现、您可以在此处看到 CPU 频率:

/sys/devices/system/cpu/cpu0/cpufreq

但我们的系统上没有该目录。

我曾:
CAT /proc/cpuinfo

返回:

处理器:0型号名称:
ARMv7处理器修订版2 (v7l)
茂物剪:298.59
功能:半拇指 fastmult VFP EDSP thumbee neon vfpv3 TLS vfpd32
CPU 实现者:0x41
CPU 架构:7.
CPU 型号:0x3.
CPU 部件:0xc08
CPU 版本:2.
硬件:通用 AM33XX (平展设备树)
修订版: 0000
串行:000000000000

我知道 BogoMips 应该大致等于 MHz、对吗?

根据内核配置、cpufreq 看起来被启用:

[*] CPU 频率缩放││  

││<*> CPU 频率转换统计信息││
││[*] CPU 频率转换统计信息详细信息││
││默认 cpufreq 调节器(按需)-->││
││-*-“性能”调速器││
││<*>"powersave"调节器││
││<*>用于用户空间频率缩放的'userspace'调节器││
││-*-“点播”cpufreq 政策总监││
││<*>“保守”cpufreq 调节器││
││*** CPU 频率调节驱动器***││
││<*>基于通用 DT 的 cpufreq 驱动程序││
││[] TI OMAP2+││
││<*>德州仪器(TI) cpufreq 支持││
││<>用于 Freescale QorIQ SoC 的 CPU 频率调节驱动器

但我看不到  

/sys/devices/system/cpu/cpu0/cpufreq/

文件夹。

有什么建议吗? 我们是否需要在器件树中提供特定的功能才能使其正常工作?

谢谢、

Tim

 

x 出现错误。请重试或与管理员联系。