I am trying to test the dwxe driver on my orange pi one, an Allwinner h3 device. Any help is appreciated.
I took the dtb entries from an Armbian system that runs on this device: ethernet@1c30000 { compatible = "allwinner,sun8i-h3-emac"; syscon = <0x6>; reg = <0x1c30000 0x104>; interrupts = <0x0 0x52 0x4>; resets = <0x2 0xc>; reset-names = "ahb"; clocks = <0x2 0x1b>; clock-names = "ahb"; #address-cells = <0x1>; #size-cells = <0x0>; status = "okay"; phy-handle = <0x7>; phy-mode = "mii"; allwinner,leds-active-low; linux,phandle = <0x31>; phandle = <0x31>; mdio { #address-cells = <0x1>; #size-cells = <0x0>; linux,phandle = <0x32>; phandle = <0x32>; ethernet-phy@1 { reg = <0x1>; clocks = <0x2 0x43>; resets = <0x2 0x27>; linux,phandle = <0x47>; phandle = <0x47>; }; }; }; pinctrl@01c20800 { . emac0 { pins = "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD7", "PD8", "PD9", "PD10", "PD12", "PD13", "PD15", "PD16", "PD17"; function = "emac"; drive-strength = <0x28>; }; The device is recognized at boot time: dwxe0 at simplebus0: address 02:81:b1:07:76:5e ukphy0 at dwxe0 phy 0: Generic IEEE 802.3u media interface, rev. 4: OUI 0x1e7a40, model 0x0004 ukphy1 at dwxe0 phy 1: Generic IEEE 802.3u media interface, rev. 4: OUI 0x1e7240, model 0x0004 ifmedia_set: no match for 0x100/0xffffffffffffffff The orange pi one does not support 1000 Mhz. I set up # more /etc/hostname.dwxe0 ifconfig dwxe0 192.168.1.9 up netmask 255.255.255.0 media 100baseTX but on boot get: ifconfig: ifconfig: bad value dhclient turns on the yellow LAN connector status light: # dhclient dwxe0 dwxe0: DHCPDISCOVER - interval 1 dwxe0: DHCPDISCOVER - interval 1 dwxe0: DHCPDISCOVER - interval 2 dwxe0: DHCPDISCOVER - interval 4 dwxe0: DHCPDISCOVER - interval 6 dwxe0: DHCPDISCOVER - interval 8 dwxe0: DHCPDISCOVER - interval 9 dwxe0: no acceptable DHCPOFFERS received dwxe0: no working leases in persistent database - sleeping # ifconfig dwxe0 dwxe0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 02:81:b1:07:76:5e index 1 priority 0 llprio 3 media: Ethernet none (none loopback) status: active