Reference: https://github.com/tianocore/edk2/tree/master/OvmfPkg/RiscVVirt Note that EDK 2 support both ACPI and FDT hardware definitions, so existing FDT generation should be fine. Some NVRAM emulation may be needed.