Skip to content
Snippets Groups Projects

google-{asurada,cherry,corsola,gru,kukui,oak,trogdor}: enable depthcharge image compression

Merged Imported Administrator requested to merge depthcharge-image-compression into master

Enable compression to reduce the size of vmlinuz.kpart. This fixes the regular initramfs being too big to fit in kukui's small kernel partition size (the bootloader supports larger partitions but changing the size in the device package would break old installs). I enabled this for every supported device to prevent running into more size issues, but some like asurada would most likely never reach the partition size limit (128MB). I am unsure how much this impacts boot times, but google uses this so it shouldn't be too bad.

Tested devices:

  • Asurada
  • Cherry
  • Corsola
  • Gru
  • Kukui
  • Oak
  • Trogdor

I'm looking for testers for Cherry, Corsola, Gru, and Oak. The rest I can test myself.

Depends on !5373 (merged)

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
  • Administrator marked the checklist item Kukui as completed · Imported

    marked the checklist item Kukui as completed

    By WeirdTreeThing on 2024-07-23T21:07:27

  • Administrator requested review from @jenneron · Imported

    requested review from @jenneron

    By clayton craft on 2024-07-23T22:36:35

  • Administrator approved this merge request · Imported

    approved this merge request

    By clayton craft on 2024-07-23T22:38:33

  • Administrator approved this merge request · Imported

    approved this merge request

    By Robert Eckelmann on 2024-07-23T22:47:27

  • Administrator resolved all threads · Imported

    resolved all threads

    By clayton craft on 2024-07-23T23:18:58

  • Administrator marked the checklist item Asurada as completed · Imported

    marked the checklist item Asurada as completed

    By WeirdTreeThing on 2024-07-23T23:44:00

  • Administrator marked the checklist item Trogdor as completed · Imported

    marked the checklist item Trogdor as completed

    By WeirdTreeThing on 2024-07-23T23:44:01

  • Author Owner

    Tested on a magneton just now (corsola-steelix-sku393221) by generating an image with pmbootstrap, booting it from an SD card, running mrtest 5373 and mrtest 5376, then rebooting.

    Shouldn't be a problem with other devices either.

    By Alper Nebi Yasak on 2024-07-25T13:10:00

    Edited by Ghost User
  • Author Owner

    looks good, not testing it though

    By jenneron on 2024-07-25T05:26:46

  • Administrator approved this merge request · Imported

    approved this merge request

    By jenneron on 2024-07-25T05:26:52

  • Administrator marked the checklist item Corsola as completed · Imported

    marked the checklist item Corsola as completed

    By WeirdTreeThing on 2024-07-25T13:10:22

  • Author Owner

    cherry/tomato looking good

    By Ingo Reitz on 2024-07-26T18:22:27

    Edited by Ghost User
  • Administrator marked the checklist item Cherry as completed · Imported

    marked the checklist item Cherry as completed

    By WeirdTreeThing on 2024-07-26T18:22:30

    • Author Owner
      Resolved by Administrator

      This is awesome! I wonder if we can do the same with device-google-x64-cors, as building new images has been failing on bpo for a while with (e.g. here):

      (002338) [18:40:54] (native) % dd if=/mnt/rootfs_google-x64cros/boot/vmlinuz.kpart of=/dev/installp1
      dd: error writing '/dev/installp1': No space left on device
      32769+0 records in
      32768+0 records out
      16777216 bytes (16.0MB) copied, 0.239993 seconds, 66.7MB/s

      So the limit there seems to be 16 MiB.

      By Oliver Smith on 2024-08-06T16:09:29

      Edited by Ghost User
  • Administrator resolved all threads · Imported

    resolved all threads

    By WeirdTreeThing on 2024-08-06T16:09:29

  • Administrator added 167 commits · Imported

    added 167 commits

    • f5634266...0cd24d14 - 160 commits from branch postmarketOS:master
    • d7e61d86 - google-gru: enable depthcharge image compression
    • 230f4aca - google-kukui: enable depthcharge image compression
    • 83665644 - google-oak: enable depthcharge image compression
    • 5daa1f75 - google-trogdor: enable depthcharge image compression
    • 19f000bf - google-asurada: enable depthcharge image compression
    • caa99e62 - google-cherry: enable depthcharge image compression
    • 9059abf2 - google-corsola: enable depthcharge image compression

    Compare with previous version

    By WeirdTreeThing on 2024-08-06T16:09:41

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

    mentioned in issue #3095 (closed)

    By Oliver Smith on 2024-08-11T12:31:49

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading