uzbek-plus/logs/r3/r3a/host-ping-observer.sh
q 8d7721c775 B7: add network time bootstrap and persistent B7C cache
B7A: QMI DMS time vs VNIIFTRI NTP (DMS = UTC - 0.28 s, sigma 1 ms; NITZ = DMS
truncated to 1 s). B7B: a 1970 -> 2026 date -s step is harmless for the modem
stack. B7C: aurora-modem probes DMS/NITZ along the start flow and steps
CLOCK_REALTIME once at the first valid sample (REG registered/attached), never
RTC; background SNTP check (query only) after START OK. 3/3 class-A cold boots
PASS (residual +0.04/+0.36/+0.84 s), cache 14fe453a written (B7C_WRITE_VERIFIED)
and verified by a normal power-on (V1, +0.26 s).

Also publishes the prerequisite R2 (boot-hang / lk eMMC investigation, T4
telnet baseline that B7C builds on) and R3 (autonomous cold boot, NCM loss)
material, and extends tools/publish-sanitize.py to r2/, r3/, b7/.
Binary images, initramfs, busybox and raw logs stay out (see b7/*/SHA256SUMS).
2026-10-02 20:18:25 +03:00

10 lines
375 B
Bash
Executable file

#!/bin/sh
# R3A passive observer (480s side only): ping 172.16.42.1 every ~3 s, log host NCM IPv4 presence. Sends nothing else to the board.
O=$1
while :; do
t=$(date +%H:%M:%S.%3N)
h=$(ip -4 -o addr | awk "/172\.16\.42\.2\//{print \$2}")
if ping -c1 -W2 172.16.42.1 >/dev/null 2>&1; then p=OK; else p=--; fi
echo "$t ping=$p host_if=${h:-none}" >> $O
sleep 1
done