debug tools for mdio

is there any debug tools for marvell phy on jetson agx xavier board?
the eth0 link is not up in my board. It seems I need check the mdio registers. However I didn’t found a suitable debug tool.
Could you please recommend one or is there any legacy tool in your release package?

Hi, please refer to application note first:

I tested the tools. It worked and helped a lot for debugging.
Thanks a lot