Difference between revisions of "Overclocking"

Jump to navigation Jump to search
50 bytes added ,  05:17, 15 February 2021
no edit summary
Line 9: Line 9:
== Edit Pinephone DTS ==
== Edit Pinephone DTS ==


In order to overclock the Pinephone you will have to first convert the DTB file in <code>/boot/dtbs/allwinner/</code> to a DTS file. You will see <code>sun50i-a64-pinephone-1.2.dtb</code>, and also two other files with different pinephone mainboard revisions (1.1 and 1.0). You will want to select the correct file for your pinephone (Most like 1.2 if you have a PostmarketOS or newer).
In order to overclock the Pinephone you will have to first convert the DTB file in <code>/boot/dtbs/allwinner/</code> to a DTS file. You will see <code>sun50i-a64-pinephone-1.2.dtb</code>, and also two other files with different pinephone mainboard revisions (1.1 and 1.0). You will want to select the correct file for your pinephone (Most like 1.2 if you have a PostmarketOS or newer device).


Once you've found the file, you can run the following command to convert the DTB to DTS:
Once you've found the file, you can run the following command to convert the DTB to DTS:
<code>dtc -I dtb -O dts /boot/dtbs/allwinner/sun50i-a64-pinephone-1.2.dtb -o /boot/dtbs/allwinner/sun50i-a64-pinephone-1.2.dts</code>
<code>dtc -I dtb -O dts /boot/dtbs/allwinner/sun50i-a64-pinephone-1.2.dtb -o /boot/dtbs/allwinner/sun50i-a64-pinephone-1.2.dts</code>


Finally, modify the newly converted .dts file and change the clockspeeds you wish to modify.
Finally, modify the newly converted .dts file and change the clockspeeds you wish to modify. You can simply use a text editor to do so.


To convert back to DTB:
To convert back to DTB:
360

edits

Navigation menu