Building processus :
Use Armbian image : https://mega.nz/file/XeoymJKA#VSJHsyU8SCQPAQvMqVkiqLVPXWFp4egxajoL4Ea0jqI
It's a debian bullseye minimal linux 5.16.17
burn image and connect the MangoPi with ssh:
user : root
password : orangepi
then :
apt-get update && apt-get upgrade -y
apt install -y curl ca-certificates systemd-sysv git build-essential
reboot
If you wants I2C or SPI enabled (you can do this later in dietpi):
nano /boot/orangeEnv.txt