Sanitized research log, build/reproducibility docs, DTS, kernel configs, patches, initramfs sources, bootchain migration plans and test logs. B5 direct boot PASS; B6 modem lifecycle in progress. No dumps, NV/EFS, vendor firmware or device identifiers included.
15 lines
549 B
Bash
Executable file
15 lines
549 B
Bash
Executable file
#!/bin/sh
|
|
# JZ02 mm-up order + polkitd (JZ02 image fix). Run only after modem-up (MPSS running, QMI + wwan0 present).
|
|
[ -e /dev/wwan0qmi0 ] && [ -e /sys/class/net/wwan0 ] || { echo "ABORT: wwan0qmi0/wwan0 missing"; exit 1; }
|
|
udevd --daemon
|
|
udevadm trigger --action=add
|
|
udevadm settle --timeout=15
|
|
mkdir -p /run/dbus /var/lib/dbus /var/lib/polkit
|
|
dbus-uuidgen --ensure
|
|
dbus-daemon --system --fork
|
|
/usr/lib/polkit-1/polkitd --no-debug > /tmp/polkitd.log 2>&1 &
|
|
sleep 2
|
|
ModemManager --debug > /tmp/mm.log 2>&1 &
|
|
echo $! > /tmp/mm.pid
|
|
sleep 25
|
|
mmcli -L
|