- LBC supervisor v1..v4 (linux/patches/b10b3-lbc-supervisor-v3.patch + b10/b10b3/lbc-v3-to-v4-fault-clamp.diff): CHARGING 4.20 V/450 mA -> HOLD 4.05 V after 60 min CV -> battery -> new cycle on USB insert; FAULT = VDD_MAX 4.00 V clamp - RAM tests C/B/D/D2/D3/D4 (safety timer only ends fast charge), B10B-4 actuator audit (VDD_MAX works, USB_SUSP does not), B10B-5 FAULT clamp regression, production run, warm reboot via PON reboot reason - cache = B10B-5 c3732515 (HW EDL write, readback + full partition verify), class-A persistent validation - test-only hooks/images are not part of the production kernel; images with the AP PSK are not published
12 lines
861 B
Bash
Executable file
12 lines
861 B
Bash
Executable file
#!/bin/bash
|
|
# B10 rollback — restore the B9C cache (b9ce13c9, operational since 2026-10-03: B8F + display). Needs 9008 via HW EDL (D+->GND). boot/aboot untouched.
|
|
# Deeper rollback: b9/b9c/cache/B9C-rollback.sh (B8F 857c9c30).
|
|
cd ~/doc/modem/jz08-aurora || exit 1
|
|
L=firehose/007050e100000000_394a2e47cf830150_fhprg_peek.bin ; O=logs/b10/b10b5/rollback ; mkdir -p $O
|
|
B=b9/b9c/cache/cache-extlinux-b9c.img
|
|
[ "$(sha256sum $B | cut -d' ' -f1)" = b9ce13c9f48e36a5054c0ae3c39dc3f184b1fc2eea1d57d4b8bd8e9ae800a37b ] || { echo "STOP: rollback image hash"; exit 1; }
|
|
lsusb | grep -q 05c6:9008 || { echo "STOP: no 9008"; exit 1; }
|
|
edl --loader=$L printgpt > $O/00-printgpt.log 2>&1
|
|
edl --loader=$L w cache $B > $O/cache-w.log 2>&1
|
|
edl --loader=$L r cache $O/cache-rb.bin > /dev/null 2>&1 ; cmp $B $O/cache-rb.bin && echo CACHE_RESTORED_B9C
|
|
sha256sum $B $O/cache-rb.bin
|