Skip to content

Commit 4fe7b15

Browse files
committed
app: debug: enable xtensa adsp fatal exception breadcrumbs
Enable CONFIG_XTENSA_ADSP_FATAL_BREADCRUMB in the debug overlay so debug builds record the faulting PC/cause/vaddr into HP-SRAM window0, making a crash visible in the host dmesg "Firmware state" line when no console or mtrace output is available. The option defaults to n, so production builds (which do not pull in this overlay) are unaffected. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
1 parent bb6b4b8 commit 4fe7b15

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

app/debug_overlay.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,8 @@ CONFIG_GDBSTUB_ENTER_IMMEDIATELY=n
3131
# Testing with runtime filtering enabled ensures the same feature set is validated.
3232
# Note: This setting has no effect if CONFIG_LOG_RUNTIME_FILTERING is disabled.
3333
CONFIG_LOG_RUNTIME_DEFAULT_LEVEL=3
34+
35+
# Record fatal exception breadcrumbs (PC/cause/vaddr) in HP-SRAM window0 so the
36+
# crash is visible in the host dmesg "Firmware state" line when no console or
37+
# mtrace output is available.
38+
CONFIG_XTENSA_ADSP_FATAL_BREADCRUMB=y

0 commit comments

Comments
 (0)