make: change from localhost to 127.0.0.1
Depending on how to you connect to internet, the tcp.localhost might not
always work. You can eventually end up with the following error message:
(qemu) qemu-system-aarch64: -serial tcp:localhost:54320: Failed to connect to 'localhost:54320': Connecti on refused
qemu-system-aarch64: -serial tcp:localhost:54320: could not connect serial device to character backend 't cp:localhost:54320'
Therefore it's better to instead use 127.0.0.1 when connecting to the
serial consoles.
Signed-off-by: Joakim Bech <joakim.bech@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
diff --git a/qemu_v8.mk b/qemu_v8.mk
index 9edd947..d981b64 100644
--- a/qemu_v8.mk
+++ b/qemu_v8.mk
@@ -479,7 +479,7 @@
$(call wait-for-ports,54320,54321)
cd $(BINARIES_PATH) && $(QEMU_BUILD)/aarch64-softmmu/qemu-system-aarch64 \
-nographic \
- -serial tcp:localhost:54320 -serial tcp:localhost:54321 \
+ -serial tcp:127.0.0.1:54320 -serial tcp:127.0.0.1:54321 \
-smp $(QEMU_SMP) \
-s -S -machine virt,acpi=off,secure=on,mte=$(QEMU_MTE),gic-version=$(QEMU_GIC_VERSION),virtualization=$(QEMU_VIRT) \
-cpu $(QEMU_CPU) \