The best way to do it is with armbian, but the software is not ready to add overlays, so this is the only way I was able to make it work.
This is similar to the guide I did for the Lichee 20230806 - CAN Controller on the Lichee. The steps are:
- Use the ubuntu image of Lichee
- Follow 20230806 - How to add your overlay to any Linux
- The difference is that I am modifying this overlay 20230806 - Mangopi device tree, but the steps are the same, with that is working.