feat(qemu): Generate QEMU logs

This commit is contained in:
Berkus Decker 2022-09-17 15:49:01 +03:00 committed by Berkus Decker
parent 9b35283ca6
commit 97fc7f6b3d
2 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@
target/
kernel8*
.gdb_history
qemu.log

View File

@ -103,7 +103,8 @@ dependencies = ["build-qemu", "kernel-binary"]
env = { "TARGET_FEATURES" = "${QEMU_FEATURES}" }
script = [
"echo Run QEMU ${QEMU_OPTS} ${QEMU_RUNNER_OPTS} with ${KERNEL_BIN}",
"${QEMU} ${QEMU_OPTS} ${QEMU_RUNNER_OPTS} -dtb ${TARGET_DTB} -kernel ${KERNEL_BIN}"
"rm -f qemu.log",
"${QEMU} ${QEMU_OPTS} ${QEMU_RUNNER_OPTS} -dtb ${TARGET_DTB} -kernel ${KERNEL_BIN} 2>&1 | tee qemu.log"
]
[tasks.expand]