��������


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
481.42 1874.90
~ # 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')"
crash=0 dog=0 nvfail=0 wfatal=0
~ # ls /sys/bus/rpmsg/devices | grep -c "remoteproc1:smd-edge.WCNSS_CTRL"; echo 
"ping: $(grep -c bytes /tmp/b8c-ping.log) ok, last: $(tail -1 /tmp/b8c-ping.log)
"
1
ping: 351 ok, last: 64 bytes from 77.88.8.8: seq=351 ttl=48 time=72.890 ms
~ # [6n