Then the Ethernet port is no longer working. Kernel message shows MDIO register failure:
root@NEO2-ST0:~# dmesg | grep -i eth
[ 0.000000] psci: probing for conduit method from DT.
[ 1.661750] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[ 1.838435] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[ 1.838566] dwmac-sun8i 1c30000.ethernet: Will use external PHY
[ 1.944368] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[ 1.944381] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[ 1.944391] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[ 1.944401] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[ 1.944412] dwmac-sun8i 1c30000.ethernet: COE Type 2
[ 1.944422] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[ 1.944984] dwmac-sun8i 1c30000.ethernet: Cannot register the MDIO bus
[ 1.945003] dwmac-sun8i 1c30000.ethernet: stmmac_dvr_probe: MDIO bus (id: 0) registration failed
Any hack do I need on device tree or driver to make it work again?
BTW: Is there any way to select specific version of ARMBIAN to build? 5.36 for example. Even if I checkout the specific release tag the build scripts will always switch to master and build the latest version.
Question
nightseas
I had a NanoPi NEO2 working well with ARMBIAN 5.34.171121.
After apt-get upgrade, ARMBIAN has been changed to ARMBIAN 5.37.171208 with below firmware update:
Get:1 http://beta.armbian.com xenial/main arm64 linux-dtb-next-sunxi64 arm64 5.37.171208 [25.0 kB]
Get:2 http://beta.armbian.com xenial/main arm64 linux-image-next-sunxi64 arm64 5.37.171208 [14.7 MB]
Get:3 http://beta.armbian.com xenial/main arm64 linux-u-boot-nanopineo2-next arm64 5.37.171208 [222 kB]
Get:4 http://beta.armbian.com xenial/main arm64 linux-xenial-root-next-nanopineo2 arm64 5.37.171208 [318 kB]
Then the Ethernet port is no longer working. Kernel message shows MDIO register failure:
root@NEO2-ST0:~# dmesg | grep -i eth
[ 0.000000] psci: probing for conduit method from DT.
[ 1.661750] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[ 1.838435] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[ 1.838566] dwmac-sun8i 1c30000.ethernet: Will use external PHY
[ 1.944368] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[ 1.944381] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[ 1.944391] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[ 1.944401] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[ 1.944412] dwmac-sun8i 1c30000.ethernet: COE Type 2
[ 1.944422] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[ 1.944984] dwmac-sun8i 1c30000.ethernet: Cannot register the MDIO bus
[ 1.945003] dwmac-sun8i 1c30000.ethernet: stmmac_dvr_probe: MDIO bus (id: 0) registration failed
Any hack do I need on device tree or driver to make it work again?
BTW: Is there any way to select specific version of ARMBIAN to build? 5.36 for example. Even if I checkout the specific release tag the build scripts will always switch to master and build the latest version.
Thanks & BR,
Xiaohai Li
Link to comment
Share on other sites
12 answers to this question
Recommended Posts