Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions app/boards/intel_adsp/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,24 @@ config LOG_TIMESTAMP_64BIT
config ZTEST
default SOF_BOOT_TEST_SUPPORTED && SOF_BOOT_TEST_ALLOWED

# Zephyr / core dump
# ----------------------------------------
# Enable core dump on all Intel ADSP targets, not just the debug (-d) build,
# so that firmware crashes can always be analysed offline.
#
# DEBUG_COREDUMP has no in-tree default, so configdefault is used to force it
# on without weakening its "depends on ARCH_SUPPORTS_COREDUMP" dependency
# (SOC_FAMILY_INTEL_ADSP selects ARCH_SUPPORTS_COREDUMP).
#
# The coredump backend and memory-dump amount are Kconfig 'choice' symbols
# with an in-tree default. As noted above, this defconfig is sourced after the
# Zephyr tree, so choice defaults cannot be overridden from here; the ADSP
# memory-window backend and minimal dump are therefore selected in each Intel
# board .conf file instead.
Comment on lines +186 to +190

configdefault DEBUG_COREDUMP
default y
Comment on lines +182 to +193

# Zephyr / debug slot manager
# ----------------------------------------

Expand Down
4 changes: 3 additions & 1 deletion app/boards/intel_adsp_ace15_mtpm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ CONFIG_LIBRARY_BUILD_LIB=y
CONFIG_SOF_LOG_LEVEL_INF=y

# Zephyr / OS features
CONFIG_DEBUG_COREDUMP=y
# note: CONFIG_DEBUG_COREDUMP is enabled for all Intel targets in
# boards/intel_adsp/Kconfig.defconfig; only the backend and dump-amount
# choices have to be selected per board.
Comment on lines +52 to +54
CONFIG_DEBUG_COREDUMP_BACKEND_INTEL_ADSP_MEM_WINDOW=y
CONFIG_DEBUG_COREDUMP_MEMORY_DUMP_MIN=y
CONFIG_HEAP_MEM_POOL_SIZE=8192
Expand Down
5 changes: 5 additions & 0 deletions app/boards/intel_adsp_ace20_lnl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ CONFIG_LIBRARY_MANAGER=y
CONFIG_SOF_LOG_LEVEL_INF=y

# Zephyr / OS features
# note: CONFIG_DEBUG_COREDUMP is enabled for all Intel targets in
# boards/intel_adsp/Kconfig.defconfig; only the backend and dump-amount
# choices have to be selected per board.
CONFIG_DEBUG_COREDUMP_BACKEND_INTEL_ADSP_MEM_WINDOW=y
CONFIG_DEBUG_COREDUMP_MEMORY_DUMP_MIN=y
CONFIG_COUNTER=y
CONFIG_HEAP_MEM_POOL_SIZE=8192
CONFIG_LLEXT=y
Expand Down
5 changes: 5 additions & 0 deletions app/boards/intel_adsp_ace30_ptl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ CONFIG_LIBRARY_DEFAULT_MODULAR=y
CONFIG_SOF_LOG_LEVEL_INF=y

# Zephyr / OS features
# note: CONFIG_DEBUG_COREDUMP is enabled for all Intel targets in
# boards/intel_adsp/Kconfig.defconfig; only the backend and dump-amount
# choices have to be selected per board.
Comment on lines +40 to +42
CONFIG_DEBUG_COREDUMP_BACKEND_INTEL_ADSP_MEM_WINDOW=y
CONFIG_DEBUG_COREDUMP_MEMORY_DUMP_MIN=y
CONFIG_COUNTER=y
CONFIG_HEAP_MEM_POOL_SIZE=8192
CONFIG_LLEXT=y
Expand Down
5 changes: 5 additions & 0 deletions app/boards/intel_adsp_ace30_wcl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ CONFIG_LIBRARY_DEFAULT_MODULAR=y
CONFIG_SOF_LOG_LEVEL_INF=y

