lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e7312a29-83cc-43b3-b1ab-ce2d0e5b58b5@lunn.ch>
Date: Tue, 29 Jul 2025 16:07:43 +0200
From: Andrew Lunn <andrew@...n.ch>
To: gwoodstccd <gwoodstccd@...tonmail.com>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: xilinx xgmiitorgmii couldn't find phydev

On Tue, Jul 29, 2025 at 09:40:24AM +0000, gwoodstccd wrote:
> Hello,
> 
> I'm newbie for netdev.
> 
> Xilinx's ZynqMP GEM2 uses EMIO and gmii2rgmiii converter for PHY connections. Hardware guys confirmed it can work under bare metal mode.
> But GEM2 is reported 'xgmiitorgmii Couldn't find phydev' error during kernel boot, and ping command failed.
> 
> Could some nice guy help me to fix this issue? Thanks in advance.
> 
> the kerner version is 6.12, the kernel is from 
> https://github.com/Xilinx/linux-xlnx/releases/tag/xilinx-v2025.1
> 
> [    7.285666] xgmiitorgmii ff0d0000.ethernet-ffffffff:08: Couldn't find phydev
> [    7.292490] macb ff0d0000.ethernet eth2: Cadence GEM rev 0x50070106 at 0xff0d0000 irq 47 (00:0a:35:00:01:22)
> [   33.315143] macb ff0d0000.ethernet eth2: unable to generate target frequency: 25000000 Hz
> 
> device tree is 
> 
> &gem2 {
>     phy-handle = <&extphy0>;

I've never used this converter myself, but try having phy-handle point
to the converter, not the PHY.

>     xlnx,has-mdio = <0x1>;
>     local-mac-address = [00 0a 35 00 01 22];
>     status="okay";
>     phy-mode = "gmii";
>     fixed-link {
>         speed = <100>;
>         full-duplex;
>     };

I don't think you need a fixed-link. The converter should be able to
report the link speed of the PHY.

	Andrew

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