(Thought I already committed this months ago, noticed now looking into bootloaders again...)
GENERIC, efiboot and installboot(8) all have softraid support already, softraid(4) documents boot support for riscv64, "just" the ramdisk kernel lacks it. Still boots fine on the SiFive HiFive Unmatched A00. OK? Index: sys/arch/riscv64/conf/RAMDISK =================================================================== RCS file: /cvs/src/sys/arch/riscv64/conf/RAMDISK,v retrieving revision 1.35 diff -u -p -r1.35 RAMDISK --- sys/arch/riscv64/conf/RAMDISK 26 Jun 2022 20:05:06 -0000 1.35 +++ sys/arch/riscv64/conf/RAMDISK 25 Apr 2023 10:55:23 -0000 @@ -27,6 +27,7 @@ config bsd root on rd0a swap on rd0b # mainbus mainbus0 at root +softraid0 at root # cpu0 cpu0 at mainbus0