riscvarchive / riscv-qemu

QEMU with RISC-V (RV64G, RV32G) Emulation Support
384 stars 154 forks source link

qemu-system-riscv32 doesn't run BBL/Linux #181

Open mickflemm opened 5 years ago

mickflemm commented 5 years ago

When compiling a 32bit BBL and use it with the -bios parameter on the virt machine, I get an assert here: https://github.com/riscv/riscv-pk/blob/master/machine/minit.c#L78 If I comment this out and try to boot a default 32bit Linux kernel, qemu crashes with "Unable to handle guest executing from RAM within a small MPU region at ...".