File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -218,6 +218,9 @@ case "$1" in
218218 # Reference: https://elixir.bootlin.com/linux/v5.5.6/source/drivers/rpmsg/virtio_rpmsg_bus.c#L581
219219 dd if=" $2 " bs=496 of=$RPMSG_DIR
220220 ;;
221+ log)
222+ cat /sys/kernel/debug/remoteproc/remoteproc0/trace0
223+ ;;
221224 minicom)
222225 autodetect_board
223226 TERM=xterm minicom -D $RPMSG_DIR
@@ -234,7 +237,8 @@ case "$1" in
234237 * )
235238 echo " Usage: $0 [start|stop|restart]"
236239 echo " $0 [install|uninstall]"
237- echo " $0 [monitor|send-msg|send-file|minicom]"
240+ echo " $0 [monitor|minicom|log]"
241+ echo " $0 [send-msg|send-file] ..."
238242 echo " $0 [generate]"
239243 echo " "
240244 echo " $0 is a helper script that helps managing an Arduino binary"
@@ -269,6 +273,9 @@ case "$1" in
269273 echo " $0 minicom"
270274 echo " Launch minicom interactive serial communication program."
271275 echo " "
276+ echo " $0 log"
277+ echo " Print debugging log in OpenAMP trace buffer."
278+ echo " "
272279 echo " $0 stop"
273280 echo " Stop the coprocessor."
274281 echo " "
You can’t perform that action at this time.
0 commit comments