Regarding the HDMI issue: I have a NanoPi NEO4 and a NanoPi M4v2 where also the HDMI output did not work.
I came across this page: How to enable HDMI on in U-Boot on OrangePi4, rk3399? - Rockchip - Armbian Community Forums
What at my NanoPis helped was:
- Manually edit the
/boot/dietpiEnv.txt
vianano /boot/dietpiEnv.txt
- I located a line with
extraargs
at my file which was
extraargs=net.ifnames=0
- In this line I added
video=HDMI-A-1:1280x720@50
, so the line then was
extraargs=net.ifnames=0 video=HDMI-A-1:1280x720@50 - reboot
Remark: Changing the resolution via dietpi-config
is a bit tricky, because dietpi-config
does not know the necessary entries and also does not always set the refresh rate (→ @50
for 50 Hz). If you “play” with these settings indietpi-config
, it is a good idea to check the file /boot/dietpiEnv.txt
afterwards.