Code: Select all
make LLVM=1 PLATFORM=GENERIC
- build/platform/generic/firmware/payloads/test.bin
- build/platform/generic/firmware/fw_jump.bin
Code: Select all
qemu-system-riscv64 -nographic -M virt -smp 1 -m 512M -kernel ./build/platform/generic/firmware/payloads/test.elf
However, I can't get it to work with the OpenSBI binary I just built. I tried the following command for that purpose:
Code: Select all
qemu-system-riscv64 -nographic -M virt -smp 1 -m 512M -bios ./build/platform/generic/firmware/fw_jump.bin -kernel ./build/platform/generic/firmware/payloads/test.bin
In both cases, I can see OpenSBI's output printed.
What could the problem be?