Hi,
I have compiled an image using yocto for the iMX95 Aquila Development Board, building upon this example with a realtime kernel and building the reference-minimal-image provided by Toradex. The device trees used seem to include also the ethernet ports, but ethernet port 2 (end1) is missing when I type ip link.
I found these kernel logs that show that the MDIO dev cannot be created:
[ 0.243263] fsl_enetc_mdio 0003:01:00.0: Cannot get IERB init status: -517
[ 0.301075] ptp_netc 0002:00:18.0: enabling device (0000 -> 0002)
[ 0.407762] fsl_enetc_mdio 0003:01:00.0: enabling device (0000 -> 0002)
[ 1.633806] imx6q-pcie 4c300000.pcie: Phy link never came up
[ 2.635045] imx6q-pcie 4c300000.pcie: Phy link never came up
[ 7.047921] optee: probing for conduit method.
[ 7.246866] fsl_enetc4 0002:00:00.0: Adding to iommu group 5
[ 7.351703] fsl_enetc4 0002:00:00.0: enabling device (0000 -> 0002)
[ 7.518289] fsl_enetc4 0002:00:10.0: Adding to iommu group 6
[ 7.628434] fsl_enetc4 0002:00:10.0: enabling device (0000 -> 0002)
[ 7.650376] fsl_enetc4 0002:00:00.0 end0: renamed from eth0
[ 8.139643] mdio_bus 0002:00:10.0-imdio:10: Polling timeout, line: 395
[ 8.149691] fsl_enetc4 0002:00:10.0: cannot create xpcs mdiodev (-19)
[ 8.150058] fsl_enetc4 0002:00:10.0: Failed to create MDIO bus
I have tried several things, including changing the device tree but none of these seem to work. What could be something else to try? I am expecting the supplied device trees for this development board to work out of the box, so that is why I’m hestitant to put a lot of time in figuring this out before asking here. Thanks in advance!