Hi NXP Support,
I am struggling with the LS1088ARDB development board. Using the default configuration for the yocto build for the board I can get networking operational. However, ETHTOOL Reports the link status as yes always regardless if an ethernet cable is plugged in or not.
- Boot Up
- Run `ethtool eth0`, link detected reports yes with no ethernet port plugged in.
Settings for eth0:
Supported ports: [ ]
Supported link modes: Not reported
Supported pause frame use: No
Supports auto-negotiation: No
Supported FEC modes: Not reported
Advertised link modes: Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
Advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Auto-negotiation: off
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
MDI-X: Unknown
Link detected: yes
We need a way to know what ports have physical cables plugged in, as well as udev rules that trigger when cables are plugged in and removed. udev is not reporting any driver state changes on cables being plugged in.
Regards
Mike
you can check it at MAC level, please use the next command:
restool dpmac info dpmac.<mac number>
To determine what macs you have execute:
ls-listni
please let me know the results
try to use the command
$ ip monitor all
it is used to get real time link state.
please check the info in the next link, it could help with your objetive
Hi LFGP,
Thank you for the help, however, I tried the command, it only works with DPMAC2 this is also the only port ethtool works on. DPMAC3-10 does not report at all with that command there is no output.
Regards
Mike