-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Copy link
Labels
bugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: NXPNXPNXPpriority: mediumMedium impact/importance bugMedium impact/importance bug
Description
Describe the bug
mimxrt1170_evk_cm7 100M enet does not work. tx/rx timeout
Please also mention any information which could help others to understand
the problem you're facing:
- What target platform are you using?
- mimxrt1170_evk_cm7
- What have you tried to diagnose or workaround this issue?
- git bisect
- Is this a regression? If yes, have you been able to "git bisect" it to a
specific commit?
e9047431526e9a738a60f669a1a075b4656f8945 is the first bad commit
commit e9047431526e9a738a60f669a1a075b4656f8945
Author: Declan Snyder <[email protected]>
Date: Fri Oct 4 16:46:24 2024 -0500
ethernet: phy_mc_ksz8081: Don't reset in cfg link
No need to reset in cfg link, this was blocking system workqueue during
phy callbacks that call cfg link, since this happens from monitor work
handler which is in the system workqueue.
Signed-off-by: Declan Snyder <[email protected]>
drivers/ethernet/phy/phy_microchip_ksz8081.c | 6 ------
1 file changed, 6 deletions(-)
To Reproduce
west update
west build -b mimxrt1170_evk/mimxrt1176/cm7 samples/net/dhcpv4_client/ -p always
west flash --runner=linkserver --probe="JTAQCQAR"
console log
*** Booting Zephyr OS build v3.7.0-4110-ge9047431526e ***
[00:00:02.912,000] <inf> net_dhcpv4_client_sample: Run dhcpv4 client
[00:00:02.913,000] <inf> net_dhcpv4_client_sample: Start on ethernet: index=1
uart:~$ net iface
Interface eth0 (0x80000d60) (Ethernet) [1]
===================================
Link addr : 02:04:9F:8D:05:5C
MTU : 1500
Flags : AUTO_START,IPv4
Device : ethernet (0x3001f650)
Ethernet capabilities supported:
TX checksum offload
RX checksum offload
10 Mbits
100 Mbits
MAC address filtering
Ethernet PHY device: phy@0 (0x3001f63c)
Ethernet link speed: 100 Mbits full-duplex
IPv4 unicast addresses (max 1):
<none>
IPv4 multicast addresses (max 2):
224.0.0.1
IPv4 gateway : 0.0.0.0
DHCPv4 lease time : 0
DHCPv4 renew time : 0
DHCPv4 server : 0.0.0.0
DHCPv4 requested : 0.0.0.0
DHCPv4 state : selecting
DHCPv4 attempts : 1
uart:~$ net iface
Interface eth0 (0x80000d60) (Ethernet) [1]
===================================
Link addr : 02:04:9F:8D:05:5C
MTU : 1500
Flags : AUTO_START,IPv4
Device : ethernet (0x3001f650)
Ethernet capabilities supported:
TX checksum offload
RX checksum offload
10 Mbits
100 Mbits
MAC address filtering
Ethernet PHY device: phy@0 (0x3001f63c)
Ethernet link speed: 100 Mbits full-duplex
IPv4 unicast addresses (max 1):
<none>
IPv4 multicast addresses (max 2):
224.0.0.1
IPv4 gateway : 0.0.0.0
DHCPv4 lease time : 0
DHCPv4 renew time : 0
DHCPv4 server : 0.0.0.0
DHCPv4 requested : 0.0.0.0
DHCPv4 state : selecting
DHCPv4 attempts : 5
Expected behavior
[00:00:03.411,000] <inf> phy_mc_ksz8081: PHY 0 is up
[00:00:03.411,000] <inf> phy_mc_ksz8081: PHY (0) Link speed 100 Mb, full duplex
*** Booting Zephyr OS build v3.7.0-4109-gf90b1caae4f9 ***
[00:00:03.412,000] <inf> net_dhcpv4_client_sample: Run dhcpv4 client
[00:00:03.413,000] <inf> net_dhcpv4_client_sample: Start on ethernet: index=1
[00:00:11.423,000] <inf> net_dhcpv4: Received: 192.168.1.230
[00:00:11.423,000] <inf> net_dhcpv4_client_sample: Address[1]: 192.168.1.230
[00:00:11.423,000] <inf> net_dhcpv4_client_sample: Subnet[1]: 255.255.255.0
[00:00:11.423,000] <inf> net_dhcpv4_client_sample: Router[1]: 192.168.1.1
[00:00:11.423,000] <inf> net_dhcpv4_client_sample: Lease time[1]: 43200 seconds
Impact
100M function
Environment (please complete the following information):
- OS: (e.g. Linux)
- Toolchain (e.g Zephyr SDK, ...): 0.17.0-rc1
- Commit SHA or Version used: v3.7.0-4578-g829c03bcdca
Additional context
1G port is ok, mimxrt1060_evk is ok as well. this only happens on rt1170_evk 100M port
Metadata
Metadata
Assignees
Labels
bugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: NXPNXPNXPpriority: mediumMedium impact/importance bugMedium impact/importance bug