|
楼主 |
发表于 2015-12-4 16:20:53
|
显示全部楼层
@allen 发表于 2015-12-1 10:21
修改CPU频率,都在sys_config.fex 中,
请在sys_config.fex 搜索dvfs_table和dram_dvfs_table,里面有注释
...
您好,我已经改了sys_config.fex,也运行过了./update_sys_config.sh emmc,为什么还是改不了scaling_max_freq呢?(echo之后cat回来还是没变)
改过的sys_config.fex文件如下
;----------------------------------------------------------------------------------
; dvfs voltage-frequency table configuration
;
; there are two clusters, cluster0 and cluster1, they have diffrent configuration
; on frequency and voltage.
;
; max_freq: cpu maximum frequency, based on Hz
; min_freq: cpu minimum frequency, based on Hz
;
; LV_count: count of LV_freq/LV_volt, must be < 16
;
; L_LV1: core vdd is 1.02v if cpu frequency is (1128Mhz, 1200Mhz]
; L_LV2: core vdd is 0.96v if cpu frequency is (1008Mhz, 1128Mhz]
; L_LV3: core vdd is 0.90v if cpu frequency is ( 864Mhz, 1008Mhz]
; L_LV4: core vdd is 0.84v if cpu frequency is ( 0Mhz, 864Mhz]
; L_LV5: core vdd is 0.84v if cpu frequency is ( 0Mhz, 864Mhz]
; L_LV6: core vdd is 0.84v if cpu frequency is ( 0Mhz, 864Mhz]
; L_LV7: core vdd is 0.84v if cpu frequency is ( 0Mhz, 864Mhz]
; L_LV8: core vdd is 0.84v if cpu frequency is ( 0Mhz, 864Mhz]
;
; B_LV1: core vdd is 1.08v if cpu frequency is (1608Mhz, 1800Mhz]
; B_LV2: core vdd is 1.00v if cpu frequency is (1536Mhz, 1608Mhz]
; B_LV3: core vdd is 0.96v if cpu frequency is (1440Mhz, 1536Mhz]
; B_LV4: core vdd is 0.90v if cpu frequency is (1296Mhz, 1440Mhz]
; B_LV5: core vdd is 0.84v if cpu frequency is ( 0Mhz, 1296Mhz]
; B_LV6: core vdd is 0.84v if cpu frequency is ( 0Mhz, 1296Mhz]
; B_LV7: core vdd is 0.84v if cpu frequency is ( 0Mhz, 1296Mhz]
; B_LV8: core vdd is 0.84v if cpu frequency is ( 0Mhz, 1296Mhz]
;
;----------------------------------------------------------------------------------
[dvfs_table]
vf_table_count = 3
[vf_table0]
;little
L_max_freq = 1296000000
L_min_freq = 480000000
L_LV_count = 8
L_LV1_freq = 1296000000
L_LV1_volt = 1020
L_LV2_freq = 1104000000
L_LV2_volt = 960
L_LV3_freq = 1008000000
L_LV3_volt = 900
L_LV4_freq = 816000000
L_LV4_volt = 840
L_LV5_freq = 0
L_LV5_volt = 840
L_LV6_freq = 0
L_LV6_volt = 840
L_LV7_freq = 0
L_LV7_volt = 840
L_LV8_freq = 0
L_LV8_volt = 840
;big
B_max_freq = 2016000000
B_min_freq = 600000000
B_LV_count = 8
B_LV1_freq = 2016000000
B_LV1_volt = 1100
B_LV2_freq = 1608000000
B_LV2_volt = 1020
B_LV3_freq = 1416000000
B_LV3_volt = 960
B_LV4_freq = 1200000000
B_LV4_volt = 900
B_LV5_freq = 1008000000
B_LV5_volt = 840
B_LV6_freq = 0
B_LV6_volt = 840
B_LV7_freq = 0
B_LV7_volt = 840
B_LV8_freq = 0
B_LV8_volt = 840
[vf_table1]
;little
L_max_freq = 1200000000
L_min_freq = 480000000
L_LV_count = 8
L_LV1_freq = 1200000000
L_LV1_volt = 1060
L_LV2_freq = 1008000000
L_LV2_volt = 960
L_LV3_freq = 912000000
L_LV3_volt = 900
L_LV4_freq = 720000000
L_LV4_volt = 840
L_LV5_freq = 0
L_LV5_volt = 840
L_LV6_freq = 0
L_LV6_volt = 840
L_LV7_freq = 0
L_LV7_volt = 840
L_LV8_freq = 0
L_LV8_volt = 840
;big
B_max_freq = 1608000000
B_min_freq = 600000000
B_LV_count = 8
B_LV1_freq = 1800000000
B_LV1_volt = 1160
B_LV2_freq = 1608000000
B_LV2_volt = 1100
B_LV3_freq = 1416000000
B_LV3_volt = 1020
B_LV4_freq = 1320000000
B_LV4_volt = 960
B_LV5_freq = 1200000000
B_LV5_volt = 900
B_LV6_freq = 1008000000
B_LV6_volt = 840
B_LV7_freq = 0
B_LV7_volt = 840
B_LV8_freq = 0
B_LV8_volt = 840
[vf_table2]
;little
L_max_freq = 1296000000
L_min_freq = 480000000
L_LV_count = 8
L_LV1_freq = 1296000000
L_LV1_volt = 1020
L_LV2_freq = 1104000000
L_LV2_volt = 960
L_LV3_freq = 1008000000
L_LV3_volt = 900
L_LV4_freq = 816000000
L_LV4_volt = 840
L_LV5_freq = 0
L_LV5_volt = 840
L_LV6_freq = 0
L_LV6_volt = 840
L_LV7_freq = 0
L_LV7_volt = 840
L_LV8_freq = 0
L_LV8_volt = 840
;big
B_max_freq = 2016000000
B_min_freq = 600000000
B_LV_count = 8
B_LV1_freq = 2016000000
B_LV1_volt = 1100
B_LV2_freq = 1608000000
B_LV2_volt = 1020
B_LV3_freq = 1416000000
B_LV3_volt = 960
B_LV4_freq = 1200000000
B_LV4_volt = 900
B_LV5_freq = 1008000000
B_LV5_volt = 840
B_LV6_freq = 0
B_LV6_volt = 840
B_LV7_freq = 0
B_LV7_volt = 840
B_LV8_freq = 0
B_LV8_volt = 840
|
|