mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-08 18:26:48 +00:00
feat(ide): disable empty debug terminal, add qemu output to file (#5)
This commit is contained in:
parent
153b7a6cb8
commit
510b1c2f0f
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
@ -17,6 +17,8 @@
|
||||
],
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"sourceLanguages": ["c", "cpp", "rust"],
|
||||
"console": "internalConsole"
|
||||
}
|
||||
]
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
LOG_FILE="../serial_opt.txt"
|
||||
# uboot版本
|
||||
UBOOT_VERSION="v2023.10"
|
||||
RISCV64_UBOOT_PATH="../tools/arch/riscv64/u-boot-${UBOOT_VERSION}-riscv64"
|
||||
@ -25,4 +26,6 @@ qemu-system-riscv64 -machine virt -kernel ../tools/arch/riscv64/u-boot-v2023.10-
|
||||
-no-reboot -device virtio-net-device,netdev=net -netdev user,id=net \
|
||||
-rtc base=utc \
|
||||
-drive file=../bin/riscv64/disk.img,if=none,format=raw,id=x1 \
|
||||
-device virtio-blk-device,drive=x1,bus=virtio-mmio-bus.1 -s
|
||||
-device virtio-blk-device,drive=x1,bus=virtio-mmio-bus.1 -s \
|
||||
-serial chardev:mux -monitor chardev:mux \
|
||||
-chardev stdio,id=mux,mux=on,signal=off,logfile=${LOG_FILE}
|
Loading…
x
Reference in New Issue
Block a user