-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdebug_command
More file actions
5 lines (4 loc) · 873 Bytes
/
Copy pathdebug_command
File metadata and controls
5 lines (4 loc) · 873 Bytes
1
2
3
4
5
# debug
qemu-system-riscv64 -machine virt -smp cpus=4 -nographic -bios bootloader/rustsbi-qemu.bin -device loader,file=os/target/riscv64gc-unknown-none-elf/debug/os,addr=0x80200000 -device loader,file=basic_rt/target/riscv64gc-unknown-none-elf/debug/basic_rt.bin,addr=0x87000000 -drive file=user/target/riscv64gc-unknown-none-elf/release/fs.img,if=none,format=raw,id=x0 -device virtio-blk-device,drive=x0,bus=virtio-mmio-bus.0 -s -S
#release
qemu-system-riscv64 -machine virt -smp cpus=4 -nographic -bios bootloader/rustsbi-qemu.bin -device loader,file=os/target/riscv64gc-unknown-none-elf/release/os,addr=0x80200000 -device loader,file=basic_rt/target/riscv64gc-unknown-none-elf/debug/basic_rt.bin,addr=0x87000000 -drive file=user/target/riscv64gc-unknown-none-elf/release/fs.img,if=none,format=raw,id=x0 -device virtio-blk-device,drive=x0,bus=virtio-mmio-bus.0 -s -S