Banana Pi BPI-R4 Ethernet ports died

I have an issue with my Banana Pi BPI-R4 board, RJ-45 ports suddenly stopped working. Also 2 of the green LEDs are on for some reason. Issue occurred after flashing openwrt back and forth for some time.

I tried several images, including the banana original ubuntu image which worked before - same leds, no link on any port.

I’m attaching the boot logs of openwrt and ubuntu. In both logs this sequence is present:

[    6.167116] mtk_soc_eth 15100000.ethernet: generated random MAC address 65:74:68:25:64:00
[    6.175300] mtk_soc_eth 15100000.ethernet: generated random MAC address 65:74:68:25:64:00
[    6.187209] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc085e80000, irq 106
[    6.196831] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc085e80000, irq 106
[    6.206445] mtk_soc_eth 15100000.ethernet eth2: mediatek frame engine at 0xffffffc085e80000, irq 106
[    6.229944] MediaTek MT7988 PHY mt7530-0:00: cal_cycle failed: -110
[    6.236248] MediaTek MT7988 PHY mt7530-0:00: Calibration cycle timeout
[    6.243465] MediaTek MT7988 PHY mt7530-0:00: cal 4 failed
[    6.248856] MediaTek MT7988 PHY: probe of mt7530-0:00 failed with error -5
[    6.269201] MediaTek MT7988 PHY mt7530-0:01: cal_cycle failed: -110
[    6.275459] MediaTek MT7988 PHY mt7530-0:01: Calibration cycle timeout
[    6.282721] MediaTek MT7988 PHY mt7530-0:01: cal 4 failed
[    6.288112] MediaTek MT7988 PHY: probe of mt7530-0:01 failed with error -5
[    6.308075] MediaTek MT7988 PHY mt7530-0:02: cal_cycle failed: -110
[    6.314333] MediaTek MT7988 PHY mt7530-0:02: Calibration cycle timeout
[    6.321556] MediaTek MT7988 PHY mt7530-0:02: cal 4 failed
[    6.326946] MediaTek MT7988 PHY: probe of mt7530-0:02 failed with error -5
[    6.346811] MediaTek MT7988 PHY mt7530-0:03: cal_cycle failed: -110
[    6.353066] MediaTek MT7988 PHY mt7530-0:03: Calibration cycle timeout
[    6.360287] MediaTek MT7988 PHY mt7530-0:03: cal 4 failed
[    6.365675] MediaTek MT7988 PHY: probe of mt7530-0:03 failed with error -5
[    6.372622] mt7530-mmio 15020000.switch: configuring for fixed/internal link mode
[    6.380103] mt7530-mmio 15020000.switch: Link is Up - 10Gbps/Full - flow control rx/tx
[    6.380793] mt7530-mmio 15020000.switch wan (uninitialized): PHY [mt7530-0:00] driver [Generic PHY] (irq=POLL)
[    6.398969] mt7530-mmio 15020000.switch lan1 (uninitialized): PHY [mt7530-0:01] driver [Generic PHY] (irq=POLL)
[    6.409937] mt7530-mmio 15020000.switch lan2 (uninitialized): PHY [mt7530-0:02] driver [Generic PHY] (irq=POLL)
[    6.420958] mt7530-mmio 15020000.switch lan3 (uninitialized): PHY [mt7530-0:03] driver [Generic PHY] (irq=POLL)
[    6.431370] mtk_soc_eth 15100000.ethernet eth0: entered promiscuous mode

I believe this is a hardware issue now :(( Extremely disappointed, as I was finishing building my tuned openwrt image…

Maybe I can figure it out on my own?

Thanks!

serial_log_openwrt.txt (62.0 KB) serial_log_ubuntu.txt (84.2 KB)

You can try to power it down for one minute by unplugging the cable.

Are the LEDs on from the start?

This won’t help unfortunately.

Originally everything worked both on ubuntu and openwrt.

I tried booting from sd, nand, this issue persist across 4 different OS images (3 different openwrts and one official ubuntu), ethernet switch can’t calibrate during boot.

Leds are turning on during boot at the specified moment - after kernel tries to initialize ethernet switch. LEDs are only symptom of the issue, none of rj-45 ports works.