![]() Conceptually we were trying to stuff subtly different actions into one vfunc: * Read firmware from the device to update the verification checksums * Read a firmware blob from the device for debugging For the first action we might want to mask out the sections of the flash with serial numbers (so the verification hashes match the ones published on the LVFS) and for the second we want just a raw ROM file from the hardware with no pre-processing that we can compare against an external SPI dumper. Split out ->dump_firmware to get the raw blob, and allow plugins to also implement ->read_firmware() if they have to mask out specific offsets or remove specific images from the FuFirmware container. In the common case when masking is not required, fall back to using a 'binary' FuFirmware automatically to make most plugins simpler. |
||
---|---|---|
.. | ||
data | ||
csr-aiaiai.quirk | ||
fu-csr-device.c | ||
fu-csr-device.h | ||
fu-plugin-csr.c | ||
meson.build | ||
README.md |
CSR Support
Introduction
CSR is often called “driverless DFU” and is used only by BlueCore chips from Cambridge Silicon Radio (now owned by Qualcomm). The driverless just means that it's DFU like, and is routed over HID.
CSR is a ODM that makes most of the Bluetooth audio chips in vendor hardware. The hardware vendor can enable or disable features on the CSR microcontroller depending on licensing options (for instance echo cancellation), and there’s even a little virtual machine to do simple vendor-specific things.
All the CSR chips are updatable in-field, and most vendors issue updates to fix sound quality issues or to add support for new protocols or devices.
Firmware Format
The daemon will decompress the cabinet archive and extract a firmware blob in DFU file format.
This plugin supports the following protocol ID:
- com.qualcomm.dfu
GUID Generation
These devices use the standard USB DeviceInstanceId values, e.g.
USB\VID_0A12&PID_1337&REV_2520
USB\VID_0A12&PID_1337
USB\VID_0A12
Vendor ID Security
The vendor ID is set from the USB vendor, in this instance set to USB:0x0A12