11 lines
1 KiB
Bash
11 lines
1 KiB
Bash
#!/bin/bash
|
|
# Run the real-lk2nd-23.1-code emulator (b5b/emu) against: S1 (old B5b candidate, regression of the harness), S2 (current flash = 409bbb11),
|
|
# S3 (B6P cache candidate), and F1-F11 fault variants of the B6P image. Offline, 480s.
|
|
cd ~/doc/modem/jz08-aurora/b6p/emu; E=../../b5b/emu; GPT=../../logs/b5a/A3/gpt-primary-34.bin
|
|
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 S1-b5b-candidate-regression /home/q/doc/modem/jz08-aurora/b5b/cache-extlinux-mm1.img
|
|
cmp <(grep HARNESS S1-b5b-candidate-regression.out) <(grep HARNESS $E/S1-candidate.out) && echo " S1 HARNESS lines == session-26 S1-candidate.out"
|
|
run S3-b6p-candidate /home/q/doc/modem/jz08-aurora/b6p/cache-extlinux-b6p.img
|
|
grep HARNESS S3-b6p-candidate.out
|
|
bash mkvariants-b6p.sh > /dev/null 2>&1
|
|
for f in /tmp/b6p-var/F*.img; do n=$(basename $f .img); run $n $f; done
|