Skip to content
Snippets Groups Projects

pine64-pinephone: Add support for eMMC Vccq hardware mod

Merged Imported Administrator requested to merge pinephone-vccq-mod into master
1 unresolved thread

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 external user.scr script, no effect if user.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 and pinephone-vccq-mod.dtbo files in a subpackage of device-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?.

Edited by Administrator

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Author Owner

    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 User
  • Author Owner

    ERROR: 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 User
  • Administrator added 14 commits · Imported

    added 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

    Compare with previous version

    By Federico Amedeo Izzo on 2021-11-08T19:10:41

    • Author Owner
      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
  • Administrator approved this merge request · Imported

    approved this merge request

    By Martijn Braam on 2021-11-10T14:35:21

  • Administrator resolved all threads · Imported

    resolved all threads

    By Federico Amedeo Izzo on 2021-11-10T15:14:14

  • Administrator approved this merge request · Imported

    approved this merge request

    By Oliver Smith on 2021-11-10T19:00:55

  • Administrator added 2 commits · Imported

    added 2 commits

    • 80e35c5e - 1 commit from branch postmarketOS:master
    • cc123ebb - pine64-pinephone: Add support for eMMC Vccq hardware mod (MR 2665)

    Compare with previous version

    By Oliver Smith on 2021-11-10T19:06:23

  • Administrator merged · Imported

    merged

  • Administrator mentioned in issue #1285 (closed) · Imported

    mentioned in issue #1285 (closed)

    By Federico Amedeo Izzo on 2021-11-11T14:24:32

    • Author Owner

      The schematics also have this little note: image, 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 Administrator
    • Author Owner

      Setting 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

    • Please register or sign in to reply
  • Administrator mentioned in merge request !3068 (closed) · Imported

    mentioned in merge request !3068 (closed)

    By Bart Ribbers on 2022-04-10T16:01:00

  • Please register or sign in to reply
    Loading