PINE64
Ethernet Issues on DietPi - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE H64 (https://forum.pine64.org/forumdisplay.php?fid=92)
+--- Forum: Linux on Pine H64 (https://forum.pine64.org/forumdisplay.php?fid=95)
+--- Thread: Ethernet Issues on DietPi (/showthread.php?tid=11886)



Ethernet Issues on DietPi - rgreen - 10-20-2020

Armbian install by way of Diet Pi.

I was really looking forward to moving our self-hosted services to a more capable SBC.  I need a solid ethernet connection that the H64b doesn't seem to want to provide.  I'm going to check with Manjaro build, but arch isn't my flavour and I'm not looking to manage a single non-debian based distro.

Am I sending this thing back to Pine?  What was the purpose of the h64 if it's barely supported by anything?


RE: Ethernet Issues on DietPi - gamelaster - 10-21-2020

Hello,

you can try Armbian , the ethernet should work here.

-gamiee


RE: Ethernet Issues on DietPi - bapound - 10-23-2020

Ethernet on Manjaro does work (just trying to save you the hassle). I share your frustrations on the H64, though, I have given up using it for awhile until kernel development is more mature.


RE: Ethernet Issues on DietPi - rgreen - 10-23-2020

Tried Manjaro Arm and it worked.  That just tells me I need to work Armbian harder for a solution.  It works during boot and provides a nts timesync before getting:

Code:
dwmac-sun8i 5020000.ethernet eth0 is down

around the 35s mark.  (not an actual copy from the log.)


RE: Ethernet Issues on DietPi - rgreen - 11-09-2020

Root of the problem was the Armbian build diet-pi 6.29 was based off. Rebasing their 6.33 image on a newer Buster seemed to fix the ethernet issue when I tested it.


RE: Ethernet Issues on DietPi - kissste - 12-15-2020

I'm having the same problem with ETH0 as well as HDMI.

I believe, it's related to ATF is enabling regulators.

The fix is to downgrade ATF

https://github.com/armbian/build/commit/b7a329854d8d65297222cfa9932b9cd432b361cc

source:
https://forum.armbian.com/topic/12532-opi-3-stuck-login-line-and-hdmi-not-work/?do=findComment&comment=91760

[    8.898813] dwmac-sun8i 5020000.ethernet: PTP uses main clock
[    9.011232] dwmac-sun8i 5020000.ethernet: Current syscon value is not the default 58000 (expect 0)
[    9.025089] dwmac-sun8i 5020000.ethernet: No HW DMA feature register supported
[    9.032514] dwmac-sun8i 5020000.ethernet: RX Checksum Offload Engine supported
[    9.039841] dwmac-sun8i 5020000.ethernet: COE Type 2
[    9.044887] dwmac-sun8i 5020000.ethernet: TX Checksum insertion supported
[    9.051724] dwmac-sun8i 5020000.ethernet: Normal descriptors
[    9.057399] dwmac-sun8i 5020000.ethernet: Chain mode enabled
[    9.063272] libphy: stmmac: probed
[    9.066933] mdio_bus stmmac-0: MDIO device at address 1 is missing.
[  14.803370] dwmac-sun8i 5020000.ethernet eth0: Could not attach to PHY
[  14.810256] dwmac-sun8i 5020000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)