[PATCH v2 0/2] serial: qcom_geni: prevent spurious UART input from stopping autoboot
Balaji Selvanathan
balaji.selvanathan at oss.qualcomm.com
Tue Jul 7 11:52:41 CEST 2026
This series fixes an issue on the QCS615 EVK where U-Boot incorrectly
stops at the CLI prompt instead of continuing the boot process when the
UART cable is disconnected.
Electrical noise on floating RX lines can be interpreted as valid UART
data. Without proper runtime validation of received data, U-Boot treats
this noise as legitimate keypresses, causing it to halt at the prompt
rather than continue the boot sequence. This series updates the
initialization sequence to properly drain FIFO contents and adds
runtime checks to distinguish valid UART data from noise.
---
Changes in v2:
- Add initialization sequence for RX init based on Kernel driver.
- Link to v1: https://lore.kernel.org/u-boot/20260629-uart-v1-1-cbc46fe1d7d3@oss.qualcomm.com/
To: Sumit Garg <sumit.garg at kernel.org>
To: u-boot-qcom at groups.io
To: u-boot at lists.denx.de
Cc: Casey Connolly <casey.connolly at linaro.org>
Cc: Neil Armstrong <neil.armstrong at linaro.org>
Cc: Tom Rini <trini at konsulko.com>
Cc: Andrew Goodbody <andrew.goodbody at linaro.org>
Cc: Stephen Boyd <swboyd at chromium.org>
Signed-off-by: Balaji Selvanathan <balaji.selvanathan at oss.qualcomm.com>
---
Balaji Selvanathan (2):
serial: msm_geni: fix RX FIFO init with proper cancel sequence
serial: msm_geni: validate RX FIFO data with IRQ status flags
drivers/serial/serial_msm_geni.c | 91 ++++++++++++++++++++++++++++++++++++----
1 file changed, 82 insertions(+), 9 deletions(-)
---
base-commit: ece349ade2973e220f524ce59e59711cc919263f
change-id: 20260707-uart-af9daffadb54
Best regards,
--
Balaji Selvanathan <balaji.selvanathan at oss.qualcomm.com>
More information about the U-Boot
mailing list