��������


BusyBox v1.37.0 (Debian 1:1.37.0-6+b9) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ # [6nfor r in /sys/class/remoteproc/*; do echo "RP $(cat $r/name)=$(cat $r/state)
"; done; cat /proc/uptime
RP 4080000.remoteproc=running
RP a204000.remoteproc=running
293.42 1127.82
~ # echo "crash=$(dmesg | grep -cE 'crash detected in a204000') dog=$(dmesg | gr
ep -cE 'Watchdog startup timeout') nvfail=$(dmesg | grep -cE 'Failed to load nv'
) wfatal=$(dmesg | grep -cE 'qcom-wcnss-pil.*fatal') wcnerr=$(dmesg | grep -ciE 
'wcn36xx.*(fail|error|timeout)') phy=$(ls /sys/class/ieee80211 2>/dev/null | tr 
'\n' ',') wlan=$(ls /sys/class/net | grep -c wlan)"
crash=0 dog=0 nvfail=0 wfatal=0 wcnerr=0 phy=phy0, wlan=1
~ # ls /sys/bus/rpmsg/devices | grep -c "remoteproc1:smd-edge.WCNSS_CTRL"; echo 
"ping: $(grep -c bytes /tmp/b8d-ping.log) ok, last: $(tail -1 /tmp/b8d-ping.log)
"
1
ping: 165 ok, last: 64 bytes from 77.88.8.8: seq=163 ttl=47 time=69.534 ms
~ # [6n