Compare commits

...
14 Commits
Author SHA1 Message Date
Dmitry Baryshkov 7780697e3d Merge pull request #97 from quic-vkatoch/yaml-arch
conf.d: add *_ARCH keys for legacy targets and extend schema
2026-08-10 23:15:44 +03:00
Vinayak Katoch 3dc2e7d2a7 db410c: add conf.d entry with ADSP_ARCH
db410c does not support ARCH_VER capability, so add ADSP_ARCH=v5
explicitly for fastrpc to resolve the correct DSP library path.

Signed-off-by: Vinayak Katoch <vinayak.katoch@oss.qualcomm.com>
2026-07-30 14:20:35 +05:30
Dmitry Baryshkov 9144f67295 Merge pull request #98 from quic-psaddam/monaco204
qcs8300: update dsp dynamic modules for QCS8300 RIDE platform
2026-07-27 17:29:07 +03:00
Saddam Patan 63bf5e754c qcs8300: update dsp dynamic modules for QCS8300 RIDE platform
Update dsp dynamic modules for QCS8300 RIDE platform
--Static Analysis fixes for the code in Compression Engine added here.

Signed-off-by: Saddam Patan <saddam.patan@oss.qualcomm.com>
2026-07-27 14:52:00 +05:30
Vinayak Katoch 5cee0686f6 db820c, db845c, qcs615-ride: add *_ARCH keys for legacy targets
Legacy targets (db820c, db845c, qcs615-ride) do not implement the
ARCH_VER capability on the DSP, so fastrpc cannot auto-detect the
Hexagon version at runtime. Add the *_ARCH keys explicitly in the
YAML config so fastrpc can resolve the correct DSP library search
path (e.g. /usr/share/qcom/hexagon/v<XY>/).

  db820c:      ADSP_ARCH=v60, SDSP_ARCH=v60
  db845c:      ADSP_ARCH=v65, CDSP_ARCH=v65, SDSP_ARCH=v65
  qcs615-ride: ADSP_ARCH=v66, CDSP_ARCH=v66

Signed-off-by: Vinayak Katoch <vinayak.katoch@oss.qualcomm.com>
2026-07-23 13:41:31 +05:30
Vinayak Katoch faa7f7f7c0 conf.d/schema.json: add *_ARCH optional properties
Register ADSP_ARCH, MDSP_ARCH, SDSP_ARCH, CDSP_ARCH as optional string
properties with pattern '^v[0-9a-f]+$' to validate hex-based DSP
architecture version strings (e.g. v60, v65, v6a).

Signed-off-by: Vinayak Katoch <vinayak.katoch@oss.qualcomm.com>
2026-07-23 13:40:13 +05:30
Dmitry Baryshkov 2113cae26e Merge pull request #96 from vkasinat/trunk
sa8775p: update dsp dynamic modules for SA8775P RIDE platform
2026-07-22 12:33:47 +03:00
Venkata Kota 0e24000663 sa8775p: update dsp dynamic modules for SA8775P RIDE platform
Update dsp dynamic modules for sa8775p RIDE platform
--Static Analysis fixes for the code in Compression Engine added here.

Signed-off-by: Venkata Kota <venkata.kota@oss.qualcomm.com>
2026-07-20 21:13:44 +05:30
Dmitry Baryshkov 270ad5d250 Merge pull request #95 from lumag/checkfw
Check that the firmware binaries are matching the firmware binary
2026-07-17 12:31:48 +03:00
Dmitry Baryshkov e444a55a15 gitignore: ignore the dist/ folder
Ignore the folder with the archives created for distribution.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
2026-06-22 11:14:21 +03:00
Dmitry BaryshkovandClaude Opus 4.8 6144b6c4ed ci: clone and cache linux-firmware for make check
Resolve the upstream linux-firmware HEAD, cache a shallow clone keyed on
that commit, and pass its location to make check so checkfw.py validates
the configured firmware versions against linux-firmware.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
2026-06-22 10:43:36 +03:00
Dmitry Baryshkov 762d21683e Makefile: run checkfw if required
If the user passed the FIRMWARE to the 'make check' invocation, run the
checkfw.py script to check the binaries against the known firmware
files.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
2026-06-22 09:04:19 +03:00
Dmitry BaryshkovandClaude Opus 4.8 0396a85c67 scripts/checkfw: skip known hash failures
In some cases the hash of the binary is not a part of the firmware. In
some cases it's a known mistake (e.g. for SM8250 the firmware comitted
to linux-firmware had the same version, but it was built against a
different set of binaries). In other cases it's not genuinly known, what
is the reason of the mismatch. Add known failures to the ignore list.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
2026-06-22 09:04:13 +03:00
Dmitry BaryshkovandClaude Opus 4.8 c035f103ab scritps/checkfw: check that DSP binaries are allowed by the firmware
Check the the hash of the DSP binary is a part of the firmware file.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
2026-06-22 09:03:09 +03:00
104 changed files with 255 additions and 10 deletions

