Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • pmbootstrap pmbootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 181
    • Issues 181
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • postmarketOS
  • pmbootstrappmbootstrap
  • Merge requests
  • !2162

Draft: Add support for flashing to devices with Tow-Boot installed in shared storage mode

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Bart Ribbers requested to merge tow-boot into master Jan 24, 2022
  • Overview 32
  • Commits 3
  • Pipelines 14
  • Changes 5

https://tow-boot.org is a pre-configured u-boot which will be used on the PPP (PinePhone Pro) to boot. Developer and Explorer Edition devices of this device don't have a dedicated boot storage so Tow-Boot has to be installed on the eMMC, on which the OS will also reside. Thus we should make sure we don't overwrite an already installed Tow-Boot or we might risk bricking people's devices

This uses https://sr.ht/~martijnbraam/findtow/ to detect if Tow-Boot is installed on the specified storage.

Note that this is as of yet untested on the internal eMMC of the PPP and requires pmaports!2870 (merged). Also after installing Tow-Boot the GPT partition table needs to be extended to cover the whole disk: sgdisk -e /path/to/device This is now done in pmbootstrap itself

Edited Jan 30, 2022 by Bart Ribbers
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: tow-boot