From 57050afcba088a350cf4f0506fc51ae1df37d633 Mon Sep 17 00:00:00 2001 From: Jairaj Solanki Date: Tue, 2 Dec 2025 11:52:49 +0530 Subject: [PATCH] recipes-test: Add recipe for diag-router Add new recipe for diag-router to fetch Qualcomm Diagnostics router Userspace Application from QArtifactory. This Application routes diagnostics traffic from all peripherals to different destinations. --- recipes-test/diag-router/diag-router_1.0.2.bb | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 recipes-test/diag-router/diag-router_1.0.2.bb diff --git a/recipes-test/diag-router/diag-router_1.0.2.bb b/recipes-test/diag-router/diag-router_1.0.2.bb new file mode 100644 index 000000000..1b755c711 --- /dev/null +++ b/recipes-test/diag-router/diag-router_1.0.2.bb @@ -0,0 +1,25 @@ +SUMMARY = "Prebuilt Qualcomm diagnostic router application" +DESCRIPTION = "Prebuilt routing application for diagnostic traffic" +LICENSE = "LICENSE.qcom-2" +LIC_FILES_CHKSUM = "file://${UNPACKDIR}/usr/share/doc/diag-router/NO.LOGIN.BINARY.LICENSE.QTI.pdf;md5=7a5da794b857d786888bbf2b7b7529c8" + +SRC_URI = "https://softwarecenter.qualcomm.com/nexus/generic/software/chip/component/core-technologies.qclinux.0.0/${PBT_BUILD_DATE}/prebuilt_yocto/diag-router_15.0+really${PV}_armv8a.tar.gz" + +PBT_BUILD_DATE = "251127" +SRC_URI[sha256sum] = "18c7fbe1e3cd6ef470cee7fa17210419795060c5ac1e092e14af204580e2908a" + +S = "${UNPACKDIR}" + +DEPENDS += "glib-2.0 libdiag qrtr" + +# This package is currently only used and tested on ARMv8 (aarch64) machines. +# Therefore, builds for other architectures are not necessary and are explicitly excluded. +COMPATIBLE_MACHINE = "^$" +COMPATIBLE_MACHINE:aarch64 = "(.*)" + +do_install() { + install -d ${D}${bindir} + + # Install binaries + install -m 0755 ${S}/usr/bin/diag-router ${D}${bindir}/diag-router-qti +}