I recently bought a Honeycomb LX2K board and am unable to get the RJ45 ethernet port running. The four 10G SFP+ ethernet ports (dpmac{7…10}) work just fine.
The kernel spits out errors trying to probe the interface:
[ 7.671288] fsl_dpaa2_eth dpni.0: Adding to iommu group 1
[ 8.438928] fsl_dpaa2_eth dpni.0 (unnamed net_device) (uninitialized): phylink_fwnode_phy_connect() = -110
[ 8.448578] fsl_dpaa2_eth dpni.0 (unnamed net_device) (uninitialized): Error connecting to the MAC endpoint: -ETIMEDOUT
[ 8.782403] fsl_dpaa2_eth dpni.0: fsl_mc_driver_probe failed: -110
[ 8.788585] fsl_dpaa2_eth: probe of dpni.0 failed with error -110
Do i need additional patches to mainline stable kernels to get this port up?
UPDATE:
I built a kernel (5.18.2-cex7-arm64) with sources from branch linux-5.18.y-cex7 from the SolidRun linux-stable GitHub repository. No difference with the RJ45 ethernet port, but at least the SD card and the eMMC now get detected by the OS. Kernel still reports:
[ 9.052559] fsl_dpaa2_eth dpni.0 (unnamed net_device) (uninitialized): phylink_fwnode_phy_connect() = -110
[ 9.062211] fsl_dpaa2_eth dpni.0 (unnamed net_device) (uninitialized): Error connecting to the MAC endpoint: -ETIMEDOUT
[ 9.378591] fsl_dpaa2_eth dpni.0: fsl_mc_driver_probe failed: -110
[ 9.384772] fsl_dpaa2_eth: probe of dpni.0 failed with error -110
Currently i have set CONFIG_AT803X_PHY=m in my kernel config. Module is loaded and shows up in lsmod output. Does it need to be baked into the kernel so it is available during early initialization?
The MC firmware on the board is a bit outdated. Is there some way i can flash the new 10.34.0 firmware release to the MC from linux or the sd card and see if that helps?
That firmware is built into the edk2 firmware file. However it would only change compatiblity with the SFP+ functionality. The RJ45 has proven to be functional with all previous versions of the firmware. The issue you are seeing has nothing to do with the network packet processor, it is the fact that your PHY is not being discovered on the mdio bus.
My co-worker found the issue. Capacitor C119 was missing on Board (never soldered on in factory). Unfiltered Voltage regulator output peaking at ~3.5V destroyed the PHY chip on the SOM.