From 4fe7b158565e6387da625587cc3f76c043b39224 Mon Sep 17 00:00:00 2001 From: Liam Girdwood Date: Sun, 28 Jun 2026 16:42:05 +0100 Subject: [PATCH 1/5] 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/5] 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 # From 4917a4902212978bef5830826d3cadc06b3da67d Mon Sep 17 00:00:00 2001 From: Liam Girdwood Date: Mon, 27 Jul 2026 17:48:51 +0100 Subject: [PATCH 3/5] west: bump zephyr pin for weak-symbol breadcrumb refactor Point at the latest lgirdwood/zephyr ptl-breadcrumb commit, which refactors the triple fault breadcrumb to use per-SoC-family weak symbol overrides instead of #ifdef branching, and fixes the EXCCAUSE marker (was 0xd81e0000, now correctly 0xdb1e0000). Signed-off-by: Liam Girdwood --- west.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/west.yml b/west.yml index 8270e4425b05..f46e34827262 100644 --- a/west.yml +++ b/west.yml @@ -45,7 +45,7 @@ manifest: - name: zephyr repo-path: zephyr - revision: 53c5faa286d011acc635a6d98b7ab41648a0b379 + revision: 12358fe4e7656c86790ffed482f38bd7d8235ea4 remote: lgirdwood # Import some projects listed in zephyr/west.yml@revision From e1c9eee20a274461f5e2f13b4a924e2cb43ae900 Mon Sep 17 00:00:00 2001 From: Liam Girdwood Date: Mon, 27 Jul 2026 18:08:33 +0100 Subject: [PATCH 4/5] west: bump zephyr pin after breadcrumb history cleanup for upstreaming The zephyr ptl-breadcrumb branch was squashed/rebased into a clean 3-commit series suitable for upstream review; pin to its new tip. --- west.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/west.yml b/west.yml index f46e34827262..fa2963c360d0 100644 --- a/west.yml +++ b/west.yml @@ -45,7 +45,7 @@ manifest: - name: zephyr repo-path: zephyr - revision: 12358fe4e7656c86790ffed482f38bd7d8235ea4 + revision: 7b5a4415767d3a953478c3a3c467107a3f5d4d69 remote: lgirdwood # Import some projects listed in zephyr/west.yml@revision From 5f16855e46b741946269809afc166e6f58c9fe11 Mon Sep 17 00:00:00 2001 From: Liam Girdwood Date: Mon, 27 Jul 2026 19:14:43 +0100 Subject: [PATCH 5/5] west.yml: update zephyr pin for squashed 2-patch breadcrumb series --- west.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/west.yml b/west.yml index fa2963c360d0..a78d36cec579 100644 --- a/west.yml +++ b/west.yml @@ -45,7 +45,7 @@ manifest: - name: zephyr repo-path: zephyr - revision: 7b5a4415767d3a953478c3a3c467107a3f5d4d69 + revision: 110264b6b6a3c1a6c93a58378ef0b2f1bc916ee8 remote: lgirdwood # Import some projects listed in zephyr/west.yml@revision