Hi,
I have tested the flashing procedure as described in this commit.
It worked as expected.
The PHY worked after a power cycle.
What's disappointing is that the PHY refused to work after a reboot.
What I have noted was the following line before connecting to the phy via MDIO.
[ 6.767593] ag71xx: max retries for SGMII fixup exceeded
[ 7.493274] mdio_bus mdio.0: MDIO device at address 4 is missing.
[ 7.532477] ag71xx 19000000.eth: connected to PHY at mdio.0:06 [uid=001cc916, driver=RTL8211F Gigabit Ethernet]
The SGMII fixup retry takes nearly 6.5s instead of 1s. As I learned from the corresponding code, this fixup tries to reset the PHY, which does not work.
What I have tried so far
- Removing
reset-gpios
from PHY@6. - Removing
qca956x-serdes-fixup;
- Combination of both
- I tried with a 1 GBit Connection
In the datasheet of the PHY (RTL8211FS) there is a software reset possibility shown in Register 0.15 .
But I don't know if the soft reset would work in this state.