��������


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; echo "WCNSS_RP=$W state=$(cat $W/state 2>&1)"
WCNSS_RP=/sys/class/remoteproc/remoteproc1 state=offline
~ # [ -n "$W" ] && [ "$(cat $W/state)" = offline ] && { echo start > $W/state; e
cho "START rc=$?"; }; cat /proc/uptime
START rc=0
135.89 501.08
~ # sleep 15; echo "after15 state=$(cat $W/state 2>&1)"; dmesg | grep -E "a20400
0|wcnss|WCNSS|nv" | tail -8
after15 state=running
[    1.264293] remoteproc remoteproc1: Direct firmware load for wcnss.mdt failed with error -2
[    1.264316] remoteproc remoteproc1: powering up a204000.remoteproc
[    1.275171] remoteproc remoteproc1: Direct firmware load for wcnss.mdt failed with error -2
[    1.314195]   with environment:
[  135.538734] remoteproc remoteproc1: powering up a204000.remoteproc
[  135.539057] remoteproc remoteproc1: Booting fw image wcnss.mdt, size 7260
[  136.039870] remoteproc remoteproc1: remote processor a204000.remoteproc is now up
[  136.158418] qcom_wcnss_ctrl remoteproc1:smd-edge.WCNSS_CTRL.-1.-1: WCNSS Version 1.5 1.2
~ # [6n