Couldn't attach the PHY error -19 for Triple Speed Ethernet IP in Quartus Prime
Dear Team,
We have two FPGA Boards,
1. Intel Cyclone V Based FPGA Custom Board.
2. Zynq Ultrascale+ MPSoC Based FPGA Custom Board.
We want a communication through Ethernet protocol between these two Boards through Backplane connector. We don't have Physical PHY on both boards. We want soft PCS/PMA with MAC everything inside design.
For this, we implemented ethernet design in Zynq Ultrascale+ MPSoC. ( We don't have any problem here).
But for Intel Cyclone V FPGA, we tried to use the
Triple Speed Ethernet IP for Transceiver Options as GXB, that means in 1000Base-X mode and we used MAC with PCS/PMA option inside this TSE IP. And we mapped the differential transceiver lines of this TSE IP to a backplane connector, so that we can connect that board to Zynq Ultrascale+ MPSoC FPGA board in backplane connector and tried to perform Ping test.
But after making design in Quartus Prime for Intel Cyclone V, we tried by booting the board, but eth is not detecting under "ifconfig" in Intel.
We are seeing the following error.
root@socfpga:~# dmesg | grep tse
[ 3.240447] altera_tse c0004000.ethernet: Altera TSE MAC version 16.0 at 0xc0004000 irq 104/72
[ 3.247835] altera_tse c0004000.ethernet eth1: Could not find the PHY
[ 3.247843] altera_tse c0004000.ethernet eth1: Cannot attach to PHY (error: -19)
Also, we tried with fixed-link entry in the device tree instead of phy handle. But still the driver is looking for phy handle and observed the following error.
root@socfpga:~# dmesg | grep tse
[ 2.956521] altera_tse c0004000.ethernet: Altera TSE MAC version 16.0 at 0xc0004000 irq 104/72
[ 2.964735] altera_tse c0004000.ethernet eth1: No phy-handle nor local mdio specified
[ 2.971242] altera_tse c0004000.ethernet eth1: Cannot attach to PHY (error: -19)
For your information, we are trying this TSE with soft PCS PMA (no Physical PHY). We doubt this TSE driver (in kernel 3.10) supports soft phy configuration or not.
We are attaching the .dts and this error screenshot.
Please kindly review this and guide us to eliminate this Couldn't attach PHY problem in Intel Cyclone V fpga with TSE IP and to detect the eth under ifconfig, which will be supported for ping test on further.
Regards
Venkatesh