Skip to content

Commit 4bdc356

Browse files
committed
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 50f21d6 commit 4bdc356

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
@@ -147,9 +147,21 @@ config CROSS_CORE_STREAM
147147
can be processed on different cores, however, each stream
148148
is processed entirely on single core.
149149

150+
config SOF_BOOT_TEST_ALLOWED
151+
bool "Enable SOF boot-time testing"
152+
help
153+
boot-time testing enabled if supported by the platform
154+
155+
config SOF_BOOT_TEST_SUPPORTED
156+
bool "Platform supports boot-time testing"
157+
default y
158+
help
159+
boot-time testing supported by the platform
160+
150161
config SOF_BOOT_TEST
151-
bool "enable SOF run-time testing"
162+
bool
152163
depends on ZTEST
164+
default y
153165
help
154166
Run tests during boot. This enables an SOF boot-time self-test. When
155167
enabled, the resulting image will run a number of self-tests when the

0 commit comments

Comments
 (0)