From 81f9a02891cfc54c5cfde7484490a40941ff5b47 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Tue, 18 Nov 2025 15:42:40 -0700 Subject: [PATCH] bootctl: Enable the tests Enable the bootctl tests (only for the sandbox board) so we can keep this functionality working. Series-to: concept Cover-letter: bootctl: Continue development with TKey functionality This series integrates the TKey disk-unlock features into the bootctl UI, as a demonstration of how this might work. The user is prompted for a passphrase, which is then used as a user-supplied secret (USS) for the TKey. This series includes support for using a pre-derived master key, so that the TKey emulator can be used in tests. Future work will continue this effort. END Signed-off-by: Simon Glass --- configs/sandbox_defconfig | 1 + test/Kconfig | 1 - test/boot/Makefile | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index 55f8ddcc952..44185ccb7eb 100644 --- a/configs/sandbox_defconfig +++ b/configs/sandbox_defconfig @@ -371,5 +371,6 @@ CONFIG_ARGON2=y CONFIG_BACKTRACE=y CONFIG_TEST_FDTDEC=y CONFIG_UNIT_TEST=y +CONFIG_UT_BOOTCTL=y CONFIG_UT_TIME=y CONFIG_UT_DM=y diff --git a/test/Kconfig b/test/Kconfig index 27847250132..96723940bac 100644 --- a/test/Kconfig +++ b/test/Kconfig @@ -77,7 +77,6 @@ endif # UT_LIB config UT_BOOTCTL bool "Unit tests for boot schema" depends on BOOTSTD && SANDBOX - default y config UT_BOOTSTD bool "Unit tests for standard boot" diff --git a/test/boot/Makefile b/test/boot/Makefile index 70e15bf63fa..21f533cdc4c 100644 --- a/test/boot/Makefile +++ b/test/boot/Makefile @@ -10,6 +10,7 @@ obj-$(CONFIG_BLK_LUKS) += luks.o obj-$(CONFIG_EXPO) += expo.o expo_common.o obj-$(CONFIG_CEDIT) += cedit.o expo_common.o +obj-$(CONFIG_UT_BOOTCTL) += bootctl/ endif ifdef CONFIG_SANDBOX