Hello,
I am working on one project where I have to log the data from device (like PC) to the Lx2160 ARDB board.
Data coming from PC is at 1Gps speed and I want to log the data at DPMAC3 and DPMAC4 which is by default configured at 10Gbps.
So here I want to auto negotiate the DPMAC3 and DPMAC4 port to 1Gbps speed. But it Is not happening. can anyone please help me here?
I know that we have two port (DPMAC17 and DPMAC18) for 1Gbps speed also but for my project I am using these two ports for some other purpose.
I have done below steps to verify this-
dprc.1/dpni.1 (interface: eth0, end point: dpmac.3)
dprc.1/dpni.0 (interface: eth1, end point: dpmac.17)
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: 10000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Link detected: yes
This always configured as 10Gbps speed.
I have tried to change the speed and other parameter with ethool utility but it did not help.
Can you please guide what should I do here ?
Please let me know if you need any other information.
Thanks and Best Regards,
Prabhat
> I want to auto negotiate the DPMAC3 and DPMAC4 port to 1Gbps speed. But it Is not happening.
Have you actually tried to connect 1Gbps Ethernet source into the J21 or J22?
What is the port behaviour in this case?
Please attach U-Boot and Linux logs for inspection.
Yes I have connected my 1Gps Ethernet source into J21(MAC3) and J22(MAC4).
As mentioned above port behavior is set to 10Gbps and it is not connecting to my 1Gbps Ethernet source.
I tried to see the ping behavior with Mac3 and/or Mac4 and this is what I have observed –
192.168.0.11 is ip of my windows.
root@localhost:~# ping 192.168.0.11
PING 192.168.0.11 (192.168.0.11) 56(84) bytes of data.
From 192.168.0.9 icmp_seq=1 Destination Host Unreachable
From 192.168.0.9 icmp_seq=2 Destination Host Unreachable
From 192.168.0.9 icmp_seq=3 Destination Host Unreachable
^C
--- 192.168.0.11 ping statistics ---
6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 5122ms
pipe 4
I am able to ping with MAC17 and MAC18 (these are 1Gbps port).
I have also attached uboot log for more reference.
Thank you
Best Regards,
Prabhat