Other Parts Discussed in Thread: AM3892,
Tool/software: Linux
Hi,
The customer would like to replace PHY chip using for mass product to DP83867 because PHY chip was discontinued.
They added DP83867 to AM3892 and set up GMII / 1000 Mbps mode but ethernet was not working.
Ping test from custom board to PC : Output signal in TX line was found.
Ping test from PC to custom board : There was no signal in RX line.
SDK version is Ezsdk dm816x 5.05.02.00.
Linux Kernel version is 2.6.37.
Below is more information.
root@crong:~# ifconfig -a eth0 Link encap:Ethernet HWaddr C8:FD:19:D6:D2:98 inet addr:10.42.43.10 Bcast:10.42.43.255 Mask:255.255.255.0 inet6 addr: fe80::cafd:19ff:fed6:d298/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:2302 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:138228 (134.9 KiB) Interrupt:40 Base address:0x8000 eth1 Link encap:Ethernet HWaddr 00:00:00:00:00:00 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:44 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) root@crong:~# ethtool eth0 Settings for eth0: Supported ports: [ TP AUI BNC MII FIBRE ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Speed: 1000Mb/s Duplex: Full Port: MII PHYAD: 1 Transceiver: external Auto-negotiation: on Link detected: yes root@crong:~# ethtool eth1 Settings for eth1: Link detected: yes root@crong:~# ethtool -S eth0 no stats available root@crong:~#
Below file is DP83867 register set-up after booting.
Please kindly check the register set-up and find out the cause of ethernet working issue.
Thanks,