Fix mmc1 microSD initialization with sdhci-msm HPM/LPM regulator_set_load
- Update drivers/mmc/host/sdhci-msm.c in patch 0012 so sdhci_msm_register_vreg(), sdhci_msm_set_vmmc(), msm_toggle_vqmmc(), and sdhci_msm_runtime_resume() vote 200 mA vmmc / 20 mA vqmmc HPM loads during probe, card init, and UHS-I tuning while sdhci_msm_runtime_suspend() drops vmmc/vqmmc to 2 mA / 0 mA LPM - Rebuild vmlinuz/modules/DTBs via scripts/build-kernel-audio.sh and sync prebuilt/ and overlay/rootfs/ artifacts - Guard sdhci-msm regulator_set_load hunks in scripts/check-rebuild.sh, document the fix in BATTERY-OPTIMIZATION-ANALYSIS.md, AGENTS.md, and Unreleased CHANGELOG.md notes, and update rebuilt --mkinitfs image SHA-256 checksums across all four targets (verified live on Nokia 2720)
This commit is contained in:
1 parent
c9eb28b891
commit
601aaca25c
9 files changed
+26739
-26707
No files matched your search
+8
-8
@@ -33,16 +33,16 @@ Release versions follow the `<year-letter><MM><DD>` format (where `2026` is `a`,
|
||||
- **IMS Combined EPS/IMSI detection, QRTR idle sleep, and VoWiFi backoff (`src/bananarchy-daemons/ims_qrtr.h`, `bananarchy-imsd.c`, `src/dwm-plugins/bananarchy_vowifi.cpp`, `overlay/rootfs/etc/NetworkManager/dispatcher.d/40-bananarchy-ims.sh`)**: inspected TLV `0x01` `cs_attach` in `ims_qmi_nas_get_serving()` (plus PS-attach/registered checks) so standard Combined EPS/IMSI (`cs_attach == 1`) LTE+CSFB cells stay `NETWORK_4G_ONLY=0` under `volte_mode=auto` / `vowifi_mode=auto` rather than keeping VoLTE/VoWiFi active and blocking GSM Wi-Fi standby RAT parking; added `close_qrtr()` when idle, deduplicated `ims_state_write()` updates via `ims_state_equal()`, bounded child sync/check retries so `bananarchy-imsd` returns to `poll(..., -1)` instead of waking every `2,000 ms`, skipped NAS QRTR probes on Wi-Fi events while parked or inactive, skipped `40-bananarchy-ims.sh` `dhcp4-change` / `dhcp6-change` / `connectivity-change` notifications when both `VOLTE_ACTIVE` and `VOWIFI_ACTIVE` are `0`, guarded `openCtlSocket()` rebinds in `bananarchy-vowifi`, and replaced its `1.5 s` / `10 s` retry storm with capped exponential backoff (`5 s` to `300 s`).
|
||||
- **Display/lockscreen/cover power-policy sync & idempotency (`overlay/rootfs/usr/bin/bananarchy-display-power-sync`, `bananarchy-power-policy.sh`, `src/dwm-plugins/locker_plugin.cpp`, `30-bananarchy-network-status.sh`)**: synced `CPU_GOV_PATH` (`powersave` when dark or cover-lit, `schedutil` on interactive wake) and `sync_standby_policy()` across both flip and non-flip branches of `bananarchy-display-power-sync`, wired `blankScreenBacklight()` / `wakeScreenBacklight()` in `locker.so` to `/usr/bin/bananarchy-power-policy.sh screenoff|screenon`, made `screenoff()`, `screenon()`, and `arm_rat_park_timer()` idempotent via `$RUNDIR/standby.mode` and `$RUNDIR/rat_timer.pid` across dark/cover-lit/dark cycles, and suppressed `30-bananarchy-network-status.sh` `su user` spawns for noisy `dhcp4-change` / `dhcp6-change` / `dns-change` / `connectivity-change` events while dark.
|
||||
- **QMI NAS signal hysteresis wire-protocol fix (`src/bananarchy-daemons/bananarchy-dsds.c`)**: corrected `apply_sig_hysteresis()` from wrong opcodes `0x006F` (`4`-byte sub) and `0x004F` (`GET_SIGNAL_INFO`) + TLV `0x13` to `QMI_NAS_BIND_SUBSCRIPTION` (`0x0045`, `1`-byte TLV `0x01`) and `QMI_NAS_CONFIG_SIGNAL_INFO` (`0x0050`) with `RSSI` (`0x10`), WCDMA `RSCP` (`0x18`), LTE `RSRP` (`0x16`, 16-bit LE), and `lte_report` (`0x17`, `rate=0`, `avg=5 s` dark / `1 s` wake) verified against `libqmi-glib.so.5.12.0`, suppressing minor standby RF fluctuations from waking APSS over QRTR.
|
||||
- **microSD PM8909 `l11` static `200 mA` load removal (`devices/*/*.dts`, `prebuilt/kernel-6.12.1-msm8916/dtbs/*.dtb`)**: removed static `regulator-system-load = <0x30d40>;` from PM8909 `l11` across all 6 DTS files and recompiled all 5 shipping DTBs so `sdhci@7864000` honors pure `regulator-allow-set-load;` Low-Power Mode when a microSD card is inserted.
|
||||
- **microSD PM8909 `l11` static `200 mA` load removal & `sdhci-msm` probe/active HPM + standby LPM `set_load` (`patches/kernel/0012-msm8909-standby-wifi-wcd-panel-ldo-bms.patch`, `devices/*/*.dts`, `prebuilt/kernel-6.12.1-msm8916/`)**: removed static `regulator-system-load = <0x30d40>;` from PM8909 `l11` across all 6 DTS files while extending `sdhci-msm.c` (`sdhci_msm_register_vreg()`, `sdhci_msm_set_vmmc()`, `msm_toggle_vqmmc()`, `sdhci_msm_runtime_resume()`, `sdhci_msm_runtime_suspend()`) and rebuilding `vmlinuz`/modules/DTBs so microSD probe and UHS-I tuning receive full `200 mA` / `20 mA` HPM without brownout (`-5`/`-110`) and idle runtime suspend drops `vmmc`/`vqmmc` to `2 mA`/`0 mA` PM8909 LPM.
|
||||
- **Offline verification (`scripts/test-imsd-volte.py`, `scripts/test-standby-power-policy.py`, `scripts/check-rebuild.sh`, `BATTERY-OPTIMIZATION-ANALYSIS.md`)**: added host regression tests for Combined EPS/IMSI (`cs_attach=1`), `searching_lte`, and 0-packet `2.2 s` QRTR idle silence in `test-imsd-volte.py`; added host tests for `CPU_GOV_PATH` + idempotent `screenoff`/`screenon` across dark/cover-lit/open, `standby.mode`/`rat_timer.pid`, `bananarchy-dsds --sig-hysteresis` QMI `0x0045`/`0x0050` wire framing over `AF_UNIX` `SOCK_SEQPACKET`, and `30-bananarchy-network-status.sh` dark gating in `test-standby-power-policy.py`; guarded DTS/DTBs against `regulator-system-load` in `check-rebuild.sh`; and documented Section 24 in `BATTERY-OPTIMIZATION-ANALYSIS.md`.
|
||||
- **Rebuilt local image SHA-256 checksums (`--mkinitfs`, no release `.zip` archives built yet)**:
|
||||
- `images/bananarchy-nokia-argon.img`: `7ed88928baf8f8926e7213919e304991cd0a30e0166c0b91da610396f606cf37`
|
||||
- `images/bananarchy-nokia-beatles.img`: `616ef7ceaa3e49b73ff90f14c8d30e658f3e35349549414a78c1f6a15e6f75c2`
|
||||
- `images/boot-bananarchy-nokia-beatles.img`: `a51cf223d3b6231e1a00947f5a084939c54c76d10051a43d37dfd2652d88f99f`
|
||||
- `images/bananarchy-nokia-coconut.img`: `598482a219e235cc323821d8dda5c62d380ec6773b739fdf1c12cf8ad7c6648e`
|
||||
- `images/boot-bananarchy-nokia-coconut.img`: `f6ba9567d9f57a5503751c023a606eae71a8f68047c03380f68ab488b8ab51b5`
|
||||
- `images/bananarchy-nokia-sparkler.img`: `d86779df5f38d0d5cd516b9123f17dfbd7ba8874435517146e281382e5998f9a`
|
||||
- `images/boot-bananarchy-nokia-sparkler.img`: `1e6a1659c4ae9a95c29c96a41edf9343535229d583dcec3d2063667c98745fbc`
|
||||
- `images/bananarchy-nokia-argon.img`: `beb3c4f9d4bbf2356e6d106fa10adec105f34d3f696bfce8109c85869bab5bfd`
|
||||
- `images/bananarchy-nokia-beatles.img`: `a240e3d243c9bef0fc1c014f113b0d14d7295815ff3681e7887d4650ebd7f18a`
|
||||
- `images/boot-bananarchy-nokia-beatles.img`: `c92f99bc07348f9cd63f083440116fdd7fc219c5cbe20526d6eb3cd134cbd7ca`
|
||||
- `images/bananarchy-nokia-coconut.img`: `e58abff5555b13f2896962166aa2469772ea00f2bf396d032f3637072262a055`
|
||||
- `images/boot-bananarchy-nokia-coconut.img`: `e96ea67004bc37f4ad912c5cbcc00fc4ad6da895e31bb5201395910c067174e8`
|
||||
- `images/bananarchy-nokia-sparkler.img`: `a96454fa5baa41e9c5c510636c2a3ac070d01914941b786f05c2e653f9aa8c30`
|
||||
- `images/boot-bananarchy-nokia-sparkler.img`: `f8fb959bb945b04a3cf9081aed191f055c3650cad8c6ec6509bd0a8694aaf529`
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user