sim:config: Change UART5 from PTY to socket connection Use the socket connection instead of PTY so there's no FIFO deadlock created by the unconnected PTY device during the robot test. zmodem doesn't work with the socket connect, and we need to work with Antmicro team on that. Change-Id: Ia9b44d461b1870c6827c4448a2a19f8d20693375
diff --git a/shodan.resc b/shodan.resc index 7ec6df1..db26c43 100644 --- a/shodan.resc +++ b/shodan.resc
@@ -16,16 +16,16 @@ machine LoadPlatformDescription @sim/config/platforms/shodan.repl -$term_port?="/tmp/term" -emulation CreateUartPtyTerminal "term" $term_port true +$term_port?=3456 +emulation CreateServerSocketTerminal $term_port "term" false connector Connect uart5 term # for a client, bash users may consider this inline script: # -# stty sane -echo -icanon; socat - /tmp/term,raw; stty sane +# stty sane -echo -icanon; socat TCP:localhost:$term_port -; stty sane # # tmux users may consider adding a binding to ~/.tmux.conf # -# bind-key k split-window "stty -echo -icanon; socat - /tmp/term,raw" +# bind-key k split-window "stty -echo -icanon; socat TCP:localhost:$term_port -" # Hook up the analyzers to the uarts so we can see their output in the main # Renode log