mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: 曹煜 <cao88yu@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: Bareox mv88e6xxx switch driver not working properly
Date: Wed, 26 Feb 2020 08:19:39 +0100	[thread overview]
Message-ID: <20200226071939.GV3335@pengutronix.de> (raw)
In-Reply-To: <CACu-5+2Hndx7O390+W_hp4EMqeOYNb2TNUN_VLe3AgR56_cZzA@mail.gmail.com>

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

      reply	other threads:[~2020-02-26  7:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-24 14:37 曹煜
2020-02-26  7:19 ` Sascha Hauer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200226071939.GV3335@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=cao88yu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox