[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOMZO5AdPZfQQEfSgW-Cgw2GySerc0oxUu4OEcQoxwVeB+wQWg@mail.gmail.com>
Date: Wed, 21 Jun 2023 16:44:38 -0300
From: Fabio Estevam <festevam@...il.com>
To: Andrew Lunn <andrew@...n.ch>, Vladimir Oltean <olteanv@...il.com>
Cc: netdev <netdev@...r.kernel.org>
Subject: imx8mn with mv88e6320 fails to retrieve IP address
Hi,
On an imx8mn-based board with a mv88e6320 switch, an IP address can be
retrieved just fine in most of the cases.
However, when using an external Trendnet switch, it is not possible to
retrieve an IP address via DHCP. Using a static IP address works fine
though.
When DHCP works, ethtool reports:
# ethtool eth1
Settings for eth1:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Auto-negotiation: on
master-slave cfg: preferred master
master-slave status: slave
Port: MII
PHYAD: 3
Transceiver: external
Supports Wake-on: d
Wake-on: d
Link detected: yes
When the Trendnet switch is used, DHCP fails and ethtool reports just
these lines differently:
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Link partner advertised pause frame use: Symmetric
Other PCs can retrieve IP addresses via DHCP through the Trendnet
switch correctly, but the imx8mn board fails.
Would you have any suggestions for debugging this problem?
Thanks,
Fabio Estevam
Powered by blists - more mailing lists