netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcin Wojtas <marcin.s.wojtas@gmail.com>
To: Zoo Moo <zoomoo100@proton.me>
Cc: "Russell King (Oracle)" <linux@armlinux.org.uk>,
	 "netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: Marvell 375 and Marvel 88E1514 Phy network problem: mvpp2 or DTS related?
Date: Sat, 11 Oct 2025 10:27:24 +0200	[thread overview]
Message-ID: <CAHzn2R3+ow2fJfiZ6Wfd+WMBkEDcgxAR19EtJefrgWWOCniwLg@mail.gmail.com> (raw)
In-Reply-To: <fw_IlfASLLWC-FISSL4_CyGBtQ4GIHUyP2yekbr82wpiTNryNcql8NAqEdY37qE8AlZjMe4fLdo7I0yYsBaZpYhwB8Eq8GVxYNLUgcTjI7s=@proton.me>

Hi ZM,

Have you checked pinctrl settings? The MDIO looks like properly
working, so I'd double-check if the pins that are assigned to RGMII in
U-Boot (I assume the interface works there), are not overriden by e.g.
wrong device tree configuration in kernel.

Best regards,
Marcin


śr., 1 paź 2025 o 05:05 Zoo Moo <zoomoo100@proton.me> napisał(a):
>
> On Wednesday, September 24th, 2025 at 11:33 AM, Zoo Moo <zoomoo100@proton.me> wrote:
> >
>
> > On Monday, 22 September 2025 at 19:22, Russell King (Oracle) linux@armlinux.org.uk wrote:
> >
>
> > > On Mon, Sep 22, 2025 at 08:58:49AM +0000, Zoo Moo wrote:
> > >
>
> > > > Sent with Proton Mail secure email.
> > > >
>
> > > > On Sunday, 21 September 2025 at 19:56, Russell King (Oracle) linux@armlinux.org.uk wrote:
> > > >
>
> > > > > On Sun, Sep 21, 2025 at 09:05:18AM +0000, Zoo Moo wrote:
> > > >
>
> > > > > > Hi,
> > > >
>
> > > > > > Bodhi from Doozan (https://forum.doozan.com) has been helping me try to get Debian to work on a Synology DS215j NAS. The DS215j is based on a Marvell Armada 375 (88F6720) and uses a Marvel 88E1514 PHY.
> > > >
>
> > > > > Probably wrong RGMII phy-mode. I see you're using rgmii-id. Maybe that
> > > > > isn't correct. Just a guess based on the problems that RGMII normally
> > > > > causes.
> > > >
>
> > > > Hi Russell,
> > > >
>
> > > > Thanks, we did try different drivers (gmii, sgmii), but they didn't help, details in this message https://forum.doozan.com/read.php?2,138851,139291#msg-139291.
> > >
>
> > > What I was meaning was not to try stuff like "SGMII", but try the other
> > > three flavours of RGMII. In other words:
> > >
>
> > > rgmii
> > > rgmii-txid
> > > rgmii-rxid
> > >
>
> > > If u-boot works, and it's using RGMII, then it's definitely one of the
> > > four flavours of RGMII interface.
> > >
>
> > > No need to post the failures of the testing to the forums - just say
> > > here whether any of those result in packet flow or not. Nothing else
> > > should change - the only difference between these modes are the timings
> > > of the RGMII interface, and having the wrong mode is the most common
> > > reason for RGMII not working.
> > >
>
> > > Thanks.
> > >
>
> > > --
> > > RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
> > > FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
> >
>
> >
>
> > Thanks Russel,
> >
>
> > I tried all flavours again (rgmii, rgmii-id, rgmii-txid and rgmii-rxid), but all resulted in the same outcome.
> >
>
> > ifconfig shows it sends packets, but nothing is received. I cannot detect it actually sending any packets from the device though.
> >
>
> > For example:
> >
>
> > root@(none):~# ifconfig eth0 192.168.27.111 netmask 255.255.255.0 up hw ether 00:11:22:33:44:55
> > [ 31.727773][ T2055] mvpp2 f10f0000.ethernet eth0: PHY [f10c0054.mdio-mii:01] driver [Marvell 88E1510] (irq=POLL)
> > [ 31.738178][ T2055] mvpp2 f10f0000.ethernet eth0: configuring for phy/rgmii-txid link mode
> > [ 36.007360][ T10] mvpp2 f10f0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
> >
>
> > root@(none):~# dhclient eth0
> > root@(none):~# ifconfig eth0
> > eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
> >
>
> > inet 192.168.27.111 netmask 255.255.255.0 broadcast 192.168.27.255
> > inet6 <IP6 ADDRESS> prefixlen 64 scopeid 0x20<link>
> >
>
> > ether 00:11:22:33:44:55 txqueuelen 2048 (Ethernet)
> > RX packets 0 bytes 0 (0.0 B)
> > RX errors 0 dropped 0 overruns 0 frame 0
> > TX packets 71 bytes 4858 (4.7 KiB)
> > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
> >
>
> > Do I need to adjust the internal delays? rx-internal-delay-ps/tx-internal-delay-ps
> >
>
> > (reference: https://www.thegoodpenguin.co.uk/blog/linux-ethernet-phy-mode-bindings-explained/)
> >
>
> > Is it something we can determine by looking at the Synology kernel source?
>
>
> Hi,
>
> Any other suggestions I could try to debug this issue?
>
> Appreciate any suggestions.
>
> Cheers,
> ZM

  reply	other threads:[~2025-10-11  8:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-21  9:05 Marvell 375 and Marvel 88E1514 Phy network problem: mvpp2 or DTS related? Zoo Moo
2025-09-21  9:56 ` Russell King (Oracle)
2025-09-22  8:58   ` Zoo Moo
2025-09-22  9:22     ` Russell King (Oracle)
2025-09-24  1:33       ` Zoo Moo
2025-10-01  3:05         ` Zoo Moo
2025-10-11  8:27           ` Marcin Wojtas [this message]
2025-10-13 11:43             ` Zoo Moo

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=CAHzn2R3+ow2fJfiZ6Wfd+WMBkEDcgxAR19EtJefrgWWOCniwLg@mail.gmail.com \
    --to=marcin.s.wojtas@gmail.com \
    --cc=linux@armlinux.org.uk \
    --cc=netdev@vger.kernel.org \
    --cc=zoomoo100@proton.me \
    /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;
as well as URLs for NNTP newsgroup(s).