YAML config files are required by the userspace lib in order to be able
to find DSP binaries. Add all provided config files to the generated
tarball.
Fixes#45
Reported-by: Robie Basak <robie.basak@oss.qualcomm.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
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>
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>
Add script to compare currently enabled set of DSP binaries to the
DSP firmware versions inside linux-firmware repo.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
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>
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>
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>
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>
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>
Wildcard match in install.sh wasn't matching any patterns. Remove
quotations so that it matches anything, as expected.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
The SA8775P binaries have slightly different licence. In preparation to
adding them to the repo, determine licensing information from the WHENCE
file rather than always installing LICENSE.qcom.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Distributed archives should include licence files. Add all licence files
unconditionally to keep the dist.sh script simple.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Add support for 'make check', which performs several checks on the
WHENCE file contents and on the git repository contents.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
The WHENCE file in the repository documents all DSP binary sets, however
the release tarball includes only a subset of those. Filter out WHENCE
file to include only the entries that are a part of the release.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
In order to document licence applicable to the particular binaries set,
copy licence file next to the isntalled files.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>