Skip to content

Instantly share code, notes, and snippets.

@jvanveen
Last active September 14, 2021 17:35
Show Gist options
  • Save jvanveen/64be78833f2f35c5b4dc6561fb6c5e96 to your computer and use it in GitHub Desktop.
Save jvanveen/64be78833f2f35c5b4dc6561fb6c5e96 to your computer and use it in GitHub Desktop.
Pinephone tweaks (Plasma mobile)
# Overclock GPU
pacman -S dtc vim
dtc -I dtb -O dts /boot/dtbs/allwinner/sun50i-a64-pinephone-1.2.dtb -o /boot/dtbs/allwinner/sun50i-a64-pinephone-1.2.dts
vim /boot/dtbs/allwinner/sun50i-a64-pinephone-1.2.dts
# Search for gpu@, modify assigned-clock-rates from 0x19bfcc00(432mhz) to 0x1dcd6500 (500mhz)
dtc -I dts -O dtb /boot/dtbs/allwinner/sun50i-a64-pinephone-1.2.dts -o /boot/dtbs/allwinner/sun50i-a64-pinephone-1.2.dtb
# Overclock RAM, 624 caused crashes on this Pinephone; another might work
cp /boot/u-boot-sunxi-with-spl-pinephone-624.bin /boot/u-boot-sunxi-with-spl-pinephone.bin
# Improve read/write performance
vim /etc/fstab
# Mount options: defaults,noatime for /boot and /
tune2fs -O fast_commit /dev/mmcblk2p2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment