��������


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 [ "$(cat $r/name)" = a204000.remoteproc
 ] && W=$r; done; cat /proc/uptime
587.48 2295.77
~ # echo stop > $W/state; echo "STOP rc=$?"; sleep 5; echo "state=$(cat $W/state
)"; dmesg | tail -6
STOP rc=0
state=offline
[  135.526301] remoteproc remoteproc1: powering up a204000.remoteproc
[  135.526423] remoteproc remoteproc1: Booting fw image wcnss.mdt, size 7260
[  135.995366] remoteproc remoteproc1: remote processor a204000.remoteproc is now up
[  136.119074] qcom_wcnss_ctrl remoteproc1:smd-edge.WCNSS_CTRL.-1.-1: WCNSS Version 1.5 1.2
[  588.145166] qcom-wcnss-pil a204000.remoteproc: timeout waiting for ssctl service
[  588.160996] remoteproc remoteproc1: stopped remote processor a204000.remoteproc
~ # sleep 10; echo ---ping-summary; tail -4 /tmp/b8c-ping.log; grep -c bytes /tm
p/b8c-ping.log; /etc/init.d/aurora-modem status | grep -E "controller|remoteproc
|mm state|access tech"
---ping-summary
64 bytes from 77.88.8.8: seq=470 ttl=48 time=56.067 ms
64 bytes from 77.88.8.8: seq=471 ttl=48 time=54.368 ms
64 bytes from 77.88.8.8: seq=472 ttl=48 time=63.644 ms
64 bytes from 77.88.8.8: seq=473 ttl=48 time=53.825 ms
473
controller: BEARER_CONNECTED
remoteproc: 4080000.remoteproc running (/sys/class/remoteproc/remoteproc0) fw=mba.mbn
  mm state: connected
  mm access tech: lte
~ # awk "{print \"emmc w=\"\$5\" s=\"\$7}" /sys/block/mmcblk0/stat
emmc w=0 s=0
~ # [6n