[PATCH] ARM: renesas: Enable serial RX buffer on Renesas R-Car
Marek Vasut
marek.vasut+renesas at mailbox.org
Sun Apr 13 15:10:45 CEST 2025
Enable CONFIG_SERIAL_RX_BUFFER on all Renesas R-Car devices which
use the SCIF serial port. This allows receiving large strings at
bulk even if the RX FIFO is small and would otherwise overflow.
The usual trigger for the problem addressed here is a paste of a
very long command into U-Boot command line, somewhere between 400
and 500 characters long. The trailing end of the string is usually
not received and the command line input stops responding due to RX
overflow errors. The CONFIG_SERIAL_RX_BUFFER allows efficient read
of data from the RX FIFO, which prevents the overflow, and allows
safe reception of long pasted strings.
Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
---
Cc: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
Cc: Tom Rini <trini at konsulko.com>
Cc: u-boot at lists.denx.de
---
configs/renesas_rcar.config | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/renesas_rcar.config b/configs/renesas_rcar.config
index d0a12f266aa..db5846e992c 100644
--- a/configs/renesas_rcar.config
+++ b/configs/renesas_rcar.config
@@ -24,5 +24,6 @@ CONFIG_MTD=y
CONFIG_OF_CONTROL=y
CONFIG_RCAR_GPIO=y
CONFIG_SCIF_CONSOLE=y
+CONFIG_SERIAL_RX_BUFFER=y
CONFIG_SPI=y
CONFIG_VERSION_VARIABLE=y
--
2.47.2
More information about the U-Boot
mailing list