From eeb40d5ca35a40f2e4d0fa365b6e5544e73fe6fe Mon Sep 17 00:00:00 2001 From: Andrei Radulescu Date: Sun, 22 Feb 2026 22:58:13 +0200 Subject: [PATCH] op: add som-debug command for SOM serial debug via panda --- tools/op.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/op.sh b/tools/op.sh index 8c41926e0ce0ba8..94896da8d8d3455 100755 --- a/tools/op.sh +++ b/tools/op.sh @@ -292,6 +292,11 @@ function op_ssh() { op_run_command tools/scripts/ssh.py "$@" } +function op_som_debug() { + op_before_cmd + op_run_command panda/scripts/som_debug.sh $@ +} + function op_check() { VERBOSE=1 op_before_cmd @@ -421,6 +426,7 @@ function op_default() { echo -e " ${BOLD}clip${NC} Run clip (linux only)" echo -e " ${BOLD}adb${NC} Run adb shell" echo -e " ${BOLD}ssh${NC} comma prime SSH helper" + echo -e " ${BOLD}som-debug${NC} SOM serial debug console via panda" echo "" echo -e "${BOLD}${UNDERLINE}Commands [Testing]:${NC}" echo -e " ${BOLD}sim${NC} Run openpilot in a simulator" @@ -481,6 +487,7 @@ function _op() { post-commit ) shift 1; op_install_post_commit "$@" ;; adb ) shift 1; op_adb "$@" ;; ssh ) shift 1; op_ssh "$@" ;; + som-debug ) shift 1; op_som_debug "$@" ;; * ) op_default "$@" ;; esac }