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
  • pmaports pmaports
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 457
    • Issues 457
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 57
    • Merge requests 57
  • 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
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

GitLab 15.0 has launched! Please visit Breaking changes in 15.0 and 15.0 Removals to see which breaking changes may impact your workflow.

  • postmarketOS
  • pmaportspmaports
  • Merge requests
  • !387

mkinitfs: Introduce deviceinfo_append_dtb variable

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Luca Weiss requested to merge mkinitfs_dtb into master May 27, 2019
  • Overview 10
  • Commits 1
  • Pipelines 8
  • Changes 24

We don't need to append the dtb to the kernel image in all cases, with e.g. the u-boot bootloader we can load the dtb seperately from the kernel image. Introduce a new variable deviceinfo_append_dtb, if set to "true", append the dtb, otherwise just copy the dtb file to the boot partition.

Fixes #260 (closed)

The WIP items are:

  • Some devices need the _mainline variable for the deviceinfo_dtb and deviceinfo_append_dtb variable now, as it's a hard fail now if the dtb file doesn't actually exist instead of just a warning.
  • Change should be tested on the two Pine devices (should work fine though)
  • The new variable has to be documented somewhere
  • Maybe change the naming of the mkinitfs function as it now does something a bit different
  • bump all the pkgrels
Edited May 31, 2019 by Luca Weiss
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: mkinitfs_dtb