Skip to content

hexagonrpcd: folder structure discussion

We currently ship device specific firmware in : /lib/firmware/qcom/sdm845/oneplus6/*. I would say, we can have /lib/firmware/qcom/sdm845/oneplus6/sensors which contain subfolders config, dsp, avs and registry.

  • sensors/config will contain files from /vendor/etc/sensors/config.
  • sensors/registry will contain files from /mnt/vendor/persist/sensors/registry.
  • sensors/sns_reg.conf will contain the main reg config file from /vendor/etc/sensors/sns_reg_config.
  • sensors/dsp will contain combined files from /vendor/dsp/adsp, /vendor/dsp/cdsp and /vendor/dsp/sdsp. do we need to combine them though? bcoz i feel we could have them separated just in case if we wanna use these subsystems separately, we would loose information of which file belongs to which subsystem. i think we can have separate folders inside sensors/dsp/.
  • sensors/avs will contain files from /vendor/etc/acdbdata. maybe a different name for avs? what does avs stand for? maybe we can keep it as acdb? i will feel its a bit more clear and straightforward to map.

@flamingradian @dylanvanassche Let me know your thoughts on this.

Edited by Joel Selvaraj