Skip to content
Snippets Groups Projects

linux-postmarketos-exynos4: disable or convert options to modules

Merged Imported Administrator requested to merge exynos4-boot.img-size-decrease into master
All threads resolved!

To make boot.img smaller. With changes in pmaports!5544 we get a boot.img larger than the boot partition (8 MB). With these changes we are down to around 7.8 MB, and hence have some margin again.

Noteable config changes:

  • Disable max14577/max77836 stuff, is only used by some Exynos 3 devices
  • Disable tps65090 driver and a few SND_SOC options that are only used by Exynos 5 devices

Tested on exynos4210-i9100 and exynos4412-m3, boots fine as long as rtc's and regulators are built-in. Still needs to be tested on exynos4412-odroid-u2 and one of the tablets and note devices, so draft for now.

This MR replaces the linux-postmarketos-exynos4 changes in https://gitlab.com/postmarketOS/pmaports/-/merge_requests/5544.

CC: @Newbyte, @knuxify

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 added 1 commit · Imported

    added 1 commit

    • 6798d975 - linux-postmarketos-exynos4: add zstd to makedepends

    Compare with previous version

    By Henrik Grimler on 2024-09-08T07:24:50

  • Administrator resolved all threads · Imported

    resolved all threads

    By Henrik Grimler on 2024-09-08T07:25:49

  • Author Owner

    While I would leave CONFIG_DEBUG_FS on, since it's useful for some utilities (I think powertop needs it iirc?), that's a fairly niche use case and we need all the space we can get. I'm fine with having it off.

    By knuxify on 2024-09-08T13:38:24

    Edited by Administrator
  • Author Owner

    Seems fine on samsung-p4note from a quick test.

    By Newbyte on 2024-09-09T07:03:16

  • Administrator approved this merge request · Imported

    approved this merge request

    By Newbyte on 2024-09-09T07:04:52

  • Administrator approved this merge request · Imported

    approved this merge request

    By Robert Eckelmann on 2024-09-09T12:58:19

  • Author Owner

    Works fine on odroid-u2 as well, so let's ship this. Thanks for testing&reviewing @Newbyte, @knuxify and @longnoserob !

    By Henrik Grimler on 2024-09-09T20:26:39

  • Administrator added 10 commits · Imported

    added 10 commits

    • 6798d975...bb7b69d4 - 8 commits from branch postmarketOS:master
    • 82c50b22 - linux-postmarketos-exynos4: disable or convert options to modules (MR 5569)
    • 606d69fc - linux-postmarketos-exynos4: add zstd to makedepends (MR 5569)

    Compare with previous version

    By Henrik Grimler on 2024-09-09T20:28:43

  • Administrator enabled an automatic merge when all merge checks for 606d69fc pass · Imported

    enabled an automatic merge when all merge checks for 606d69fc pass

    By Henrik Grimler on 2024-09-09T20:33:08

  • Administrator marked this merge request as ready · Imported

    marked this merge request as ready

    By Henrik Grimler on 2024-09-09T20:33:19

  • Administrator merged · Imported

    merged

  • Administrator mentioned in issue #3232 · Imported

    mentioned in issue #3232

    By Newbyte on 2024-10-05T09:35:11

  • Please register or sign in to reply
    Loading