summaryrefslogtreecommitdiff
path: root/tools/mrvl_uart.sh
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2018-01-20 13:07:09 +0100
committerStefan Roese <sr@denx.de>2018-01-29 13:36:32 +0100
commit3e00c48ef05bfe1a16f57dd0610ed2fa78774d63 (patch)
treed9c83bdb16178f40a5e6852a0075b2720c070226 /tools/mrvl_uart.sh
parentbd39d86420434eb8139a111c2582366bc90e65c6 (diff)
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 <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>
Diffstat (limited to 'tools/mrvl_uart.sh')
-rwxr-xr-xtools/mrvl_uart.sh2
1 files changed, 1 insertions, 1 deletions
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