# Zephyr / OS features
# note: CONFIG_DEBUG_COREDUMP is enabled for all Intel targets in
# boards/intel_adsp/Kconfig.defconfig; only the backend and dump-amount
# choices have to be selected per board.
Comment on lines +40 to +42
CONFIG_DEBUG_COREDUMP_BACKEND_INTEL_ADSP_MEM_WINDOW=y
CONFIG_DEBUG_COREDUMP_MEMORY_DUMP_MIN=y
CONFIG_HEAP_MEM_POOL_SIZE=8192
CONFIG_LLEXT=y
CONFIG_LLEXT_STORAGE_WRITABLE=y
Expand Down
5 changes: 5 additions & 0 deletions app/boards/intel_adsp_ace40_nvl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ CONFIG_TRACE=n
CONFIG_SOF_LOG_LEVEL_INF=y

# Zephyr / OS features
# note: CONFIG_DEBUG_COREDUMP is enabled for all Intel targets in
# boards/intel_adsp/Kconfig.defconfig; only the backend and dump-amount
# choices have to be selected per board.
Comment on lines +38 to +40
CONFIG_DEBUG_COREDUMP_BACKEND_INTEL_ADSP_MEM_WINDOW=y
CONFIG_DEBUG_COREDUMP_MEMORY_DUMP_MIN=y
CONFIG_HEAP_MEM_POOL_SIZE=8192
CONFIG_LLEXT=y
CONFIG_LLEXT_STORAGE_WRITABLE=y
Expand Down
5 changes: 5 additions & 0 deletions app/boards/intel_adsp_ace40_nvls.conf
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ CONFIG_TRACE=n
CONFIG_SOF_LOG_LEVEL_INF=y

# Zephyr / OS features
# note: CONFIG_DEBUG_COREDUMP is enabled for all Intel targets in
# boards/intel_adsp/Kconfig.defconfig; only the backend and dump-amount
# choices have to be selected per board.
Comment on lines +38 to +40
CONFIG_DEBUG_COREDUMP_BACKEND_INTEL_ADSP_MEM_WINDOW=y
CONFIG_DEBUG_COREDUMP_MEMORY_DUMP_MIN=y
CONFIG_HEAP_MEM_POOL_SIZE=8192
CONFIG_LLEXT=y
CONFIG_LLEXT_STORAGE_WRITABLE=y
Expand Down
4 changes: 3 additions & 1 deletion app/boards/intel_adsp_cavs25.conf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ CONFIG_LIBRARY_MANAGER=n
CONFIG_SOF_LOG_LEVEL_INF=y

# Zephyr / OS features
CONFIG_DEBUG_COREDUMP=y
# note: CONFIG_DEBUG_COREDUMP is enabled for all Intel targets in
# boards/intel_adsp/Kconfig.defconfig; only the backend and dump-amount
# choices have to be selected per board.
Comment on lines +33 to +35
CONFIG_DEBUG_COREDUMP_BACKEND_INTEL_ADSP_MEM_WINDOW=y
CONFIG_DEBUG_COREDUMP_MEMORY_DUMP_MIN=y
CONFIG_HEAP_MEM_POOL_SIZE=8192
Expand Down
4 changes: 3 additions & 1 deletion app/boards/intel_adsp_cavs25_tgph.conf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ CONFIG_LIBRARY_MANAGER=n
CONFIG_SOF_LOG_LEVEL_INF=y

# Zephyr / OS features
CONFIG_DEBUG_COREDUMP=y
# note: CONFIG_DEBUG_COREDUMP is enabled for all Intel targets in
# boards/intel_adsp/Kconfig.defconfig; only the backend and dump-amount
# choices have to be selected per board.
Comment on lines +32 to +34
CONFIG_DEBUG_COREDUMP_BACKEND_INTEL_ADSP_MEM_WINDOW=y
CONFIG_DEBUG_COREDUMP_MEMORY_DUMP_MIN=y
CONFIG_HEAP_MEM_POOL_SIZE=8192
Expand Down
Loading