Hi,
We are using an i.MX8QXP SoM and have built the OS image with the following configuration:
Our setup includes two Ethernet ports, and both function properly when auto-negotiation is enabled via the ethtool command if connected over router or a ethernet switch.
Laptops ethernet port works fine and we are already accesing our other devices like imx6,imx8mp,etc by directly connecting the ethernet cable to laptops ethernet port.
The issue arises when trying to connect the board directly to a laptop using an Ethernet cable:
No link is detected. The Ethernet LEDs on the laptops ethernet port do not turn on.
We've tried static IP configuration on both the board and the laptop (same gateway and netmask), but the problem persists.
However, when the board is connected to a router or switch, the link is established immediately, and we're able to access the board successfully, whether using static IP or DHCP.
Since our device is intended for deployment in environments where adding an external router or switch (and its associated power supply) is not feasible, it's important that we can establish a direct Ethernet connection to a laptop.
We’re looking to understand why the link is not detected when connected directly to a laptop, and how to resolve this.
Below is thee ethtool info when it's connected to Laptop directly.
ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half
Supported pause frame use: Symmetric
Supports auto-negotiation: No
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half
Advertised pause frame use: Symmetric
Advertised auto-negotiation: No
Advertised FEC modes: Not reported
Speed: Unknown!
Duplex: Unknown! (255)
Auto-negotiation: on
Port: MII
PHYAD: 7
Transceiver: external
Supports Wake-on: g
Wake-on: d
Link detected: no
Regards,
Adnan