Skip to contentSkip to conversation

u-boot: Use hush shell in secure boot mode

PATCH New Jan Kiszka 1 participant 1 message Aug 18, 2025

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 u-boot: Use hush shell in secure boot mode

From: Jan Kiszka <[email protected]>

While we are not providing ready-to-use U-Boot configurations here, rather test setups, it would still be bad style to paper over this:

Only with the hush shell, it is not possible to gain a prompt by interrupting the sleep after an unsuccessful boot. May also apply to other commands.

---
 recipes-bsp/u-boot/files/secure-boot.cfg | 1 +
 1 file changed, 1 insertion(+)
recipes-bsp/u-boot/files/secure-boot.cfg +1 -0
index 95371626..76ede89b 100644
@@ -8,6 +8,7 @@
 CONFIG_BOOTDELAY=-2
 CONFIG_USE_BOOTCOMMAND=y
 CONFIG_BOOTCOMMAND="bootflow scan -lb; echo 'EFI Boot failed!'; sleep 1000; reset"
+CONFIG_HUSH_PARSER=y
 CONFIG_USB_STORAGE=y
 CONFIG_EFI_PARTITION=y
 CONFIG_FS_FAT=y
Signature · 1 line
2.43.0