summaryrefslogtreecommitdiff
path: root/debug.sh
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2021-03-19 17:00:25 +0000
committerAda Christine <adachristine18@gmail.com>2021-03-19 17:00:25 +0000
commit583d86019e24036794f39bdd8b64fa4cb990703c (patch)
tree6b7a5b01d6bd7bb5d0a4e6b981a0e579ccf45908 /debug.sh
parentd182b40fde059899bc65347e6669e6cc23c09a6c (diff)
debug output from serial to file
Diffstat (limited to 'debug.sh')
-rwxr-xr-xdebug.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug.sh b/debug.sh
index 1ce95b7..47f87ff 100755
--- a/debug.sh
+++ b/debug.sh
@@ -8,5 +8,5 @@ make -C kernel &&
qemu-system-x86_64 -cpu qemu64 \
-drive if=pflash,format=raw,unit=0,file=/usr/share/ovmf/x64/OVMF_CODE.fd,readonly=on \
-drive if=pflash,format=raw,unit=1,file=OVMF_VARS.fd \
- -net none -drive file=uefi.img,if=ide -monitor stdio -vga none
+ -net none -drive file=uefi.img,if=ide -monitor stdio -serial file:sophia.log