uzbek-plus/b8/b8b/build-b8b.sh
q dddc11e57b B8: Wi-Fi (WCNSS/Pronto + wcn36xx + hostapd test AP) and persistent B8F cache
B8A audit, B8B Pronto remoteproc (fixed wcnss_mem 0x8b600000), B8C stock NV
(fixes Pronto startup watchdog), B8D cfg80211/mac80211/wcn36xx -> phy0/wlan0,
B8E wlan0 up + WPA2/CCMP test AP, B8F eMMC cache 857c9c30 with aurora-wifi
autostart: 3/3 class-A cold boots, AP up 76-94 s after power-on, LTE unaffected.
PSK, NV and PSK-bearing images are not published.
2026-10-02 22:55:20 +03:00

14 lines
1.3 KiB
Bash
Executable file

#!/bin/sh
# B8B RAM test image: kernel = bam1 + CONFIG_QCOM_WCNSS_PIL=y (out-b8b), DTB = b8b (wcnss okay, wcnss_mem fixed 0x8b600000/6 MiB,
# iris qcom,wcn3620), initramfs = exact B7C initramfs, cmdline = golden mm1. For `fastboot boot` only - never flash.
set -e; cd "$(dirname "$0")"; O=out; KB=/home/q/aurora-kbuild/out-b8b; L=../../linux; G=$L/artifacts/ramboot-mm1; C=../../b7/b7c/out
echo "a10056c50a6cc89dd14c3a418fc1de4ed4b21986f4661ad959184fc0e6ab2c7b $L/dts/msm8916-jz08-aurora-bam1.dtb" | sha256sum -c
sha256sum $C/initramfs-b7c.cpio.gz $C/aurora-mm1-b7c.img
# prove the writer still reproduces B7C bit-for-bit from golden kernel + B7C initramfs
python3 ../../b6p/mkbootimg.py ../../b6p/out/golden-unpack/kernel $C/initramfs-b7c.cpio.gz $G/cmdline.txt $O/b7c-rebuilt.img
cmp $O/b7c-rebuilt.img $C/aurora-mm1-b7c.img && echo "mkbootimg: B7C reproduced bit-for-bit"; rm $O/b7c-rebuilt.img
cp $KB/arch/arm64/boot/Image.gz $O/Image.gz; cp $L/dts/msm8916-jz08-aurora-b8b.dtb $O/msm8916-jz08-aurora-b8b.dtb
cat $O/Image.gz $O/msm8916-jz08-aurora-b8b.dtb > $O/Image.gz-dtb
python3 ../../b6p/mkbootimg.py $O/Image.gz-dtb $C/initramfs-b7c.cpio.gz $G/cmdline.txt $O/aurora-b8b.img
cp $KB/.config $O/config-b8b
(cd $O && sha256sum Image.gz msm8916-jz08-aurora-b8b.dtb Image.gz-dtb config-b8b aurora-b8b.img > SHA256SUMS; cat SHA256SUMS); ls -l $O/aurora-b8b.img