Patch to linux-postmarketos-allwinner diff -git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi index 4ede9fe66.48e6dfe6e 100644 - a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone. Thanks to dsimic and megi for help and advices on Pine64 dev chat Additional information The update-u-boot script can reapply the change on the following u-boot updates.Īnother solution proposed by dsimic and megi on Pine64 chat is to store the uboot env in the eMMC boot partition and read those to load a different Device Tree.
#Allwinner a64 speed mod
Since a regular pmos image can be run fine on a PP with Vccq mod (without a speed increase), the DT change information can be configured after booting the phone with update-u-boot script, in the same way as one can currently increase the ram frequency. What's the build date of the image? (in yyyy-mm-dd format) PinePhone pmos CE (rev 1.2) On what postmarketOS version did you encounter the issue? Install a pre-built or manually built pmos image What device are you using? Without patching the DT, the eMMC gets configured to DDR52 as before the mod and you get no performance gain. There should be a way to load a modified device tree on a modded PinePhone.Ī correct device tree can make use of High Speed eMMC timings and will reflect actual power regulator configuration.
#Allwinner a64 speed driver
ResultsĪfter modifying the Linux and U-Boot DT to match the regulator change and enable HS200, but limiting the maximum frequency to 150MHz, the eMMC read speed has increased from 55MB/s to 128MB/sĢ00MHz does not work (gives write errors) probably because eMMC delay calibration is not implemented in the driver, it could be used in the future as well as HS400 which is lacking driver support. You should do this mod at your own risk, I have tested only one device and do not give any guarantee. I have done this hardware mod on my PinePhone and I have not found any counter effects. On PinePhone Vccq can be changed from 3.3v to 1.8v by moving the 0ohm resistor from R615 to R614.