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?
已解决! 转到解答。
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
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);
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
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