utmapp / UTM

Virtual machines for iOS and macOS
https://getutm.app
Apache License 2.0
27.04k stars 1.35k forks source link

RISC-V FreeBSD #3658

Open macshouldbeusedforgaming opened 2 years ago

macshouldbeusedforgaming commented 2 years ago

I am trying to run the RISC-V version of FreeBSD using UTM. When I use the Spike cpu I get the error "qemu-riscv64-softmmu: -device cirrus-vga: No 'PCI' bus found for device 'cirrus-vga'" then when I use the Sifive u core i get the error "qemu-riscv64-softmmu: OTP drive size < 16K" then when I use the Virtio core I get the error "UEFI is not supported with this architecture." I have tried every one and I keep getting those errors. UTM is able to run ARM64 fine. What should I do?

macshouldbeusedforgaming commented 2 years ago

I am using a Macbook pro i5 running MacOS Monterey btw

conath commented 2 years ago

When I use the Spike cpu I get the error "qemu-riscv64-softmmu: -device cirrus-vga: No 'PCI' bus found for device 'cirrus-vga'"

Change to "console mode" in Display section, also in System section, enable "Show Advanced" and uncheck "UEFI Boot" and "RNG device".

when I use the Sifive u core i get the error "qemu-riscv64-softmmu: OTP drive size < 16K"

Don't know

when I use the Virtio core I get the error "UEFI is not supported with this architecture."

In System section, enable "Show Advanced" and uncheck "UEFI Boot"

macshouldbeusedforgaming commented 2 years ago

I tried Spike with what you said and got the same error. For Virtio core, I cannot uncheck the uefi boot, and is greyed out

aaronfranke commented 2 years ago

Change to "console mode" in Display section

Is it possible to use a GUI with a RISC-V virtual machine with UTM? I apologize if this is off-topic for this issue.

kasperk81 commented 2 years ago

i am having a same issue with debian. posted https://github.com/utmapp/UTM/discussions/4378 for help if someone has successfully used debian risc-v with utm before. maybe @wegank has tried it?

barracuda156 commented 2 months ago

Any success ever since with emulating some RISC-V via UTM?