From: Andreas Färber Date: Sat, 20 Jan 2018 12:07:09 +0000 (+0100) Subject: tools/mrvl_uart.sh: Fix minicom baudrate X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3e00c48ef05bfe1a16f57dd0610ed2fa78774d63;p=project%2Fbcm63xx%2Fu-boot.git tools/mrvl_uart.sh: Fix minicom baudrate minicom doesn't inherit the baudrate from stty but uses its own defaults, such as for example 57600, whereas we expect 115200 here. Explicitly tell minicom which baudrate to use. Fixes: eee4835d22 ("tools: Add Marvell recovery image download script") Cc: Konstantin Porotchkin Cc: Stefan Roese Cc: Igal Liberman Signed-off-by: Andreas Färber Reviewed-by: Konstantin Porotchkin Reviewed-by: Stefan Roese Signed-off-by: Stefan Roese --- diff --git a/tools/mrvl_uart.sh b/tools/mrvl_uart.sh index 6b04d7ae2c..500fa117eb 100755 --- a/tools/mrvl_uart.sh +++ b/tools/mrvl_uart.sh @@ -115,5 +115,5 @@ sx -vv $file > $port < $port stty -F $port raw ignbrk time 5 $default_baudrate # Optional - fire up Minicom -minicom -D $port +minicom -D $port -b $default_baudrate