Verdin iMX8M Plus Quad 8GB WB V1.0A
Linux BSP 5.7.0
I am looking for a way to read the link and speed of the Ethernet port.
Is there something equivalent to ethtool already included in the Linux build to verify the link and speed of the Ethernet port?
ethtool is available in our BSP 5.7 Multimedia image, but not in our Minimal image.
If you want to add it to your custom image, the recipe is already available under
$ fd -t f ethtool
IMAGE_INSTALL_append = " ethtool" to your Yocto configuration should be enough to add it to your custom image.
One quick note, it’s also possible to get some information about your connection under
/proc/net, although using
ethtool should be better in your case.
If my answer helped you, can you please mark it as “solved” so we can close it?
Feel free to ask any questions that you might have.
Thank you for the follow up.
This issue is solved, it is OK to close it.