Difference between revisions of "APITestPage/zh"
From FriendlyELEC WiKi
(→选择合格的电源) |
(→选择合格的电源) |
||
Line 4: | Line 4: | ||
[[File:R2spower.jpg|frameless|800px]]<br /> | [[File:R2spower.jpg|frameless|800px]]<br /> | ||
<b>友善定制版5v3a电源购买链接</b>:https://www.friendlyarm.com/index.php?route=product/product&product_id=141&search=USB&description=true&category_id=0 <br /> | <b>友善定制版5v3a电源购买链接</b>:https://www.friendlyarm.com/index.php?route=product/product&product_id=141&search=USB&description=true&category_id=0 <br /> | ||
− | |||
====解锁更高的CPU频率==== | ====解锁更高的CPU频率==== |
Revision as of 08:38, 4 August 2020
Contents
1 如何超频
1.1 选择合格的电源
超频使用R2S需要保证有稳定可靠的电源供应,这包括标称真实,质量可靠的电源适配器,以及低阻抗的MicroUSB连接线(通俗讲就是铜芯足够粗),经我们测试,市面有如下可选:
友善定制版5v3a电源购买链接:https://www.friendlyarm.com/index.php?route=product/product&product_id=141&search=USB&description=true&category_id=0
1.2 解锁更高的CPU频率
在FriendlyWrt Repo源代码的目录下,用vim打开以下文件:
vim kernel/arch/arm64/boot/dts/rockchip/rk3328.dtsi
在文件中搜索文本 opp-1296000000,在opp-1296000000定义后面,增加两个CPU频率的定义,分别为1.51G和1.6G,修改后的内容如下所示:
opp-1296000000 { opp-hz = /bits/ 64 <1296000000>; opp-microvolt = <1300000>; clock-latency-ns = <40000>; }; opp-1512000000 { opp-hz = /bits/ 64 <1512000000>; opp-microvolt = <1450000>; clock-latency-ns = <40000>; }; opp-1608000000 { opp-hz = /bits/ 64 <1608000000>; opp-microvolt = <1450000>; clock-latency-ns = <40000>; };
修改完成后,重新编译内核,并制作SD固件:
./build.sh kernel ./build.sh sd-img
1.3 验证CPU是否超频成功
执行以下命令让CPU处于满载:
dd if=/dev/zero of=/dev/null bs=1M& dd if=/dev/zero of=/dev/null bs=1M& dd if=/dev/zero of=/dev/null bs=1M& dd if=/dev/zero of=/dev/null bs=1M&
再用如下命令查看当前的CPU频率,可以看到频率已经是1.6G:
root@FriendlyWrt:~# cat /sys/devices/system/cpu/cpu[04]/cpufreq/cpuinfo_cur_freq 1608000
如何你超频不成功,可以尝试更换质量更好的电源试试。