No files matched your search

+31 -1
View File
@@ -22,8 +22,38 @@ jobs:
sudo apt-get update
sudo apt-get install -y python3-jsonschema
- name: Resolve linux-firmware revision
id: lfw
run: |
set -ux
url=https://gitlab.com/kernel-firmware/linux-firmware.git
echo "url=$url" >> "$GITHUB_OUTPUT"
echo "sha=$(git ls-remote "$url" HEAD | cut -f1)" >> "$GITHUB_OUTPUT"
- name: Cache linux-firmware
id: cache
uses: actions/cache@v4
with:
path: linux-firmware
# Keyed on the upstream HEAD commit: an exact hit is already at the
# right revision, while restore-keys seeds a stale clone to update.
key: linux-firmware-${{ steps.lfw.outputs.sha }}
restore-keys: |
linux-firmware-
- name: Fetch linux-firmware
if: steps.cache.outputs.cache-hit != 'true'
run: |
set -ux
if [ -d linux-firmware/.git ]; then
git -C linux-firmware fetch --depth 1 origin HEAD
git -C linux-firmware reset --hard FETCH_HEAD
else
git clone --depth 1 "${{ steps.lfw.outputs.url }}" linux-firmware
fi
- name: Check
run: make check
run: make check FIRMWARE="$PWD/linux-firmware"
- name: Check install
run: make install DESTDIR=`pwd`/install
+1
View File
@@ -0,0 +1 @@
dist
+3
View File
@@ -31,5 +31,8 @@ dist:
check:
./scripts/check.py
ifdef FIRMWARE
./scripts/checkfw.py $(FIRMWARE)
endif
.PHONY: dist check
+20
View File
@@ -231,6 +231,17 @@ Status: Redistributable
--------------------------------------------------------------------------
Dir: sa8775p/Qualcomm/SA8775P-RIDE/adsp-DSP.AT.1.0.1-00204-LEMANS-1
Dir: sa8775p/Qualcomm/SA8775P-RIDE/cdsp-DSP.AT.1.0.1-00204-LEMANS-1
Dir: sa8775p/Qualcomm/SA8775P-RIDE/cdsp1-DSP.AT.1.0.1-00204-LEMANS-1
Dir: sa8775p/Qualcomm/SA8775P-RIDE/gdsp0-DSP.AT.1.0.1-00204-LEMANS-1
Dir: sa8775p/Qualcomm/SA8775P-RIDE/gdsp1-DSP.AT.1.0.1-00204-LEMANS-1
Device: Qualcomm SA8775P RIDE
Licence: LICENSE.qcom-2
Status: Redistributable
--------------------------------------------------------------------------
Dir: qcs8300/Qualcomm/QCS8300-RIDE/adsp-DSP.AT.1.0.1-00096-LEMANS-1
Dir: qcs8300/Qualcomm/QCS8300-RIDE/cdsp-DSP.AT.1.0.1-00096-LEMANS-1
Dir: qcs8300/Qualcomm/QCS8300-RIDE/gdsp0-DSP.AT.1.0.1-00096-LEMANS-1
@@ -288,6 +299,15 @@ Status: Redistributable
--------------------------------------------------------------------------
Dir: qcs8300/Qualcomm/QCS8300-RIDE/adsp-DSP.AT.1.0.1-00204-LEMANS-1
Dir: qcs8300/Qualcomm/QCS8300-RIDE/cdsp-DSP.AT.1.0.1-00204-LEMANS-1
Dir: qcs8300/Qualcomm/QCS8300-RIDE/gdsp0-DSP.AT.1.0.1-00204-LEMANS-1
Device: Qualcomm Technologies, Inc. QCS8300 Ride
Licence: LICENSE.qcom-2
Status: Redistributable
--------------------------------------------------------------------------
Dir: qcs615/Qualcomm/QCS615-RIDE/ADSP.VT.5.2.c6-00059-SM6150-1
Dir: qcs615/Qualcomm/QCS615-RIDE/CDSP.VT.2.2.c4-00019-SM6150-1
Device: Qualcomm Technologies, Inc. QCS615 Ride
@@ -0,0 +1,7 @@
# SPDX-License-Identifier: MIT
# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# yaml-language-server: $schema=schema.json
machines:
Qualcomm Technologies, Inc. APQ 8016 SBC:
DSP_LIBRARY_PATH: apq8016/Qualcomm/db410c/dsp
ADSP_ARCH: v5
@@ -4,3 +4,5 @@
machines:
Qualcomm Technologies, Inc. DB820c:
DSP_LIBRARY_PATH: apq8096/Qualcomm/db820c/dsp
ADSP_ARCH: v60
SDSP_ARCH: v60
@@ -4,5 +4,9 @@
machines:
Qualcomm QCS615 IQ 615 EVK:
DSP_LIBRARY_PATH: qcs615/Qualcomm/QCS615-RIDE/dsp
ADSP_ARCH: v66
CDSP_ARCH: v66
Qualcomm Technologies, Inc. QCS615 Ride (IQ-615 Beta EVK):
DSP_LIBRARY_PATH: qcs615/Qualcomm/QCS615-RIDE/dsp
ADSP_ARCH: v66
CDSP_ARCH: v66
@@ -4,3 +4,6 @@
machines:
Thundercomm Dragonboard 845c:
DSP_LIBRARY_PATH: sdm845/Thundercomm/db845c/dsp
ADSP_ARCH: v65
CDSP_ARCH: v65
SDSP_ARCH: v65
+16
View File
@@ -19,6 +19,22 @@
"DSP_LIBRARY_PATH": {
"type": "string",
"pattern": "^([^/]+/)+dsp$"
},
"ADSP_ARCH": {
"type": "string",
"pattern": "^v[0-9a-f]+$"
},
"MDSP_ARCH": {
"type": "string",
"pattern": "^v[0-9a-f]+$"
},
"SDSP_ARCH": {
"type": "string",
"pattern": "^v[0-9a-f]+$"
},
"CDSP_ARCH": {
"type": "string",
"pattern": "^v[0-9a-f]+$"
}
}
}
+8 -8
View File
@@ -43,16 +43,16 @@ Install: qcs6490/Thundercomm/RubikPi3 adsp ADSP.HT.5.5.c8-00217-KODIAK-1
Link: qcm6490/Thundercomm/RB3gen2/dsp/cdsp qcs6490/Thundercomm/RubikPi3/dsp/cdsp
# SA8775P RIDE
Install: sa8775p/Qualcomm/SA8775P-RIDE adsp adsp-DSP.AT.1.0.1-00201-LEMANS-2
Install: sa8775p/Qualcomm/SA8775P-RIDE cdsp cdsp-DSP.AT.1.0.1-00201-LEMANS-2
Install: sa8775p/Qualcomm/SA8775P-RIDE cdsp1 cdsp1-DSP.AT.1.0.1-00201-LEMANS-2
Install: sa8775p/Qualcomm/SA8775P-RIDE gdsp0 gdsp0-DSP.AT.1.0.1-00201-LEMANS-2
Install: sa8775p/Qualcomm/SA8775P-RIDE gdsp1 gdsp1-DSP.AT.1.0.1-00201-LEMANS-2
Install: sa8775p/Qualcomm/SA8775P-RIDE adsp adsp-DSP.AT.1.0.1-00204-LEMANS-1
Install: sa8775p/Qualcomm/SA8775P-RIDE cdsp cdsp-DSP.AT.1.0.1-00204-LEMANS-1
Install: sa8775p/Qualcomm/SA8775P-RIDE cdsp1 cdsp1-DSP.AT.1.0.1-00204-LEMANS-1
Install: sa8775p/Qualcomm/SA8775P-RIDE gdsp0 gdsp0-DSP.AT.1.0.1-00204-LEMANS-1
Install: sa8775p/Qualcomm/SA8775P-RIDE gdsp1 gdsp1-DSP.AT.1.0.1-00204-LEMANS-1
# QCS8300 RIDE
Install: qcs8300/Qualcomm/QCS8300-RIDE adsp adsp-DSP.AT.1.0.1-00201-LEMANS-2
Install: qcs8300/Qualcomm/QCS8300-RIDE cdsp cdsp-DSP.AT.1.0.1-00201-LEMANS-2
Install: qcs8300/Qualcomm/QCS8300-RIDE gdsp0 gdsp0-DSP.AT.1.0.1-00201-LEMANS-2
Install: qcs8300/Qualcomm/QCS8300-RIDE adsp adsp-DSP.AT.1.0.1-00204-LEMANS-1
Install: qcs8300/Qualcomm/QCS8300-RIDE cdsp cdsp-DSP.AT.1.0.1-00204-LEMANS-1
Install: qcs8300/Qualcomm/QCS8300-RIDE gdsp0 gdsp0-DSP.AT.1.0.1-00204-LEMANS-1
# QCS615 RIDE
Install: qcs615/Qualcomm/QCS615-RIDE adsp ADSP.VT.5.2.c6-00073-SM6150-1
Loaded 20 of 104 files, more files were not shown because too many files have changed in this diff. Show more