AQR113C doesn't work after firmware installed

We have a modified AQR113C driver that is able to download firmware and we have been able to verify that the download is successful, but post-download the driver fails with the error:

[ 50.320993] nvethernet 6800000.ethernet: [xpcs_lane_bring_up][470][type:0x4][loga-0x0] Failed to get PCS block lock

We have tried the 5.6.1 firmware that Marvell makes available, and also several different pre-provisioned versions of 5.6.7 (as well as the generic 5.6.7). We see the same message no matter which version we use.

Can someone at nvidia provide the provisioning details for the firmware that is programmed into the devkit?

Thanks.

please check the pinmux setting is correct as the document first.

We have reviewed the pinxmux several times for correctness, and we are confident that any configurable pins connected to the AQR113C have been set up correctly. We are able to communicate with the chip via MDIO - our driver is able to download the firmware over MDIO and verify that the checksums are correct, so that communication is not in question.

There is one thing in our design that might be a part of this problem: the polarity of the UPHY RX6 and TX6 lines are swapped (ie Rx_P is connected to Tx_N). The Orin Design Guide states explicitly for USB and PCIe that “polarity inversion (P/N swapping) is supported”, but is is silent on this matter for the MGBE. If polarity inversion is NOT supported, and the error shown earlier is with regards to communication over that interface, then that would explain our problem. Can you shed some light on these questions?

Thanks.

Yes, MGBE does not support this swapped polarity.

Just to confirm - the swapped pins are the likely cause of this error that we are seeing?

Lots of reasons could lead to this. This is just a very general error log and most of users who hit this error is due to wrong pinmux setting.