10 Commits

Author SHA1 Message Date
Dmitry Baryshkov
08f8fe929f scripts: add missing CR symbol
Add CR, missing in one of error messages.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
2026-02-03 22:00:05 +02:00
Vinayak Katoch
4121b85b6d scripts: Validate config.txt against 00-hexagon-dsp-binaries.yaml
Add validation to ensure paths in config.txt exist in
00-hexagon-dsp-binaries.yaml, reporting each missing path once.

Signed-off-by: Vinayak Katoch <vkatoch@qti.qualcomm.com>
2025-12-09 10:42:50 +05:30
Dmitry Baryshkov
cbe0320d64 scripts/check: don't choke on missing subdirs
The check.py script already warns about missing dirs. Don't choke on
them in check_dirs(), fixing the following crash:

Traceback (most recent call last):
  File "/home/lumag/Projects/Qcomm/Firmware/hexagon-dsp-binaries/./scripts/check.py", line 249, in <module>
    sys.exit(main())
             ~~~~^^
  File "/home/lumag/Projects/Qcomm/Firmware/hexagon-dsp-binaries/./scripts/check.py", line 242, in main
    if not check_dir(entry):
           ~~~~~~~~~^^^^^^^
  File "/home/lumag/Projects/Qcomm/Firmware/hexagon-dsp-binaries/./scripts/check.py", line 184, in check_dir
    for file in os.listdir(subdir):
                ~~~~~~~~~~^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'qcs615/Qualcomm/foo/bar'

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
2025-10-22 15:17:26 +03:00
Viswanath Kraleti
f279d468bf scripts/check.py: extend script to support 'Link' entries
Both "Install" & "Link" are valid config actions. Update check.py script
to parse 'Link' entries as well in addition to existing 'Install' entries.

Signed-off-by: Viswanath Kraleti <viswanath.kraleti@oss.qualcomm.com>
2025-10-08 11:04:09 +05:30
Dmitry Baryshkov
8329f27fcd scripts/check: disallow map*txt files
According to FastRPC developers, the map*txt files are useless artifacts
of the build process. As we have removed them from the repo, make
check.py disallow them from being introduced to the repo in future.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
2025-10-03 19:08:57 +03:00
Dmitry Baryshkov
34d3bc961d scripts/check: validate subdir contents
Run validation checks on the binary subdirs, checking that there are no
unknown file types.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
2025-10-01 03:47:42 +03:00
Dmitry Baryshkov
1a22724de3 scripts/check: don't choke outside of git checkout
Skip git-ls-files check if the script is executed with no .git subdir
being present.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
2025-10-01 03:08:07 +03:00
Dmitry Baryshkov
dfcdfcf0de scripts: clarify copyrights
Add missing License tags and copyrights. The scripts were written by a
Linaro employee, so that company owns initial copyrights.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
2025-08-20 00:29:59 +03:00
Dmitry Baryshkov
a5a7af31f0 sa8775p: add binaries for SA8775P platform
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2025-01-17 05:27:00 +02:00
Dmitry Baryshkov
2a71be935c scripts/check: implement config.txt checks
Rename the script from check_whence.py and implement config.txt checks.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2025-01-17 05:20:00 +02:00