Reputation: 161
I tried to build QEMU for RISC-V ISA simulator.
However, after I downloaded it and type the following:
$ ./configure --target-list=riscv-softmmu
It gave me this:
ERROR: Unknown target name 'riscv-softmmu'
Can anyone shed some lights on it?
I am using Mac OS.
Upvotes: 0
Views: 1589
Reputation: 31
The first issue with the configure command in your question is that the target name is invalid. The available RISC-V configure targets are
Also, the RISC-V port was accepted into QEMU 2.12, so you need to be using the most recent version. There are more details on SiFive's blog:
If you want to try the latest version of the RISC-V QEMU port, you can clone and build the riscv-qemu GitHub repository:
git clone --recursive https://github.com/riscv/riscv-qemu.git cd riscv-qemu ./configure --target-list=\ riscv64-softmmu,riscv32-softmmu,\ riscv64-linux-user,riscv32-linux-user
git clone --recursive https://github.com/riscv/riscv-qemu.git cd riscv-qemu ./configure --target-list=\ riscv64-softmmu,riscv32-softmmu
The RISC-V QEMU Port Wiki contains a collection of information on the port include links to Operating System images for RISC-V QEMU:
Upvotes: 1