Riscv qemu tutorial

broken image
broken image
broken image

configure -target-list=riscv32-softmmu -prefix=/Users/$USER/qemu_riscv I followed the steps from this experience, but now on macOS Catalina, and changing the configure command from version display version information and exitįor macOS, I had already done an installation of QEMU on macOS Mojave. 'disk_image' is a raw hard disk image for IDE hard disk 0 QEMU emulator version 4.1.93 (v4.2.0-rc3-dirty)Ĭopyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers The installation was then tested, /home/$USER/prog/qemu_riscv/bin/qemu-system-riscv32 -help | head Which in turn led to a successful configure command. configure -target-list=riscv32-softmmu -prefix=/home/$USER/prog/qemu_riscvĮRROR: pkg-config binary 'pkg-config' not realized that this was due to lack of programs on my newly installed Ubuntu 18.04.3 on Virtualbox.Īfter which I got more errors, which led to configure -target-list=riscv32-softmmu -prefix=/home/$USER/prog/qemu_riscv QEMU – Ubuntuįor Ubuntu, I installed QEMU by following instructions on the QEMU site, which led to commands, as I wanted the program to run on Ubuntu, as well as on MacOS, and I wanted to use QEMU as RISC-V simulator. I wanted to create a minimal, Hello world style, program, for RISC-V.

broken image