Tools: Added bdinfo print to uboot upload script

This commit is contained in:
Thomas Muller 2022-06-07 00:56:52 -04:00
parent 9023bb8d60
commit 5ac3bc9aa3
Signed by: thomas
GPG key ID: AF006EB730564952

View file

@ -3,5 +3,6 @@
stty -F /dev/ttyUSB0 115200 -echo -icrnl stty -F /dev/ttyUSB0 115200 -echo -icrnl
echo "loadx" > /dev/ttyUSB0 echo "loadx" > /dev/ttyUSB0
sx -vv -X -k $1 < /dev/ttyUSB0 > /dev/ttyUSB0 sx -vv -X -k $1 < /dev/ttyUSB0 > /dev/ttyUSB0
echo "bdinfo" > /dev/ttyUSB0
echo "bootelf" > /dev/ttyUSB0 echo "bootelf" > /dev/ttyUSB0
cat - < /dev/ttyUSB0 cat - < /dev/ttyUSB0