imx6q 如何在uboot中修改cpu频率

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6q 如何在uboot中修改cpu频率

2,990 Views
sqzhang
Contributor I

我现在的imx6q板子启动频率是792MHz, 为了优化启动速度,我需要增加uboot中的cpu频率到996M或是1,2G,怎么在uboot中修改cpu频率呢?谢谢!

Labels (4)
0 Kudos
2 Replies

1,092 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi zhang,

File "arch/arm/mach-mx6/cpu_op-mx6.c":

Code:
/* working point(wp): 0 - 1.2GHz; 1 - 792MHz, 2 - 498MHz 3 - 396MHz */ static struct cpu_op mx6q_cpu_op_1_2G[] = { { .pll_rate = 1200000000, .cpu_rate = 1200000000, .cpu_podf = 0,          .pu_voltage = 1275000,          .soc_voltage = 1275000,          .cpu_voltage = 1275000,}, { ......

Here are defined the working point used by DVFS logic to set frequency and core voltage of i.MX6.
 With a careful hack of that value we can modify max working speed of our board. 
To mantain cpu core stability while increasing frequency rate, a correspondent core voltage 
enhancement can be required.

Regards

0 Kudos

1,092 Views
zzhao
Contributor II

uboot和kernel源码中并没有这个文件。。。。我用的官方的imx6qp sabresd sdb板子,跑Android 6.0,请问该怎么修改CPU频率呢,另外ldo的bootimage该怎么编译呢?

0 Kudos