PINE64
Ethernet regression on Linux Kernel 6.5.4? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=98)
+--- Forum: Linux on RockPro64 (https://forum.pine64.org/forumdisplay.php?fid=101)
+--- Thread: Ethernet regression on Linux Kernel 6.5.4? (/showthread.php?tid=18732)



Ethernet regression on Linux Kernel 6.5.4? - Deathcrow - 09-21-2023

Today I tried upgrading my board to the 6.5 series kernel and it seems eth0 no longer shows up.

the typical "rk_gmac-dwmac" dmesg entries don't show up at all.

Anyone else facing this issue? This is a headless system and debugging via UART isn't much fun, so I've booted back into the working 6.4 kernel.


RE: Ethernet regression on Linux Kernel 6.5.4? - Deathcrow - 09-21-2023

Well, turns out a kernel option was renamed

-CONFIG_MFD_RK808=y
+CONFIG_MFD_RK8XX=y

Since it defaults to 'n' it got accidentally deselected and broke things. Built kernel with CONFIG_MFD_RK8XX and everything is fine again.


RE: Ethernet regression on Linux Kernel 6.5.4? - foresto - 09-22-2023

Thanks for posting the solution!


RE: Ethernet regression on Linux Kernel 6.5.4? - diederik - 09-22-2023

(09-21-2023, 02:16 PM)Deathcrow Wrote: Well, turns out a kernel option was renamed

-CONFIG_MFD_RK808=y
+CONFIG_MFD_RK8XX=y

Since it defaults to 'n' it got accidentally deselected and broke things. Built kernel with CONFIG_MFD_RK8XX and everything is fine again.

FTR: You actually need MFD_RK8XX_I2C (which depends on MFD_RK8XX)

The split/rename was because there's now also a MFD_RK8XX_SPI (for rk3588). Previously there was only the I2C interface.