Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

A20 OLinuXino Lime2 Rev L (armv7): Ethernet links at 1Gbps but transmits nothing — KSZ9031 PHY binds to Generic PHY driver

Featured Replies

Board: Olimex A20-OLinuXino-LIME2, revision L (2018 silkscreen)
Image: Armbian 26.11 rolling, Trixie minimal, kernel 6.18.60-current-sunxi
Hardware: 1GB RAM, wired only

Summary: Ethernet negotiates 1000 Mbps full duplex, but no frame the board transmits ever arrives. Receive works — RX counters climb into the hundreds of thousands on broadcast traffic — while TX packets increment with TX errors static at 6 and nothing lands. DHCP never completes, ARP for the gateway never resolves (the only neighbour entry comes from the router's gratuitous ARP), and both ICMP and TCP fail.

Evidence:

sun7i-dwmac 1c50000.ethernet end0: PHY [stmmac-0:01] driver [Generic PHY] (irq=POLL)
sun7i-dwmac 1c50000.ethernet end0: configuring for phy/rgmii-id link mode


phy_id is **0x00221622** — a Microchip/Micrel KSZ9031. The mainline micrel driver supports this part, but it is not binding; the generic driver is used instead, so the RGMII-ID transmit delay and skew are never programmed. With rgmii-id the delays are meant to come from the PHY, and the generic driver applies none.

**Ruled out:**

- Two different cables and both LAN ports, all negotiating 1000 Mbps
- Router rebooted; DHCP confirmed enabled, 252-address pool, no MAC filtering, no isolation
- Both the Armbian-generated MAC and the board's hardware MAC — identical result
- Manual static address and default route: ping gives Destination Host Unreachable, curl to the router gets no response
- ip -s link show end0: TX errors remain at 6 across repeated tests, so the driver believes transmit succeeds
- Same board, cable and port work correctly on the Olimex Debian bookworm 5.10 image, where the PHY binds a specific driver

**Question:** Is there a Rev L device tree that declares the correct PHY compatible (ethernet-phy-id0022.1622), or an overlay to force the micrel
driver and its skew defaults? The board has no usable networking on current Armbian until transmit works.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.