riscv-software-src / riscv-pk

RISC-V Proxy Kernel
Other
593 stars 308 forks source link

fdt: allow mmu type "riscv,32" on rv32 systems #177

Closed gktrk closed 5 years ago

gktrk commented 5 years ago

SV32 is presented in RISC-V Privileged Architecture Manual (version 20190608-Priv-MSU-Ratified) Section 4.3 for RV32 systems. However, BBL responds to sv32 with:

hart_filter_mask saw unknown hart type: status="okay", mmu_type="riscv,sv32"

and hangs.

This patch is adopted from the original 'riscv-pk.diff' patch written by Fabrice Bellard, distributed as part of the following tarball: https://bellard.org/tinyemu/diskimage-linux-riscv-2018-09-23.tar.gz

Closes: https://github.com/riscv/riscv-pk/issues/160

gktrk commented 5 years ago

Ping.