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).
12 lines
1.2 KiB
Bash
12 lines
1.2 KiB
Bash
#!/bin/bash
|
|
# lk2nd-23.1 extlinux emulator (b5b/emu) on: S4 (T4 cache = current flash, regression vs r2/t4/emu), B7C cache candidate, and B7C fault variants. Offline, 480s.
|
|
cd ~/doc/modem/jz08-aurora/b7/b7c/cache/emu; E=../../../../b5b/emu; GPT=../../../../logs/b5a/A3/gpt-primary-34.bin; C=/home/q/doc/modem/jz08-aurora/b7/b7c/cache/cache-extlinux-b7c.img
|
|
run() { python3 $E/mkmap.py $2 > map-$1.txt; $E/lk2nd-scan-emu map-$1.txt $GPT > $1.out 2>&1; echo "== $1 rc=$? :: $(grep -E "Trying to boot|Reverting|boot_linux reached|ramdisk sha256|Could not" $1.out | tr '\n' ' ' | cut -c1-260)"; }
|
|
run S4-t4-regression /home/q/doc/modem/jz08-aurora/r2/t4/cache-extlinux-t4.img
|
|
cmp <(grep HARNESS S4-t4-regression.out) <(grep HARNESS ../../../../r2/t4/emu/S4-t4-candidate.out) && echo " S4 HARNESS lines == r2/t4/emu/S4-t4-candidate.out"
|
|
run S5-b7c-candidate $C; grep HARNESS S5-b7c-candidate.out
|
|
D=$(mktemp -d); v(){ cp $C $D/$1.img; chmod u+w $D/$1.img; }
|
|
v F3-no-initrd; /sbin/debugfs -w -R "rm /initramfs-b7c.cpio.gz" $D/F3-no-initrd.img >/dev/null 2>&1
|
|
v F1-no-conf; /sbin/debugfs -w -R "rm /extlinux/extlinux.conf" $D/F1-no-conf.img >/dev/null 2>&1
|
|
head -c 134217728 /dev/zero > $D/F10-zeroed-cache.img
|
|
for f in $D/F*.img; do run $(basename $f .img) $f; done; rm -rf $D
|