|
|
(155 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | ===如何超频===
| |
− | ====选择合格的电源====
| |
− | 超频使用R2S需要保证有稳定可靠的电源供应,这包括标称真实,质量可靠的电源适配器,以及低阻抗的MicroUSB连接线(通俗讲就是铜芯足够粗),经我们测试,市面有如下可选:
| |
− | [[File:R2spower2.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>绿联MicroUSB购买链接</b>:https://item.jd.com/5342706.html <br />
| |
| | | |
− | ====解锁更高的CPU频率====
| |
− | 在FriendlyWrt Repo源代码的目录下,用vim打开以下文件:
| |
− | <syntaxhighlight lang="bash">
| |
− | vim kernel/arch/arm64/boot/dts/rockchip/rk3328.dtsi
| |
− | </syntaxhighlight>
| |
− | 在文件中搜索文本 opp-1296000000,在opp-1296000000定义后面,增加两个CPU频率的定义,分别为1.51G和1.6G,修改后的内容如下所示:
| |
− | <syntaxhighlight lang="bash">
| |
− | 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>;
| |
− | };
| |
− | </syntaxhighlight>
| |
− | 修改完成后,重新编译内核,并制作SD固件:
| |
− | <syntaxhighlight lang="bash">
| |
− | ./build.sh kernel
| |
− | ./build.sh sd-img
| |
− | </syntaxhighlight>
| |
− |
| |
− | ====验证CPU是否超频成功====
| |
− | 执行以下命令让CPU处于满载:
| |
− | <syntaxhighlight lang="bash">
| |
− | 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&
| |
− | </syntaxhighlight>
| |
− | 再用如下命令查看当前的CPU频率,可以看到频率已经是1.6G:
| |
− | <syntaxhighlight lang="bash">
| |
− | root@FriendlyWrt:~# cat /sys/devices/system/cpu/cpu[04]/cpufreq/cpuinfo_cur_freq
| |
− | 1608000
| |
− | </syntaxhighlight>
| |
− | 如何你超频不成功,可以尝试更换质量更好的电源试试。
| |