From 7c1dee0b41ebb63fee193b6c3af2fe47604ffc86 Mon Sep 17 00:00:00 2001 From: Eric Katzfey Date: Wed, 11 Mar 2026 16:53:21 -0700 Subject: [PATCH] feat(voxl2): add qcs6490 DSP signature support --- boards/modalai/voxl2/target/voxl-px4 | 10 ++++++---- boards/modalai/voxl2/target/voxl-px4-hitl | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/boards/modalai/voxl2/target/voxl-px4 b/boards/modalai/voxl2/target/voxl-px4 index a065612118..2d7e3d9129 100755 --- a/boards/modalai/voxl2/target/voxl-px4 +++ b/boards/modalai/voxl2/target/voxl-px4 @@ -29,10 +29,12 @@ if /bin/ls /usr/lib/rfsa/adsp/testsig-*.so &> /dev/null; then /bin/echo "Found DSP signature file" else /bin/echo "[WARNING] Could not find DSP signature file" - # Look for the DSP signature generation script - if [ -f /share/modalai/qrb5165-slpi-test-sig/generate-test-sig.sh ]; then - /bin/echo "[INFO] Attempting to generate the DSP signature file" - # Automatically generate the test signature so that px4 can run on SLPI DSP + # Look for the DSP signature generation script (platform-specific) + if [ -f /share/modalai/qcs6490-slpi-test-sig/generate-test-sig.sh ]; then + /bin/echo "[INFO] Attempting to generate the DSP signature file (qcs6490)" + /share/modalai/qcs6490-slpi-test-sig/generate-test-sig.sh + elif [ -f /share/modalai/qrb5165-slpi-test-sig/generate-test-sig.sh ]; then + /bin/echo "[INFO] Attempting to generate the DSP signature file (qrb5165)" /share/modalai/qrb5165-slpi-test-sig/generate-test-sig.sh else /bin/echo "[ERROR] Could not find the DSP signature file generation script" diff --git a/boards/modalai/voxl2/target/voxl-px4-hitl b/boards/modalai/voxl2/target/voxl-px4-hitl index c2b2f41583..c0da8adb74 100755 --- a/boards/modalai/voxl2/target/voxl-px4-hitl +++ b/boards/modalai/voxl2/target/voxl-px4-hitl @@ -6,10 +6,12 @@ if /bin/ls /usr/lib/rfsa/adsp/testsig-*.so &> /dev/null; then /bin/echo "Found DSP signature file" else /bin/echo "[WARNING] Could not find DSP signature file" - # Look for the DSP signature generation script - if [ -f /share/modalai/qrb5165-slpi-test-sig/generate-test-sig.sh ]; then - /bin/echo "[INFO] Attempting to generate the DSP signature file" - # Automatically generate the test signature so that px4 can run on SLPI DSP + # Look for the DSP signature generation script (platform-specific) + if [ -f /share/modalai/qcs6490-slpi-test-sig/generate-test-sig.sh ]; then + /bin/echo "[INFO] Attempting to generate the DSP signature file (qcs6490)" + /share/modalai/qcs6490-slpi-test-sig/generate-test-sig.sh + elif [ -f /share/modalai/qrb5165-slpi-test-sig/generate-test-sig.sh ]; then + /bin/echo "[INFO] Attempting to generate the DSP signature file (qrb5165)" /share/modalai/qrb5165-slpi-test-sig/generate-test-sig.sh else /bin/echo "[ERROR] Could not find the DSP signature file generation script"