Hi lupo,
I solved as hardware by connecting the 50MHz oscillator output to pin 9 of the PHY and pin SODIMM 88 of the Colibri module.
Besides modifying the device tree I pull-up the MDIO line with 1k2 Ohm to Vcc and pull-down the MDC line with 4k7 Ohm to GND as suggested by jaski.tx.
Also in my PCB pin 2 (VPLL1.8V) of KSZ8041 was connected to pin 3 (Vcc3V3). Disconnected the pins and replaced the KSZ8041 chip now the harware seems to work.
[ 5.834507] Micrel KSZ8041 30bf0000.ethernet-2:01: attached PHY driver [Micrel KSZ8041] (mii_bus:phy_addr=30bf0000.ethernet-2:01, irq=-1)
[ 5.850685] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 8.955228] fec 30bf0000.ethernet eth1: Link is Up - 100Mbps/Full - flow control rx/tx
[ 8.963207] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
However, there are further problems.
At the start the DHCP service can’t assign an IP address to the eth1 interface as see with ifconfig;
but anyway AdvancedIPScanner finds two sessions associated with the COLIBRI module (colibri-hw2)
If I open two SSH sessions with putty (one on eth0 and one on eth1) and run htop, I can see the data correctly.
If I disconnect the eth0 ethernet cable, both SSH sessions stop, and the SSH session resume them if I reconnect the lan cable.
If I unplug the eth1 ethernet cable, the data of the two SSH sessions continue to arrive: it seems that the data pass only on eth0.
I’m investigating, and if I find any solutions, I’ll let you know.
but if you’ve got any ideas about this problem or some test to make, you’re always welcome.
best regards