CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 5574|回复: 4

为什么CC-A80的A15最大只有1.8G,A7核最大只有1.2G

[复制链接]
发表于 2015-11-30 21:29:13 | 显示全部楼层 |阅读模式
不是说好了A80的A15核能到2.0GHz,A7能到1.3GHz的么?
linaro@cubieboard4:/sys/devices/system/cpu/cpu4/cpufreq$ cat ./scaling_max_freq
1800000
linaro@cubieboard4:/sys/devices/system/cpu/cpu0/cpufreq$ cat ./scaling_max_freq
1200000

而且我试了一下,之前的帖子改主频的方法好像也不能用了....
传送门http://forum.cubietech.com/forum ... E9%A2%91&page=1

root@cubieboard4:/sys/devices/system/cpu/cpu4/cpufreq# cat scaling_governor
interactive
root@cubieboard4:/sys/devices/system/cpu/cpu4/cpufreq# echo ondemand > scaling_governor
root@cubieboard4:/sys/devices/system/cpu/cpu4/cpufreq# echo 2000000 > scaling_max_freq
root@cubieboard4:/sys/devices/system/cpu/cpu4/cpufreq# cat scaling_governor
ondemand
root@cubieboard4:/sys/devices/system/cpu/cpu4/cpufreq# cat scaling_max_freq
1800000
求相关人员来说明一下啊....这边老师催着要榨干A80的每一滴性能啊......


回复

使用道具 举报

 楼主| 发表于 2015-11-30 21:32:07 | 显示全部楼层
对了,我的系统是Linaro-v1.1(Ubuntu-linaro-desktop)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2015-11-30 22:52:26 | 显示全部楼层
本帖最后由 kaylexuan 于 2015-12-4 15:24 编辑

尝试了一下
#echo "2016000" > /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq
发现还是没有用,1872000也没有用,但是低于1800000就有效果了,这是为什么?


#echo "960000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq#echo "1008000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq#echo "1056000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq#echo "1080000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq#echo "1104000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq#echo "1152000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq#echo "1200000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq#echo "1224000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq#echo "1248000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq#echo "1296000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq#echo "1344000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq#echo "1368000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq#echo "1440000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq#echo "1512000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq#echo "1536000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq#echo "1584000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq#echo "1632000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq#echo "1656000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq#echo "1728000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq#echo "1800000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq#echo "1872000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq#echo "1944000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq#echo "2016000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freqsleep 1#echo "960000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freqecho "1008000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq#echo "1056000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq#echo "1080000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq#echo "1104000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq#echo "1152000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq#echo "1200000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq#echo "1224000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq#echo "1248000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq#echo "1296000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq#echo "1344000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq#echo "1368000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq#echo "1440000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq#echo "1512000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq#echo "1536000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq#echo "1584000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq#echo "1632000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq#echo "1656000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq#echo "1728000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq#echo "1800000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq#echo "1872000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq#echo "1944000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq#echo "2016000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
回复 支持 反对

使用道具 举报

发表于 2015-12-1 10:21:05 | 显示全部楼层
修改CPU频率,都在sys_config.fex 中,
请在sys_config.fex 搜索dvfs_table和dram_dvfs_table,里面有注释

但像修改CPU可能会影响板子稳定性。超频到2GHz 可能有烧坏CPU的风险。谨慎修改。
回复 支持 反对

使用道具 举报

 楼主| 发表于 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
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-11-26 04:21 , Processed in 0.021228 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部