First of all, if you have another MAC (not PHY) on the other end
of the SerDes link, you should use 1000Base-KX mode, not SGMII.
The on-chip PCS in SGMII mode expects PHY autonegotiation response
rather than 1000Base-X peer response and will not complete.
Your options are:
1. Use 1000Base-KX mode. Initialization recommendations can be found in
LS1046ARM, Section 31.8.1.3. This is the preferred option.
2. Suppress autonegotiation over SGMII.
in u-Boot, SerDes initialization is done in dtsec_configure_serdes()
defined in drivers/net/fm/eth.c. Note, this code is apart from external
PHY initialization code.
Have a great day,
Platon
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------