Image Armbian_23.5.2_Nanopiduo2_bookworm_current_6.1.30.img
uname -a
Linux nanopiduo2 6.1.30-sunxi #1 SMP Wed May 24 16:32:53 UTC 2023 armv7l GNU/Linux
It turns out the dtb has some missing pieces:
ethernet@1c30000 {
compatible = "allwinner,sun8i-h3-emac";
syscon = <0x1e>;
reg = <0x1c30000 0x10000>;
interrupts = <0x00 0x52 0x04>;
interrupt-names = "macirq";
resets = <0x03 0x0c>;
reset-names = "stmmaceth";
clocks = <0x03 0x1b>;
clock-names = "stmmaceth";
status = "okay";
phy-handle = <0x69>; // differs from NEO
phy-mode = "mii";
allwinner,leds-active-low;
after adding phy-handle, phy-mode and allwinner.. wired ethernet works.
Of course NetworkManager config /etc/network interfaces must be configured properly.
In my case
# Network is managed by Network manager
auto lo
iface lo inet loopback
# network interface not managed by Network Manager
allow-hotplug eth0
iface eth0 inet static
address 192.168.179.222
netmask 255.255.255.0
gateway 192.168.179.1
dns-nameservers 192.168.179.1
Possibly the leds* are not required. Maybe these can be tweaked for other IO's then 🙂
btw. would be nice to thave a separate Nanopi duo2 section here.
T.