Microchip-Ethernet / EVB-KSZ9897

EVB-KSZ9897 (LAN7801+KSZ9897) Software
26 stars 20 forks source link

Ubuntu image "no phy driver found" #2

Open ljosey opened 7 years ago

ljosey commented 7 years ago

The Ubuntu image provided does not work for me, following the posted instructions (Microchip website), when I plug in the USB nothing happens, and I cannot find the board, if I run dmesg, I see the following:

73.795906] usb 2-1: new SuperSpeed USB device number 3 using xhci_hcd [ 73.812132] usb 2-1: New USB device found, idVendor=0424, idProduct=7801 [ 73.812135] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 73.882156] libphy: lan78xx-mdiobus: probed [ 73.882274] lan78xx 2-1:1.0 eth1: no PHY driver found [ 73.899862] lan78xx: probe of 2-1:1.0 failed with error -5 [ 73.899874] usbcore: registered new interface driver lan78xx

The board works fine in windows.

stansage commented 6 years ago

same problem on yocto with kernel 4.12

diegosueiro commented 6 years ago

Did anyone manage to solve this?

Nuno-VB commented 3 years ago

I'm having the same problem, on a RaspberryPI CM3. Tried several kernel versions from 4.4 to 5.10, all report having the microchip phy driver, but none work. Does anyone have a clue on this?

Moatasem-Elsayed commented 3 weeks ago

I have same problem after reading the document here from linux source kernel-source/Documentation/devicetree/bindings/net/microchip,lan78xx.txt it seems that there is away to override that through device tree but unfortunatelystill able to manage to fix it so anyone did it?

Nuno-VB commented 3 weeks ago

In the EVB board I never managed to have it working, however, when our own designed board came, it just worked without any kernel change. Go figure...

Moatasem-Elsayed commented 3 weeks ago

I managed to make it works, just small patch from kernel maybe I will upload that for you if you needed