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
218
218
# Reference: https://elixir.bootlin.com/linux/v5.5.6/source/drivers/rpmsg/virtio_rpmsg_bus.c#L581
219
219
dd if=" $2 " bs=496 of=$RPMSG_DIR
220
220
;;
221
+ log)
222
+ cat /sys/kernel/debug/remoteproc/remoteproc0/trace0
223
+ ;;
221
224
minicom)
222
225
autodetect_board
223
226
TERM=xterm minicom -D $RPMSG_DIR
@@ -234,7 +237,8 @@ case "$1" in
234
237
* )
235
238
echo " Usage: $0 [start|stop|restart]"
236
239
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] ..."
238
242
echo " $0 [generate]"
239
243
echo " "
240
244
echo " $0 is a helper script that helps managing an Arduino binary"
@@ -269,6 +273,9 @@ case "$1" in
269
273
echo " $0 minicom"
270
274
echo " Launch minicom interactive serial communication program."
271
275
echo " "
276
+ echo " $0 log"
277
+ echo " Print debugging log in OpenAMP trace buffer."
278
+ echo " "
272
279
echo " $0 stop"
273
280
echo " Stop the coprocessor."
274
281
echo " "
You can’t perform that action at this time.
0 commit comments