]> rtime.felk.cvut.cz Git - can-benchmark.git/commitdiff
Explicitely reset shark board when connecting to serial (USB) console
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sun, 5 Dec 2010 00:11:48 +0000 (01:11 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sun, 5 Dec 2010 00:11:48 +0000 (01:11 +0100)
scripts/serial-console

index addf02c0dc20518bc3eaca34bd45bc0995bfd349..161c7ae97bd4129e0f5087847691183c6ca730ad 100755 (executable)
@@ -3,4 +3,4 @@
 # This starts attaches to the serial console on RYU_edu board. To end the
 # session press <Enter>, '~' and '.' and wait approximately 1 second.
 
-ssh -t -e none glab cu -l /dev/ttyUSB0 -s 115200
+ssh -t -e none glab '(sleep 1; dtrrts /dev/ttyUSB0 1 1) & cu -l /dev/ttyUSB0 -s 115200'