Difference between revisions of "Overclocking"

Jump to navigation Jump to search
Line 3: Line 3:
{{hint|All information regarding clock speeds, voltages and more are stored in the DTB (Device Tree Blob). You can learn more about it [https://elinux.org/Device_Tree_Reference here].}}
{{hint|All information regarding clock speeds, voltages and more are stored in the DTB (Device Tree Blob). You can learn more about it [https://elinux.org/Device_Tree_Reference here].}}


Overclocking is a way to get more performance out of the system by running it at higher clock speeds than the factory default, usually while putting out more heat and using more power. You can also downclock however.
Overclocking is a way to get more performance out of the system by running it at higher clock speeds than the factory default, usually while putting out more heat and using more power (You can also downclock to possibly reduce power consumption and thermals at the cost of performance). It is highly recommended that you avoid overvolting the device, as that has a high risk of damaging the hardware, hence the warning at the beginning of this page. However, just some slight overclocks without the added voltage can not only improve performance, but carry little risk to your device. It should be noted however that overclocking can cause instability, so you will need to test and see what values work best with your device (There is a silicon lottery for the Pinephone's hardware).


= Preparation =
= Preparation =
TODO, requires a compatible cross compiler (usually aarch64-linux-gnu), and clone the pine64 kernel repository.
TODO - Kernel Compilation instructions
 
TODO - Recompile just kernel DTB
Then after that just setup the variables for make.


In the future there will likely be a driver to adjust clockspeeds from userspace without the need to recompile.
In the future there will likely be a driver to adjust clockspeeds from userspace without the need to recompile.