Uploaded image for project: 'Armbian'
  1. AR-376

N2 mainline ethernet failure, with upstream patch

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects versions: None
    • Fix versions: None
    • Components: Current
    • Labels:
    • Sprint:

      Description

      https://github.com/armbian/build/issues/2106

      from user

      https://forum.armbian.com/topic/14675-breaking-n2-eth0-in-nightly-and-mainline-patch/

      eth0 establishes link on the N2 with released 5.6.18-meson64 (root@builder) but after switching to nightly 5.7.9-meson64 (root@stable) fails to get ethernet link and errors with

      [ 76.174115] meson8b-dwmac ff3f0000.ethernet eth0: PHY [0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=25)
      [ 76.278174] meson8b-dwmac ff3f0000.ethernet: Failed to reset the dma
      [ 76.278892] meson8b-dwmac ff3f0000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed
      [ 76.287895] meson8b-dwmac ff3f0000.ethernet eth0: stmmac_open: Hw setup failed

      I've tracked this to a needed delay in the overlay, a patch is available here:

      https://forum.khadas.com/t/vim2-ethernet-problem-with-mainline-kernel/5817/7
      https://patchwork.kernel.org/patch/10997079/

      Thanks for an outstanding build!

        Attachments

          Activity

            People

            • Assignee:
              Lane Jennison
              Reporter:
              Lane Jennison
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: