I ran into this issue with the Armbian 23.5.1 Jammy image (`Armbian_23.5.1_Nanopiduo2_jammy_current_6.1.30.img.xz`) yesterday. Tried it twice, different SD cards, cleared them with "SD Card Formatter", burned and verified with BalenaEtcher, checked all SHA256 values, everything good.
This seems to be the part of the process where things start to go awry:
Found U-Boot script /boot/boot.scr
4121 bytes read in 3 ms (1.3 MiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
234 bytes read in 2 ms (114.3 KiB/s)
16661873 bytes read in 694 ms (22.9 MiB/s)
8477464 bytes read in 354 ms (22.8 MiB/s)
Found mainline kernel configuration
Failed to load '/boot/dtb/allwinner/sun8i-h3-nanopi-duo2.dtb'
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
So it looks like the exact same issue as gounthar and Benben. I didn't test out Benben's fix, but decided to build an image file directly using Armbian's Github `./compile` tool, and that worked fine as of 6 June 2023.
The options I used were: `./compile.sh build BOARD=nanopiduo2 BRANCH=current BUILD_MINIMAL=no KERNEL_CONFIGURE=no RELEASE=jammy`
I'm not sure how repeatable builds from the compile system are, but SHA hash of mine is attached in case this helps anyone.
N.B. I just noticed that the version on the board page is now `Armbian_23.5.2_Nanopiduo2_jammy_current_6.1.30.img.xz` so perhaps this has been fixed there in the point release? I will try to test later.
Armbian_23.08.0-trunk_Nanopiduo2_jammy_current_6.1.30.img.sha