Hello,

I've been looking onto fixing the ITP bug ([1]) for Qualcomm Hexagon
DSP binaries ([2]).
In short, these are the binaries that are loaded onto the DSP by the
userspace helpers through the Linux fastrpc driver (as supported
upstream). The preview packages are available at [3].

During the review Robbie asked several important questions, the most
important are the following (for which I'd look for guidance):

Relationship with firmware-nonfree.
-----------------------------------------------

The binaries for the DSP must exactly match the version of DSP
firmware (provided by the firmware-qcom-soc package). For now I've
ended up with the simplest way: publish a new release each time
linux-firmware is released. This way distributions can simply make
tight version dependency from hexagon-dsp packages onto corresponding
firmware-qcom-soc, making sure that they are upgraded in lock.
Rabbie pointed out that this might cause issues for firmware-nonfree
propagation and unnecessary package downloads for Hexagon packages.

An alternative would be to make firmware-qcom-soc provide virtual
packages which correspond to the actual versions of DSP firmware
provided by the package and use those virtual packages in
hexagon-dsp-libs package dependencies. However this would incur
additional scripting to parse firmware-nonfree blobs (or WHENCE) for
version info and putting that into the debian/control.

Any other proposals would also be appreciated.

Package versions
------------------------

Following the linux-firmware we have adopted date as a version for the
releases of the tarballs. Lintian suggests using 0~ prefix for the
Debian version in such a case, but I'm not sure if that suggestion
applies here. Could you possibly comment on it?

Filesystem structure
---------------------------

During the development of the hexagonrpcd project we had several
discussions regarding placement of these DSP binaries. We settled on
placing them under /usr/share/qcom/, having a subdir per each
platform. Does that sound good enough?

[1] https://bugs.debian.org/1101838
[2] https://github.com/linux-msm/hexagon-dsp-binaries
[3] https://mentors.debian.net/package/hexagon-dsp-binaries/

--
With best wishes
Dmitry

Reply via email to