Vybrid CPU frequency modification commands

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

Vybrid CPU frequency modification commands

跳至解决方案
1,629 次查看
juangutierrez
NXP Employee
NXP Employee

Are there any Linux commands for changing the CPU frequency on Vybrid?

i.MX has a set of echo commands, do we have anything similar to that with Vybrid?

If not, what's the best way to change the CPU frequency on the fly?

标签 (3)
0 项奖励
回复
1 解答
1,284 次查看
timesyssupport
Senior Contributor II

Hello Juan,

In the Timesys 3.0 Linux kernel for Vybrid, there is no way to change the frequency on the fly. You will need to modify kernel source to do so. Kernel 3.10+ will have better support for clocking, so on-the-fly frequency change may be a possilbility.

Thanks,

Timesys Support

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,284 次查看
juangutierrez
NXP Employee
NXP Employee

So, is there any other way to modify on the fly the frequencies? or this is only possible modifying directly on the kernel with something like:

clk = clk_get(NULL, "pll1_main_clk");

clk_set_rate(clk, rate);

0 项奖励
回复
1,285 次查看
timesyssupport
Senior Contributor II

Hello Juan,

In the Timesys 3.0 Linux kernel for Vybrid, there is no way to change the frequency on the fly. You will need to modify kernel source to do so. Kernel 3.10+ will have better support for clocking, so on-the-fly frequency change may be a possilbility.

Thanks,

Timesys Support

0 项奖励
回复
1,284 次查看
timesyssupport
Senior Contributor II

Hello Juan,

In the current Linux BSP for Vybrid, there are no userspace commands for changing the CPU frequency.

We have had several inquiries about this, and will be reviewing this as a possibility as we update the supported Vybrid kernel to 3.10 or newer, planned for end of Q1. I will let you know when I have more information available.

Thanks,

Timesys Support

1,284 次查看
juangutierrez
NXP Employee
NXP Employee

timesyssupport can help on this, please?

0 项奖励
回复