Buildroot can be used to generate kernels and root filesystems for VMs.
These drivers must be enabled in order for the console and block devices to work:
- Device Drivers -> Virtio drivers -> PCI driver for virtio devices <*>
- Device Drivers -> Block devices -> Virtio block driver <*>
- Device Drivers -> Character devices -> RISC-V SBI console support [ ]
- Device Drivers -> Character devices -> Virtio console <*>
Network device support is confirmed with kernel version 4.19.245. For network device support the following must be enabled:
- Device Drivers -> Network device support -> Network core driver support [*] -> Virtio network driver <*>
- Device Drivers -> Character devices -> Hardware Random Number Generator Core support <*> -> VirtIO Random Number Generator support <*>