diff options
Diffstat (limited to 'scripts/runqemu-internal')
-rwxr-xr-x | scripts/runqemu-internal | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal index d743322037..b317358f94 100755 --- a/scripts/runqemu-internal +++ b/scripts/runqemu-internal | |||
@@ -620,6 +620,14 @@ if [ "x$QEMUOPTIONS" = "x" ]; then | |||
620 | return 1 | 620 | return 1 |
621 | fi | 621 | fi |
622 | 622 | ||
623 | if [ $TCPSERIAL_PORTNUM != "" ]; then | ||
624 | if [ "$MACHINE" = "qemuarm64" ]; then | ||
625 | QEMUOPTIONS="$QEMUOPTIONS -device virtio-serial-device -chardev socket,id=virtcon,port=$TCPSERIAL_PORTNUM,host=127.0.0.1 -device virtconsole,chardev=virtcon" | ||
626 | else | ||
627 | QEMUOPTIONS="$QEMUOPTIONS -serial tcp:127.0.0.1:$TCPSERIAL_PORTNUM" | ||
628 | fi | ||
629 | fi | ||
630 | |||
623 | PATH=$OECORE_NATIVE_SYSROOT/usr/bin:$PATH | 631 | PATH=$OECORE_NATIVE_SYSROOT/usr/bin:$PATH |
624 | 632 | ||
625 | QEMUBIN=`which $QEMU 2> /dev/null` | 633 | QEMUBIN=`which $QEMU 2> /dev/null` |