OK, something probably pretty basic with #QEMU I need to ask.
I have this command-line, which is generated by #Keystone #RISCV #TEE build:
/home/jarkkojs/work/keystone/qemu/build/riscv64-softmmu/qemu-system-riscv64 \
$DEBUG \
-m 2G \
-nographic \
-machine virt,rom=/home/jarkkojs/work/keystone/build/bootrom.build/bootrom.bin \
-bios /home/jarkkojs/work/keystone/build/sm.build/platform/generic/firmware/fw_payload.bin \
\
-netdev user,id=net0,net=192.168.100.1/24,dhcpstart=192.168.100.128,hostfwd=tcp::${HOST_PORT}-:22 \
-device virtio-net-device,netdev=net0 \
-device virtio-rng-pci \
-smp $SMP
QEMU has support for #Spike, which is #CVA6 emulation.
So when I do to the above command-line simply s/virt,/spike,/g
, I get this error:
$ build/scripts/run-qemu.sh
**** Running QEMU SSH on port 3617 ****
qemu-system-riscv64: Property 'spike-machine.rom' not found
How do I end up to this error message? Why does it seek a filename like that? Without rom=
I can run Spike emulation but I need that bootrom for the application.