Hi Nate, Nate Bargmann <n...@n0nb.us> writes:
> I just received a Olimex OLinuXino MICRO (A20) board [...] The > problem is that the ethernet port simply isn't passing traffic (it > works just fine with the Olimex official image). With the mainline kernel on an A20 (not Allwinner's custom kernel, which the Olimex images used to use), you ought to see something like this in dmesg if the right drivers are included: [ 2.858515] sun7i-dwmac 1c50000.ethernet: PTP uses main clock [ 2.864342] sun7i-dwmac 1c50000.ethernet: no reset control found [ 2.870426] sun7i-dwmac 1c50000.ethernet: no regulator found [ 2.876188] sun7i-dwmac 1c50000.ethernet: Ring mode enabled [ 2.881796] sun7i-dwmac 1c50000.ethernet: DMA HW capability register supported [ 2.889037] sun7i-dwmac 1c50000.ethernet: Normal descriptors [ 2.903927] libphy: stmmac: probed [ 2.907404] RTL8211E Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=-1) [ 2.919788] RTL8211E Gigabit Ethernet stmmac-0:01: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:01, irq=-1) ... [ 19.287489] RTL8211E Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=-1) [ 19.302199] sun7i-dwmac 1c50000.ethernet eth0: RX IPC Checksum Offload disabled [ 19.309560] sun7i-dwmac 1c50000.ethernet eth0: No MAC Management Counters available [ 19.317256] sun7i-dwmac 1c50000.ethernet eth0: PTP not supported by HW [ 19.324710] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 20.330756] sun7i-dwmac 1c50000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 20.339322] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Your board has an RTL8201CP PHY rather than the RTL8211E above, but it should still be using the GMAC controller (the A20 core has two different Ethernet controllers, but GMAC's generally preferred over EMAC). If there's no mention of the PHY, then the PHY driver is missing; if there's no mention of sun7i-dwmac, then the Ethernet controller driver is missing. With A20 boards in particular, there have been a couple of times when responsibility for configuring something in the Ethernet controller has shifted from the kernel to U-Boot. This means that using an older U-Boot with a newer kernel (or vice versa) can cause problems, so it's worth checking that you're using the latest U-Boot and mainline kernel. If you're really stuck, and have tried the latest U-Boot/kernel with no success, a better place to ask might be the linux-sunxi mailing list. Thanks, -- Adam Sampson <a...@offog.org> <http://offog.org/> _______________________________________________ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng