Skip to content

Commit 5075730

Browse files
lyakhlgirdwood
authored andcommitted
boot-test: enable by default in debug builds except on MTL
SOF boot-test build is now fixed, re-enable it. It isn't working on MTL so far, needs more debugging. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent b7521b0 commit 5075730

File tree

4 files changed

+22
-4
lines changed

4 files changed

+22
-4
lines changed

app/boards/intel_adsp/Kconfig.defconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,3 +164,9 @@ config LOG_FUNC_NAME_PREFIX_DBG
164164

165165
config LOG_TIMESTAMP_64BIT
166166
default y
167+
168+
# Zephyr / debugging
169+
# ----------------------------------------
170+
171+
config ZTEST
172+
default SOF_BOOT_TEST_SUPPORTED && SOF_BOOT_TEST_ALLOWED

app/boards/intel_adsp_ace15_mtpm.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ CONFIG_SOF_TELEMETRY_IO_PERFORMANCE_MEASUREMENTS=y
3434
CONFIG_SOF_TELEMETRY_PERFORMANCE_MEASUREMENTS=y
3535
CONFIG_ZEPHYR_TWB_SCHEDULER=y
3636
CONFIG_COLD_STORE_EXECUTE_DRAM=y
37+
CONFIG_SOF_BOOT_TEST_SUPPORTED=n
3738

3839
# SOF / loadable modules
3940
CONFIG_INTEL_MODULES=y

app/debug_overlay.conf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
CONFIG_DEBUG=y
22
CONFIG_ASSERT=y
33

4-
# Disabled until DSP panic #8621 is fixed
5-
# CONFIG_ZTEST=y
6-
# CONFIG_SOF_BOOT_TEST=y
74
CONFIG_ZTEST_NO_YIELD=n
85
CONFIG_ZTEST_SUMMARY=n
6+
CONFIG_SOF_BOOT_TEST_ALLOWED=y
7+
CONFIG_TEST_EXTRA_STACK_SIZE=7168
98

109
CONFIG_DAI_VERBOSE_GLITCH_WARNINGS=y
1110

zephyr/Kconfig

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,21 @@ config CROSS_CORE_STREAM
156156
can be processed on different cores, however, each stream
157157
is processed entirely on single core.
158158

159+
config SOF_BOOT_TEST_ALLOWED
160+
bool "Enable SOF boot-time testing"
161+
help
162+
boot-time testing enabled if supported by the platform
163+
164+
config SOF_BOOT_TEST_SUPPORTED
165+
bool "Platform supports boot-time testing"
166+
default y
167+
help
168+
boot-time testing supported by the platform
169+
159170
config SOF_BOOT_TEST
160-
bool "enable SOF run-time testing"
171+
bool
161172
depends on ZTEST
173+
default y
162174
help
163175
Run tests during boot. This enables an SOF boot-time self-test. When
164176
enabled, the resulting image will run a number of self-tests when the

0 commit comments

Comments
 (0)