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.
11 lines
815 B
Bash
11 lines
815 B
Bash
# B8E-2 (board): start test AP from /tmp/b8e (RAM). Static 192.168.50.1/24 on wlan0 only for an optional ping test (no DHCP/NAT).
|
|
cd /tmp/b8e; export LD_LIBRARY_PATH=/tmp/b8e/lib
|
|
echo AP-BEGIN; cat /proc/uptime; ./hostapd -v 2>&1 | head -1
|
|
D0=$(dmesg | wc -l)
|
|
printf 'trap "" HUP\nexec /tmp/b8e/hostapd -t -d /tmp/b8e/hostapd-b8e.conf > /tmp/b8e/hostapd.log 2>&1\n' > /tmp/b8e/run.sh
|
|
LD_LIBRARY_PATH=/tmp/b8e/lib setsid sh /tmp/b8e/run.sh < /dev/null > /dev/null 2>&1 &
|
|
sleep 6; ps w | grep "[h]ostapd"; grep -E "AP-ENABLED|AP-DISABLED|Could not|failed|error" /tmp/b8e/hostapd.log | head
|
|
ip addr add 192.168.50.1/24 dev wlan0 2>&1; ip -o addr show wlan0; iw dev wlan0 info
|
|
echo ---dmesg-new; dmesg | tail -n +$((D0+1))
|
|
for r in /sys/class/remoteproc/*; do echo "RP $(cat $r/name)=$(cat $r/state)"; done
|
|
echo AP-END
|