- B9A: read-only audit of stock LK/DT: the panel is an ST7735S 128x128 on SPI (BLSP1 QUP4, 16 MHz, mode 3, D/C GPIO116, RESET GPIO118), backlight = PM8916 MPP4 current sink 40 mA. - B9B: upstream panel-mipi-dbi with the stock init sequence as firmware; MPP4 sink via pinctrl + gpio-backlight; first light with correct colours/orientation/offsets. - B9C: fbcon (6x8, 21x16) on tty1 + getty, UART console kept, aurora-display service; cache B9C b9ce13c9 written and verified, cold boots with LTE + Wi-Fi + display. - B9L (RAM only): lk2nd second stage with an msm8916 SPI panel port shows a picture before Linux. - Sanitizer: whitelist for b8/ and b9/.
11 lines
704 B
Bash
11 lines
704 B
Bash
#!/bin/sh
|
|
# B9A (480s side, READ-ONLY): push b9a-live.sh to board RAM (/tmp) over NCM nc, run it via telnet, save the output.
|
|
# Board must already be up (normal B8F boot). Nothing is written to eMMC; no reboot.
|
|
set -e; cd ~/doc/modem/jz08-aurora; O=logs/b9/b9a; mkdir -p $O; S=b9/b9a/b9a-live.sh; P=9931
|
|
tn() { { sleep 1; printf '%s\r\n' "$1"; sleep $2; } | ncat 172.16.42.1 23 | tr -d "\000\r"; }
|
|
tn "nc -l -p $P > /tmp/b9a-live.sh &" 1 > /dev/null
|
|
sleep 1; ncat --send-only 172.16.42.1 $P < $S
|
|
tn "sha256sum /tmp/b9a-live.sh" 2 | grep b9a-live
|
|
sha256sum $S
|
|
tn "sh /tmp/b9a-live.sh 2>&1" 15 | sed -n '/^B9A-LIVE-BEGIN/,/^B9A-LIVE-END/p' > $O/b9a-linux-display.raw.txt
|
|
wc -l $O/b9a-linux-display.raw.txt
|