X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=tools%2Fmrvl_uart.sh;h=a46411fc99fb5e63dbd1173a7c865a30739ff55d;hb=57a72d0560eb7693a35a891f43587bcd6786dc04;hp=500fa117eb8f1e42ab83eb90a7480b909f16b5ab;hpb=3e00c48ef05bfe1a16f57dd0610ed2fa78774d63;p=u-boot diff --git a/tools/mrvl_uart.sh b/tools/mrvl_uart.sh index 500fa117eb..a46411fc99 100755 --- a/tools/mrvl_uart.sh +++ b/tools/mrvl_uart.sh @@ -1,9 +1,9 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 # ###################################################### # Copyright (C) 2016 Marvell International Ltd. # -# SPDX-License-Identifier: GPL-2.0 # https://spdx.org/licenses # # Author: Konstantin Porotchkin kostap@marvell.com @@ -46,13 +46,13 @@ then echo -e "\nMarvell recovery image downloader for Armada SoC family." echo -e "Command syntax:" echo -e "\t$(basename $0) [2|4|8]" - echo -e "\tport - serial port the target board connected to" + echo -e "\tport - serial port the target board is connected to" echo -e "\tfile - recovery boot image for target download" echo -e "\t2|4|8 - times to increase the default serial port speed by" echo -e "For example - load the image over ttyUSB0 @ 460800 baud:" echo -e "$(basename $0) /dev/ttyUSB0 /tmp/flash-image.bin 4\n" echo -e "=====WARNING=====" - echo -e "- The speed-up option is not awailable in SoC families prior to A8K+" + echo -e "- The speed-up option is not available in SoC families prior to A8K+" echo -e "- This utility is not compatible with Armada 37xx SoC family\n" fi @@ -111,7 +111,7 @@ stty -F $port raw ignbrk time 5 $fast_baudrate sx -vv $file > $port < $port #sx-at91 $port $file -# return the port to the default speed +# Return the port to the default speed stty -F $port raw ignbrk time 5 $default_baudrate # Optional - fire up Minicom