From c19bc51bdc5e5a96beb54158071378f2808097f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Lov=C3=A9n?= Date: Sat, 2 Dec 2017 00:34:19 +0100 Subject: [PATCH] Output serial to a file --- toolchain/emul | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/toolchain/emul b/toolchain/emul index 9ceefd6..26a8571 100755 --- a/toolchain/emul +++ b/toolchain/emul @@ -3,7 +3,8 @@ if [ -z ${MITTOS64+x} ]; then >&2 echo "Unsupported environment! See README"; exit 1; fi iso=${BUILDROOT}mittos64.iso +seriallog=${BUILDROOT}serial.log ${BUILDROOT}toolchain/mkiso -qemu-system-x86_64 -s -S -cdrom ${iso} $@ +qemu-system-x86_64 -s -S -cdrom ${iso} -serial file:${seriallog} $@