Hi all, we have an issue with detecting ethernet connection via Lan7430 on my Jetson Orin Nano 8 GB custom board.
The board designed according the Jetson Orin Nano dev kit. We put the Lan7430 controller on C1 PCI instead of BT module.
We rebuilt the kernel by instruction Kernel Customization — NVIDIA Jetson Linux Developer Guide 1 documentation
In two ways (on host machine+flashing and on the target device).
We can see the lan7430 in pcie devices and in the ethernet devices too, drivers are also loaded. But cable connection can’t be detected.
The native Realtech connection works fine.
What are we missing?
The logs and schematic for lan7430 attached below: dmesg.log (59.1 KB) lan7430.pdf (39.8 KB) lspci.log (26.9 KB) UART.log (76.8 KB) ifconfig.log (1.6 KB)
Looks like lan743x_netdev_open has some error there. Please also check with the PHY vendor if this driver version of driver is compatible with this kernel version.
How can I check compatibility driver and kernel version? I build the kernel and module drivers from Nvidia jetpack sources.
Should I download the latest Linux kernel source, and replace lan743x source in the Nvidia Jetpack Linux kernel driver?
we had the same problem and fixed it with this device tree change but our device still has a problem that the link detection does not work. When no ethernet cable is connected it still says “yes”. Do you have the same issue?
sudo ethtool enP7p1s0
Settings for enP7p1s0:
Supported ports: [ TP MII ]
Supported link modes: 1000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 1000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Auto-negotiation: on
Port: MII
PHYAD: 0
Transceiver: external
Supports Wake-on: pumbag
Wake-on: d
Current message level: 0x00000137 (311)
drv probe link ifdown ifup tx_queued
Link detected: yes
Hi. @saber.kaygusuz and @Xennor
It seems, that this fix didn’t work for me. I still have no link detected and a call trace while phy_start lan743x.
Could you check if i apply fix properly.
I add to pcie@14100000 the following code: