Implement 0012 72h standby battery optimizations and initramfs depmod hook
- Add patches/kernel/0012-msm8909-standby-wifi-wcd-panel-ldo-bms.patch, rebuild affected kernel/module artifacts and all six device DTS/DTB files (msm8916-wcd-analog s2/bias gating, wcn36xx offload_sync_work and healthy-RSSI screen_off_offload scan short-circuit, pm8916_bms_vm screen_off FORCE_S3 OCV mode, panel-mipi-dbi dc/reset low on blank, spi-qup runtime PM sleep pinctrl, PM8909 l1/l4 LDO seeding, and sdhci-msm vmmc/vqmmc set_load with regulator-allow-set-load on l8/l12), and switch msm8905-cam from direct APSS SPMI LDO6/LDO17 writes to RPM regulator consumer voting.
- Update standby power policy and compiled C daemons (WIFI_LISTEN_INTERVAL=8, WIFI_STANDBY_RAT=gsm with CS verification and fallback, 10-bananarchy-dpm.sh wifi-up/unpark-rat dispatch, 25 s boot QRTR wait and QMI DMS online recovery, pm8916_bms_vm screen_off sync, bananarchy-run-aligned dark-screen skip, bananarchy-dsds --sig-hysteresis, bananarchy-cover-idle wake_blank_timeout = 8, and scripts/test-standby-power-policy.py).
- Add overlay/rootfs/etc/boot-deploy/hooks/10-initramfs-depmod.sh to run depmod -b per staged initramfs cpio archive and eliminate Stage 2 udevd missing-module boot console errors, enforce .ko.zst-only module installs in apply-bananarchy-overlay.sh, stage Alpine 3.24 /usr/lib/{libz,libcrypto}.so* in rebuild-image.sh chroot with failure cleanup, and add initramfs cpio guards plus verified image hashes in scripts/check-rebuild.sh.
- Document all changes under Unreleased in CHANGELOG.md and synchronize AGENTS.md, MANUAL.md, and BATTERY-OPTIMIZATION-ANALYSIS.md.
This commit is contained in:
1 parent
9700949b28
commit
fc5c4282f5
67 files changed
+67482
-65598
No files matched your search
@@ -67,7 +67,13 @@ Keep this file short. Full details live in `README.md`, `MANUAL.md`, `SDK.md`, `
|
||||
`bananarchy-volume-keys`, `bananarchy-dsds`, `bananarchy-modemmonitor`, `bananarchy-soundmonitor`,
|
||||
`bananarchy-notifmonitor`, `bananarchy-run-aligned`, `bananarchy-session-loop`), not Python or `/bin/sh` loops.
|
||||
Preserve `/run/bananarchy/lid-state`, the cover socket protocol, `FBIOBLANK`, cover diagnostics,
|
||||
`scripts/test-cover-idle.py`, and `scripts/test-dsds-daemon.py`.
|
||||
`should_skip_while_dark()`, `bananarchy-dsds --sig-hysteresis`, `scripts/test-cover-idle.py`,
|
||||
`scripts/test-dsds-daemon.py`, and `scripts/test-standby-power-policy.py`.
|
||||
- Keep standby battery invariants from `0012-msm8909-standby-wifi-wcd-panel-ldo-bms.patch` and
|
||||
`bananarchy-power-policy.conf`: `CPU_RPM_SLEEP=0`, `CPU_L2_SLEEP=0`, `MODEM_DRX_MODE=0`, `WIFI_LISTEN_INTERVAL=8`,
|
||||
`WIFI_STANDBY_RAT=gsm`, `msm8916-wcd-analog` `s2` gating, `pm8916_bms_vm` `screen_off` S3 OCV mode, `sdhci-msm`
|
||||
`vmmc`/`vqmmc` `set_load` (`regulator-allow-set-load;` on `l8`/`l12` across DTS), and `msm8905-cam.c` RPM `l6`/`l17`
|
||||
regulator consumer voting (`regulator_get_optional`, never raw APSS SPMI writes on RPM LDOs).
|
||||
- Keep the zero-lag plugin model: preloaded resident daemons guarded by lock/FIFO, `poll()` at 0% CPU, offscreen
|
||||
`240x296` Pixmaps at `Y=24`, `PluginTheme`, `RELOAD_THEME`, idle blank/lock helpers, the 350 ms `dwm` wake guard, and
|
||||
startup keyboard-grab cleanup without a background poller.
|
||||
@@ -98,11 +104,12 @@ Keep this file short. Full details live in `README.md`, `MANUAL.md`, `SDK.md`, `
|
||||
internal panel, not the cover; `SET kernel_backlight_invert 0|1` and `SET kernel_internal_sleep 0|1` remain runtime
|
||||
knobs.
|
||||
- Keep the internal beatles panel at 25 MHz, `dc_gpio = -1` for the spidev fallback, external-panel firmware and
|
||||
initramfs module lists, the Xorg `card0` pin, `bananarchy-cover-diagnose.sh`, and the
|
||||
initramfs module lists, `/etc/boot-deploy/hooks/10-initramfs-depmod.sh` (per-initramfs `depmod -b`), `.ko.zst`-only
|
||||
module installs, the Xorg `card0` pin, `bananarchy-cover-diagnose.sh`, and the
|
||||
`scripts/test-cover-dt.py` / `scripts/test-cover-spidev.py` guards.
|
||||
- The shipping cover backend is `backend = kernel`: keep `bananarchy-cover-dpms.sh reinit`, the gpio13 mux claim,
|
||||
the centered 240x240 X11/`/dev/fb0` cover frame, the 1 s repaint against Xorg, `kernel_backlight_invert = 0`,
|
||||
`kernel_internal_sleep = 0`, `kernel_backlight_level = 14`, shared **Config -> Screen blank** timeout reload,
|
||||
`kernel_internal_sleep = 0`, `kernel_backlight_level = 14`, shared **Config -> Screen blank** timeout reload (`wake_blank_timeout = 8` for passive wakes),
|
||||
closed-flip `CALL` cover UI (`cover_hold_awake`, `BUTTON VOLUP`/`VOLDOWN` -> `mute-ring`, `BUTTON POWER` -> `hangup-call`,
|
||||
delayed `CALL muted` guard), clean `SIGTERM` cover blanking, live timezone refresh (`ba_refresh_tz` / `REFRESH`),
|
||||
`scripts/test-cover-kernel.py`, `scripts/test-time-timezone-sync.py`, and the `spidev`/`fb`/`none` rollback backends.
|
||||
|
||||
Reference in new issue
Block a user