mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Bareox mv88e6xxx switch driver not working properly
@ 2020-02-24 14:37 曹煜
  2020-02-26  7:19 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: 曹煜 @ 2020-02-24 14:37 UTC (permalink / raw)
  To: barebox

[-- Attachment #1: Type: text/plain, Size: 892 bytes --]

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@72004.of: powerdown, no link
    mdio0-phy16: f1072004.mdio@72004.of: 10 Mbit, half duplex, no link
    mdio1-phy00: f1072004.mdio@72004:switch0@0.of: powerdown, no link
    mdio1-phy01: f1072004.mdio@72004:switch0@0.of: powerdown, no link
    mdio1-phy02: f1072004.mdio@72004:switch0@0.of: powerdown, no link
    mdio1-phy03: f1072004.mdio@72004:switch0@0.of: powerdown, no link
    mdio1-phy04: f1072004.mdio@72004:switch0@0.of: powerdown, no link

The attachment is the device tree of my box, the switch is working
properly on kernel 4.19 and above.
Can you give some suggestions for me? Thanks. Regards.

[-- Attachment #2: armada-370-rtnasv3_dsa.dts --]
[-- Type: audio/vnd.dts, Size: 5977 bytes --]

[-- Attachment #3: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bareox mv88e6xxx switch driver not working properly
  2020-02-24 14:37 Bareox mv88e6xxx switch driver not working properly 曹煜
@ 2020-02-26  7:19 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2020-02-26  7:19 UTC (permalink / raw)
  To: 曹煜; +Cc: barebox

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@72004.of: powerdown, no link
>     mdio0-phy16: f1072004.mdio@72004.of: 10 Mbit, half duplex, no link
>     mdio1-phy00: f1072004.mdio@72004:switch0@0.of: powerdown, no link
>     mdio1-phy01: f1072004.mdio@72004:switch0@0.of: powerdown, no link
>     mdio1-phy02: f1072004.mdio@72004:switch0@0.of: powerdown, no link
>     mdio1-phy03: f1072004.mdio@72004:switch0@0.of: powerdown, no link
>     mdio1-phy04: f1072004.mdio@72004:switch0@0.of: 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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-26  7:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-24 14:37 Bareox mv88e6xxx switch driver not working properly 曹煜
2020-02-26  7:19 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox