]> git.sur5r.net Git - u-boot/commitdiff
tools/mrvl_uart.sh: Fix minicom baudrate
authorAndreas Färber <afaerber@suse.de>
Sat, 20 Jan 2018 12:07:09 +0000 (13:07 +0100)
committerStefan Roese <sr@denx.de>
Mon, 29 Jan 2018 12:36:32 +0000 (13:36 +0100)
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 <kostap@marvell.com>
Cc: Stefan Roese <sr@denx.de>
Cc: Igal Liberman <igall@marvell.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Konstantin Porotchkin <kostap@marvell.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
tools/mrvl_uart.sh

index 6b04d7ae2c12083a91ecdf280c9a8692ebdbeae4..500fa117eb8f1e42ab83eb90a7480b909f16b5ab 100755 (executable)
@@ -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