Hello MicroZed Users,
Thanks to some valuable technical contributions from user shmoe there has been some resolution to the behavior of the Ethernet LEDs on the out-of-box Linux images as well as the PetaLinux images.
To summarize, for new Linux reference designs/tutorials we will start standardizing upon the following PHY init string across our MicroZed and PicoZed platforms from here on out:
marvell,reg-init = <3 16 0xff00 0x30 3 17 0xfff0 0x0>;
This string is used within the devicetree to initialize the Marvel PHY MDIO control registers and set the behavior of the LEDs on the Ethernet RJ-45 connector (J1):
This will give us the following behavior on the RJ-45 LEDs:
led[1] (green):
ON - TX/RX activity
OFF – No activity
led[0] (amber):
ON - Link established
OFF - No link
ON - Link established
OFF - No link
This is related to an older post where there is some further explanation on what the init string is doing:
We think that this LED behavior will be useful since it will visually report something more meaningful about the state of the Ethernet link and traffic than what we have today. If there are any comments or concerns, please let us know.
Regards,
-Kevin