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).
17 lines
1.4 KiB
Bash
Executable file
17 lines
1.4 KiB
Bash
Executable file
#!/bin/sh
|
|
# R2/T4 RAM test image: exact B6P initramfs (8dcb61c8) + appended overlay with /init = B6P init + telnetd on 172.16.42.1:23.
|
|
# Kernel/DTB/cmdline = golden mm1 (same as B6P). For `fastboot boot` only - never flash.
|
|
set -e; cd "$(dirname "$0")"; B=../../b6p; O=out; GEN=../../linux/out/usr/gen_init_cpio; TS=1790726400
|
|
G=../../linux/artifacts/ramboot-mm1
|
|
echo "8dcb61c8d839e8709c17abb2736f69a0ca4d0a689d931e79ddacaaf59933f5b9 $B/out/initramfs-b6p.cpio.gz" | sha256sum -c
|
|
echo "18a25e399c96afaf22e8e84e0d7c8fef18518bb427c9a36440ad6435f71b9090 $B/out/aurora-mm1-b6p.img" | sha256sum -c
|
|
# prove the writer reproduces the B6P image bit-for-bit
|
|
python3 $B/mkbootimg.py $B/out/golden-unpack/kernel $B/out/initramfs-b6p.cpio.gz $G/cmdline.txt $O/b6p-rebuilt.img
|
|
cmp $O/b6p-rebuilt.img $B/out/aurora-mm1-b6p.img && echo "mkbootimg: B6P reproduced bit-for-bit"
|
|
printf 'file /init rootfs/init 0755 0 0\n' > $O/overlay-t4.list
|
|
$GEN -t $TS $O/overlay-t4.list > $O/overlay-t4.cpio
|
|
gzip -9 -n -c $O/overlay-t4.cpio > $O/overlay-t4.cpio.gz
|
|
cat $B/out/initramfs-b6p.cpio.gz $O/overlay-t4.cpio.gz > $O/initramfs-t4.cpio.gz
|
|
python3 $B/mkbootimg.py $B/out/golden-unpack/kernel $O/initramfs-t4.cpio.gz $G/cmdline.txt $O/aurora-mm1-t4telnet.img
|
|
sha256sum rootfs/init $O/overlay-t4.cpio.gz $O/initramfs-t4.cpio.gz $O/aurora-mm1-t4telnet.img > $O/SHA256SUMS
|
|
cat $O/SHA256SUMS; ls -l $O/aurora-mm1-t4telnet.img
|