For those interested I made a Ubuntu 22.04 image for the Milk-V duo 256m and Milk-V duo S (512m). The same image works on both.
I installed build-essentials meaning gcc and tools for compiling using gcc. I tested the build on the “nano” editor. The nano editor is included in the image as an alternative to vi.
The image is found at:
As usual: Everything is done at one’s own risk. The image is best flashed to a 64GiB SD memory. To use a smaller SD requires re-sizing of the root partition.