update Makefile for CI autotest

This commit is contained in:
Yu Chen 2022-06-23 00:11:44 +08:00
parent eddb2d345d
commit e2a7c72b98
2 changed files with 17 additions and 2 deletions

10
os/run-nodisp.sh Executable file
View file

@ -0,0 +1,10 @@
qemu-system-riscv64 -M 128m -machine virt \
-bios ../bootloader/rustsbi-qemu.bin \
-display none \
-device loader,file=target/riscv64gc-unknown-none-elf/release/os.bin,addr=0x80200000 \
-drive file=../user/target/riscv64gc-unknown-none-elf/release/fs.img,if=none,format=raw,id=x0 \
-device virtio-blk-device,drive=x0 \
-device virtio-gpu-device \
-device virtio-keyboard-device \
-device virtio-mouse-device \
-serial stdio