scripts/dist.sh uses `cp -r`, letting extra artifacts (like
scripts/__pycache__/) to sneak into the release tarball. Be explicit and
list the files that get distributed.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
update cdsp dynamic modules for Glymur-CRD platform
1. Runtime enablement of mcdm specific features on Compute Devices
Signed-off-by: Venkata Kota <venkata.kota@qti.qualcomm.com>
Adapt the repo checking file to using the per-machine configuration
files instead of using the single config file.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Managing a single config file is difficult for distributions and is
prone to possible merge conflicts. Split the file per machine.
Suggested-by: Robie Basak <robie.basak@oss.qualcomm.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Create tarball before testing the contents, preventing extra files from
sneaking in. Also pass correct subdir for testing the instalation of the
binaries.
Reported-by: Robie Basak <robie.basak@oss.qualcomm.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Add machine mappings for:
- "Qualcomm QCS615 IQ 615 EVK"
This fixes the fastrpc library config parser warning where
DSP_LIBRARY_PATH is not found for "Qualcomm QCS615 IQ 615 EVK"
in /usr/share/qcom/conf.d/00-hexagon-dsp-binaries.yaml,
and ensures 615 EVK boards resolve the expected DSP library
directory.
Signed-off-by: Jianping Li <jianping.li@oss.qualcomm.com>
It doesn't make sense to check if distribution is correct if install
fails. Change the order of steps.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Latest tarball didn't include the config file. In order to prevent such
mistakes in future, perform checks on the distribution before packing
it.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Add machine mappings for:
- "Qualcomm Technologies, Inc. Lemans Ride"
- "Qualcomm Technologies, Inc. Lemans Ride Rev3"
This fixes the fastrpc library config parser warning where
DSP_LIBRARY_PATH is not found for "Qualcomm Technologies, Inc.
Lemans Ride" in /usr/share/qcom/conf.d/00-hexagon-dsp-binaries.yaml,
and ensures Lemans Ride boards resolve the expected DSP library
directory.
Signed-off-by: Ekansh Gupta <ekansh.gupta@oss.qualcomm.com>
The Qualcomm / Lantronix SDM845-HDK is an non-fused devkit using SDA845
SoC. For ADSP and CDSP we are going to reuse the existing firmware from
linux-firmware, so provide symlinks for the Hexagon DSP libraries too.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
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>
As the rest of the non-binary files, the conf file is covered by the MIT
licence. Add SPDX header to the file.
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>
Add DSP_LIBRARY_PATH entries in a new YAML file for the
supported machines to enable consistent, machine-specific
DSP library resolution.
The machine entries are sorted alphabetically by machine name
to ensure maintainability and stability as new properties are
added in the future.
Update the Makefile to install the YAML file to the conf.d
directory alongside the DSP binaries.
Signed-off-by: Vinayak Katoch <vkatoch@qti.qualcomm.com>
Normally firmware targeting different DSPs has different DSP substrings
in versions. The SA8775P and QCS8300 platforms had the same version for
all firmware, which promted us to add cdsp- and adsp- prefixes to the
firmware subdirs.
Firmware for Hamoa follows the normal practice, which renders the cdsp-
prefix useless. Drop it in order to make Hamoa close to other platforms.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.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>
Normally firmware targeting different DSPs has different DSP substrings
in versions. The SA8775P and QCS8300 platforms had the same version for
all firmware, which promted us to add cdsp- and adsp- prefixes to the
firmware subdirs.
Firmware for QCS615 follows the normal practice, which renders those
prefixes useless. Drop them in order to make QCS615 close to other
platforms.
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 IQ9075-EVK and SA8775P-RIDE platforms use the same DSP binaries.
To avoid duplication, update `config.txt` to link IQ9075-EVK DSP binary
paths to the existing SA8775P-RIDE binaries.
Signed-off-by: Viswanath Kraleti <viswanath.kraleti@oss.qualcomm.com>
Both IQ8275-EVK and QCS8300-RIDE platforms use the same DSP binaries.
To avoid duplication, update `config.txt` to link IQ8275-EVK DSP binary
paths to the existing QCS8300-RIDE binaries.
Signed-off-by: Viswanath Kraleti <viswanath.kraleti@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>
According to FastRPC developers the map*.txt are the unused artifacts of
the build process. Drop them completely.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
According to FastRPC developers the map*.txt are the unused artifacts of
the build process. Drop them completely.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
According to FastRPC developers the map*.txt are the unused artifacts of
the build process. Drop them completely.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
According to FastRPC developers the map*.txt are the unused artifacts of
the build process. Drop them completely.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
According to FastRPC developers the map*.txt are the unused artifacts of
the build process. Drop them completely.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
According to FastRPC developers the map*.txt are the unused artifacts of
the build process. Drop them completely.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
According to FastRPC developers the map*.txt are the unused artifacts of
the build process. Drop them completely.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
According to FastRPC developers the map*.txt are the unused artifacts of
the build process. Drop them completely.
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>
Drop the protection domain JSON file, it doesn't belong to the dynamic
DSP modules subdir.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Rename map_avs_shared_libs.txt tomap_AVS_SHARED_LIBS_AAAAAAAAQ.txt to
follow the usual pattern for these files.
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>
Original location of the tarballs is now documented in the WHENCE file.
Drop duplicate information from the README.md.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
machines:
Qualcomm Technologies, Inc. SM8750 MTP:
DSP_LIBRARY_PATH:sm8750/Qualcomm/SM8750-MTP/dsp
Loaded 20 of 896 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.