ayufan-rock64 / linux-build

Rock64 Linux build scripts, tools and instructions
MIT License
562 stars 98 forks source link

overclock rock64 #247

Open woiza opened 6 years ago

woiza commented 6 years ago

I followed your guide on overclocking rock64 and got this message:

1398mhz/dtbo: Warning (unit_address_vs_reg): Node /fragment@0 has a unit name, but no reg property Applied!

And the following dmesg entry:

[ 321.852442] OF: overlay: find target, node: /fragment@0, path '/cpu0-opp-table' not found [ 321.853178] OF: overlay: init_overlay_changeset() failed, ret = -22 [ 321.853732] create_overlay: Failed to create overlay (err=-22)

The new frequency ist not available:

root@rock:~# cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies 408000 600000 816000 1008000 1200000 1296000

I use your latest bionic minimal arm64 build and mainline kernel:

root@rock:~# uname -a Linux rock 4.17.0-rc6-1029-ayufan-gf59e43a141bb #1 SMP PREEMPT Mon Jul 2 21:51:44 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux

ayufan commented 6 years ago

It only works on 4.4, if you want to use mainline, you have to adapt it to mainline dts.

woiza commented 6 years ago

Thanks. Reverted back to 4.4, worked like a charm. How can I persist these changes? After a reboot it was back to 1296 Mhz.

bodeni commented 5 years ago

Hi! Try RAM overcklock follow guide: echo 933000000 | sudo tee /sys/bus/platform/drivers/rockchip-dmc/dmc/devfreq/dmc/max_freq tee: /sys/bus/platform/drivers/rockchip-dmc/dmc/devfreq/dmc/max_freq: No such file or directory echo performance | sudo tee /sys/bus/platform/drivers/rockchip-dmc/dmc/devfreq/dmc/governor tee: /sys/bus/platform/drivers/rockchip-dmc/dmc/devfreq/dmc/governor: No such file or directory

CPU overclocking works fine!