uzbek-plus/b8/b8f/init-t4-vs-b8f.diff
q dddc11e57b B8: Wi-Fi (WCNSS/Pronto + wcn36xx + hostapd test AP) and persistent B8F cache
B8A audit, B8B Pronto remoteproc (fixed wcnss_mem 0x8b600000), B8C stock NV
(fixes Pronto startup watchdog), B8D cfg80211/mac80211/wcn36xx -> phy0/wlan0,
B8E wlan0 up + WPA2/CCMP test AP, B8F eMMC cache 857c9c30 with aurora-wifi
autostart: 3/3 class-A cold boots, AP up 76-94 s after power-on, LTE unaffected.
PSK, NV and PSK-bearing images are not published.
2026-10-02 22:55:20 +03:00

19 lines
1.3 KiB
Diff

--- ../../r2/t4/rootfs/init 2026-10-02 14:08:42.105917868 +0600
+++ rootfs/init 2026-10-03 01:03:40.225791442 +0600
@@ -1,6 +1,6 @@
#!/bin/busybox sh
# Aurora RAM boot MM1 — QMI1 + ModemManager (qcom-soc) + D-Bus + polkit + eudev.
-# R2/T4: B6P init + telnetd on NCM (RAM test image, never written to flash).
+# R2/T4: B6P init + telnetd on NCM. B8F: + Wi-Fi service autostart (aurora-wifi).
# B6P: after eMMC RO + /firmware RO + USB NCM, autostarts /etc/init.d/aurora-modem (B6N-proven lifecycle).
# NEVER mounts, fsck's, formats, trims or writes any mmcblk* device.
# No block devices, no firmware, no radios. Never exits (failures leave the UART shell).
@@ -128,6 +128,8 @@
echo "B1_OK=${B1_OK:-0}"
# B6P: modem autostart only when every eMMC device is RO and the modem FAT is mounted RO (the controller re-checks both).
if [ "$EMMC_RO_OK" = 1 ] && [ "$B1_OK" = 1 ]; then /etc/init.d/aurora-modem start; else log "B6P: modem autostart SKIPPED (EMMC_RO_OK=${EMMC_RO_OK:-0} B1_OK=${B1_OK:-0})"; fi
+# B8F: Wi-Fi autostart (Pronto + wcn36xx + test AP) under the same RO gates; the service itself waits for modem START OK/FAIL.
+if [ "$EMMC_RO_OK" = 1 ] && [ "$B1_OK" = 1 ]; then /etc/init.d/aurora-wifi start; else log "B8F: wifi autostart SKIPPED"; fi
echo "=== entering shell (exit restarts it) ==="
while true; do
setsid cttyhack sh