mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-06-27 17:01:20 -04:00
Add qemuBoot.sh script for linux QEMU boot
This commit is contained in:
parent
0cbec918e0
commit
ff026540ff
1 changed files with 10 additions and 0 deletions
10
linux/qemuBoot.sh
Executable file
10
linux/qemuBoot.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
BUILDROOT="${BUILDROOT:-$RISCV/buildroot}"
|
||||
IMAGES="$BUILDROOT"/output/images
|
||||
qemu-system-riscv64 \
|
||||
-M virt -m 256M -nographic \
|
||||
-bios "$IMAGES"/fw_jump.bin \
|
||||
-kernel "$IMAGES"/Image \
|
||||
-initrd "$IMAGES"/rootfs.cpio \
|
||||
-dtb "$IMAGES"/wally-virt.dtb \
|
||||
-cpu rva22s64,zicond=true,zfa=true,zfh=true,zcb=true,zbc=true,zkn=true,sstc=true,svadu=true,svnapot=true
|
Loading…
Add table
Add a link
Reference in a new issue