diff options
| author | 2026-09-21 11:18:30 +0530 | |
|---|---|---|
| committer | 2026-10-14 14:38:16 -0400 | |
| commit | eb2a7f1bc891695fa714e2146f3c7141274eeb15 (patch) | |
| tree | fc4c56db217927bfdd7a80f247ae70ffa4e1a7b0 /scripts/Makefile.thinlto | |
| parent | Bluetooth: use assign_bit() where applicable (diff) | |
Bluetooth: btintel: read ROM debug registers on FW download failure
The bootloader records init sequence progress and debug info in four
core debug registers, useful for debugging FW download failures.
Add btintel_get_rom_debug_info() to issue BTINTEL_GET_ROM_DEBUG_INFO
(0xfcde) and log these registers, and invoke it from every FW download
failure and timeout path: btintel_download_fw() (legacy .sfi flow) and
btintel_prepare_fw_download_tlv() (TLV flow), before resetting to the
bootloader.
Tested by corrupting the operational firmware file to force a
download timeout; the driver logged the debug registers on each
failure and retry, e.g.:
Bluetooth: hci0: Firmware loading timeout
Bluetooth: Intel get rom debug info: dr0:0x80000001 dr1:0x00000000 dr2:0x00000001 dr3:0x00df0071
Signed-off-by: Ravindra <ravindra@intel.com>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
