Canonical has just published an optimized Ubuntu release for StarFive VisionFive 2 RISC-V SBC. The board supports Ubuntu 23.04 which you can download on the Ubuntu website. More details can be found in the announcement.
dmesg will not run Ubuntu 22.04 due to permissions issues. To change that edit /etc/sysctl.d/10-kernel-hardening.conf Uncomment the last line: kernel.dmesg_restrict = 0 and restart the procps service sudo service procps restart A USB to TTL CH340/CH341 debug board may automatically become disconnected in Ubuntu 22.04: [ 7471.658077] usb 3-1: USB disconnect, device number 2 […