Hi, On Mon, Feb 24, 2020 at 10:37:12PM +0800, 曹煜 wrote: > Hello, > I have an armada 370 box, and it's using the marvell 88e6171r > switch, I'm trying to port barebox to this box. > But the mv88e6xxx driver not working properly on my box, below is > the miitool output: > > barebox@Marvell Armada 370/XP:/ miitool > mdio0-phy15: f1072004.mdio@xxxxxxxx: powerdown, no link > mdio0-phy16: f1072004.mdio@xxxxxxxx: 10 Mbit, half duplex, no link > mdio1-phy00: f1072004.mdio@72004:switch0@xxxx: powerdown, no link > mdio1-phy01: f1072004.mdio@72004:switch0@xxxx: powerdown, no link > mdio1-phy02: f1072004.mdio@72004:switch0@xxxx: powerdown, no link > mdio1-phy03: f1072004.mdio@72004:switch0@xxxx: powerdown, no link > mdio1-phy04: f1072004.mdio@72004:switch0@xxxx: powerdown, no link Try a few more -v options to miitool, it will then print the register dumps. You could compare them to a working Linux. Otherwise it also might be the interaction of the ethernet driver with the switch driver. The barebox version of the switch driver is very basic, it might well be that there's something missing. Sorry, it's hard to be more specific here... Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox