pine64-pinephone: Add support for eMMC Vccq hardware mod
Related issue: #1285 (closed)
This merge request contains the following changes:
- Compile pinephone dts with
-@
option so that is contains symbols used by DT overlays - Make U-boot script
boot.scr
load an externaluser.scr
script, no effect ifuser.scr
is not present - In
user.scr
load and apply the Device Tree Overlay that matches the regulator change of Vccq mod and enables HS200 - Ship
user.scr
andpinephone-vccq-mod.dtbo
files in a subpackage ofdevice-pine64-pinephone
, that can be installed manually.
This change has no effect on a regular PinePhone pmos installation.
If one performs the eMMC Vccq mod the phone will boot fine but without speed increase.
By installing the package device-pine64-pinephone-vccq-mod
, a Device Tree Overlay is applied at boot and you get double speed from the eMMC (HS200 mode).
The change is persistent for the current pmos installation, and should survive u-boot and kernel updates, but the subpackage has to be installed again after formatting.
I have tested the changes on my modded PinePhone 1.2, it works fine with and without the subpackage installed.
I can provide a guide for the hardware modification in the wiki, pinephone page or dedicated page?.
Merge request reports
Activity
- Resolved by Administrator
This is pretty awesome @symmetrist, thanks a lot! I like how it's packaged.
Besides the pkgdesc and missing documentation in the wiki, this looks good to me.
By Oliver Smith on 2021-11-08T13:25:03
Edited by Ghost UserERROR: Job failed: execution took longer than 1h0m0s seconds
CI fails due to a default timeout setting on your pmaports fork. Set CI timeout to 3h in you fork CI settings and retry pipeline
By Alexey Min on 2021-11-08T13:25:19
Edited by Ghost Useradded 14 commits
-
a3c938d7...52d860f6 - 12 commits from branch
postmarketOS:master
- 498c0b06 - pine64-pinephone: Add support for eMMC Vccq hardware mod
- d8298911 - device-pine64-pinephone-vccq-mod: Add pkgdesc with hw mod warning
By Federico Amedeo Izzo on 2021-11-08T19:10:41
-
a3c938d7...52d860f6 - 12 commits from branch
- Resolved by Administrator
Not necessarily related to this MR, but it would be really nice if JumpDrive also had support for this change, so that folks who do the mod will still have access to that great tool to recover, backup, and so on.
By clayton craft on 2021-11-10T14:25:27
Edited by Ghost User
mentioned in issue #1285 (closed)
By Federico Amedeo Izzo on 2021-11-11T14:24:32
The schematics also have this little note:
, does anyone know why it suggests also making this change for 1.8v eMMC?
EDIT: did some more reading and this related to the eMMC DATA lines, not the controller stuff. So not actually relevant it seems
By Caleb Connolly on 2021-11-17T11:02:33
Edited by AdministratorSetting Vccq at 1.8V changed the eMMC microcontroller voltage, but also the I/O lines voltage, so the note should be relevant.
But I have not found any R423 on the schematic and R401 seems to be already populated near the DRAM (DU1-A symbol in the schematic)
By Federico Amedeo Izzo on 2021-11-17T11:02:33
mentioned in merge request !3068 (closed)
By Bart Ribbers on 2022-04-10T16:01:00