From 4fe7b158565e6387da625587cc3f76c043b39224 Mon Sep 17 00:00:00 2001 From: Liam Girdwood Date: Sun, 28 Jun 2026 16:42:05 +0100 Subject: [PATCH 1/2] 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 --- app/debug_overlay.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/debug_overlay.conf b/app/debug_overlay.conf index e99910ebfff1..a6f8855d5011 100644 --- a/app/debug_overlay.conf +++ b/app/debug_overlay.conf @@ -31,3 +31,8 @@ CONFIG_GDBSTUB_ENTER_IMMEDIATELY=n # Testing with runtime filtering enabled ensures the same feature set is validated. # Note: This setting has no effect if CONFIG_LOG_RUNTIME_FILTERING is disabled. CONFIG_LOG_RUNTIME_DEFAULT_LEVEL=3 + +# Record fatal exception breadcrumbs (PC/cause/vaddr) in HP-SRAM window0 so the +# crash is visible in the host dmesg "Firmware state" line when no console or +# mtrace output is available. +CONFIG_XTENSA_ADSP_FATAL_BREADCRUMB=y From c1b3c1f8bde905910364dddc84524ca7e30657af Mon Sep 17 00:00:00 2001 From: Liam Girdwood Date: Thu, 9 Jul 2026 20:16:27 +0100 Subject: [PATCH 2/2] west: Point zephyr project to lgirdwood/zephyr fork Update the west manifest to pull the zephyr repository from lgirdwood/zephyr's fork on the ptl-breadcrumb branch (revision 53c5faa286d011acc635a6d98b7ab41648a0b379). Signed-off-by: Liam Girdwood --- west.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/west.yml b/west.yml index af96853d6586..8270e4425b05 100644 --- a/west.yml +++ b/west.yml @@ -11,6 +11,8 @@ manifest: url-base: https://github.com/thesofproject - name: zephyrproject url-base: https://github.com/zephyrproject-rtos + - name: lgirdwood + url-base: https://github.com/lgirdwood # When upgrading projects here please run git log --oneline in the # project and if not too long then include the output in your commit @@ -43,8 +45,8 @@ manifest: - name: zephyr repo-path: zephyr - revision: ee13f80fd5ede26838d461914858b9cc8cdb652f - remote: zephyrproject + revision: 53c5faa286d011acc635a6d98b7ab41648a0b379 + remote: lgirdwood # Import some projects listed in zephyr/west.yml@revision #