Implement 0011 boot ICC, OPP latency, USB PHY, Q6ASM/ALSA, and ZRAM fixes

- Add patches/kernel/0011-msm8909-boot-icc-opp-usb-audio-fixes.patch and update all six standalone device DTS files: mark XPU-restricted MSM8909 PCNOC interconnect nodes ap_owned with NOC_QOS_MODE_INVALID to clear -ENXIO errors, move clock-latency-ns onto each CPU opp child node so cpuinfo_transition_latency reports 100 us instead of CPUFREQ_ETERNAL (6.44 s schedutil rate limit), convert qcom-cpufreq-nvmem OPP deferrals to dev_err_probe, guard fixed 3.075 V pm8909_l13 in phy-qcom-usb-hs, handle async WRITE_V2/READ_V2 and synchronous EOS APR responses in q6asm, and disable unrouted dai-link-multimedia3 while setting q6voice_device=3 for shifted VoiceMMode1 (hw:0,3).
- Restore /bin, /usr/bin, and /usr/sbin BusyBox applet symlinks (excluding pkill) in apply-bananarchy-overlay.sh, size /dev/zram0 from /proc/meminfo in zramstart, guard "/" D-Bus object paths in NetworkManager 50-dns-filter.sh, sync schedutil rate_limit_us in bananarchy-display-power-sync, replace remaining pkill/pgrep -f uses in X11/hook/modem scripts, and clean temporary AT response files via trap in msm-modem-uim-selection.
- Verify live after reboot on nokia-argon, rebuild a1114 (carbonara) images/archives for nokia-argon and nokia-beatles with e2fsck/debugfs and check-rebuild.sh guards, and update pinned hashes in scripts/check-rebuild.sh and CHANGELOG.md.
This commit is contained in:
Luxferre committed 2026-11-13 21:27:41 +02:00
1 parent a23a9b4edb
commit 786480a08f
43 files changed
+48354 -47685

No files matched your search

+31
View File
@@ -162,6 +162,33 @@ if [ -f "$SBIN_LIST" ]; then
fi
done < "$SBIN_LIST"
fi
# /usr/bin and /usr/sbin BusyBox applets (e.g. free for zramstart, find,
# xargs, top, vi, wget) are also skipped by apk --no-scripts; omit pkill
# so target scripts never depend on it.
mkdir -p "$TARGET_ROOTFS/usr/bin" "$TARGET_ROOTFS/usr/sbin"
USR_BIN_LIST="$BASE_DIR/scripts/busybox-usr-bin-applets.txt"
if [ -f "$USR_BIN_LIST" ]; then
while IFS= read -r applet; do
[ -n "$applet" ] || continue
if [ ! -e "$TARGET_ROOTFS/usr/bin/$applet" ]; then
[ ! -L "$TARGET_ROOTFS/usr/bin/$applet" ] || \
rm -f "$TARGET_ROOTFS/usr/bin/$applet"
ln -s /bin/busybox "$TARGET_ROOTFS/usr/bin/$applet"
fi
done < "$USR_BIN_LIST"
fi
rm -f "$TARGET_ROOTFS/usr/bin/pkill"
USR_SBIN_LIST="$BASE_DIR/scripts/busybox-usr-sbin-applets.txt"
if [ -f "$USR_SBIN_LIST" ]; then
while IFS= read -r applet; do
[ -n "$applet" ] || continue
if [ ! -e "$TARGET_ROOTFS/usr/sbin/$applet" ]; then
[ ! -L "$TARGET_ROOTFS/usr/sbin/$applet" ] || \
rm -f "$TARGET_ROOTFS/usr/sbin/$applet"
ln -s /bin/busybox "$TARGET_ROOTFS/usr/sbin/$applet"
fi
done < "$USR_SBIN_LIST"
fi
if [ -x "$BASE_DIR/scripts/version.sh" ]; then
"$BASE_DIR/scripts/version.sh" "$TARGET_ROOTFS"
fi
@@ -189,6 +216,8 @@ chown 0:0 "$TARGET_ROOTFS/etc/chrony/chrony.conf" \
"$TARGET_ROOTFS/etc/NetworkManager/dispatcher.d/10-bananarchy-dpm.sh" \
"$TARGET_ROOTFS/etc/NetworkManager/dispatcher.d/20-bananarchy-time-sync.sh" \
"$TARGET_ROOTFS/etc/NetworkManager/dispatcher.d/30-bananarchy-network-status.sh" \
"$TARGET_ROOTFS/usr/lib/NetworkManager/dispatcher.d/50-dns-filter.sh" \
"$TARGET_ROOTFS/usr/bin/zramstart" \
2>/dev/null || true
chmod 0644 "$TARGET_ROOTFS/etc/chrony/chrony.conf" 2>/dev/null || true
# The idle-blank lock helper is spawned directly by dwm's blank handler, so
@@ -216,6 +245,8 @@ chmod 0755 "$TARGET_ROOTFS/usr/bin/bananarchy-idle-blank.sh" \
"$TARGET_ROOTFS/etc/NetworkManager/dispatcher.d/10-bananarchy-dpm.sh" \
"$TARGET_ROOTFS/etc/NetworkManager/dispatcher.d/20-bananarchy-time-sync.sh" \
"$TARGET_ROOTFS/etc/NetworkManager/dispatcher.d/30-bananarchy-network-status.sh" \
"$TARGET_ROOTFS/usr/lib/NetworkManager/dispatcher.d/50-dns-filter.sh" \
"$TARGET_ROOTFS/usr/bin/zramstart" \
2>/dev/null || true
CHRONY_UID="$(awk -F: '/^chrony:/ {print $3}' "$TARGET_ROOTFS/etc/passwd" 2>/dev/null || true)"
CHRONY_GID="$(awk -F: '/^chrony:/ {print $4}' "$TARGET_ROOTFS/etc/passwd" 2>/dev/null || true)"