All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] qcom_defconfig: Enable AUTOBOOT_KEYED support
@ 2025-05-08 10:32 Sumit Garg
  2025-05-09 10:45 ` Casey Connolly
  2025-06-23 23:49 ` Casey Connolly
  0 siblings, 2 replies; 8+ messages in thread
From: Sumit Garg @ 2025-05-08 10:32 UTC (permalink / raw)
  To: u-boot-qcom, u-boot
  Cc: casey.connolly, neil.armstrong, trini, Sumit Garg,
	Dmitry Baryshkov

From: Sumit Garg <sumit.garg@oss.qualcomm.com>

When debug serial port isn't connected, it is at least reported on RB1
that autoboot gets interrupted. It is probably due to random characters
on the UART RX line when disconnected. Lets try to fix this inconsistent
behaviour via enabling AUTOBOOT_KEYED such that the autoboot gets
interrupted only when the <SPACE> key gets pressed.

Reported-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
---
 configs/qcom_defconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
index 36e2f45d22a..e3dac23f1d0 100644
--- a/configs/qcom_defconfig
+++ b/configs/qcom_defconfig
@@ -15,6 +15,9 @@ CONFIG_FIT_VERBOSE=y
 CONFIG_BOOTSTD_FULL=y
 # CONFIG_BOOTMETH_VBE is not set
 CONFIG_BOOTDELAY=1
+CONFIG_AUTOBOOT_KEYED=y
+CONFIG_AUTOBOOT_PROMPT="Hit <SPACE> key to stop autoboot in %2ds\n"
+CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_USE_PREBOOT=y
 CONFIG_SAVE_PREV_BL_INITRAMFS_START_ADDR=y
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-06-23 23:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-08 10:32 [PATCH] qcom_defconfig: Enable AUTOBOOT_KEYED support Sumit Garg
2025-05-09 10:45 ` Casey Connolly
2025-05-09 14:54   ` Stephan Gerhold
2025-05-12  7:01     ` Sumit Garg
2025-05-13 15:54       ` Casey Connolly
2025-05-15 11:11         ` Sumit Garg
2025-05-22 16:21       ` Stephan Gerhold
2025-06-23 23:49 ` Casey Connolly

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.