hardware :custom DM8148 board, PHY Micrel KSZ8836 . software : based on linux-04.04.00.01
i use emac1 port , phy mode is rmii
1. i found that the board poweron the cpsw eth can link up ,but ping fail . the board can't receive data, the message below:
root@rui# ifconfig
eth1 Link encap:Ethernet HWaddr d4:f5:13:a7:b6:bd
inet addr:192.168.85.249 Bcast:192.168.87.255 Mask:255.255.248.0
UP BROADCAST RUNNING 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)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100 (100.0 B) TX bytes:100 (100.0 B)
2. however , i reboot the board ,then the board ping ok . the board can receive data.
root@ru# ifconfig
eth1 Link encap:Ethernet HWaddr d4:f5:13:a7:b6:bd
inet addr:192.168.85.249 Bcast:192.168.87.255 Mask:255.255.248.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2124 errors:0 dropped:1 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:136620 (136.6 KB) TX bytes:434 (434.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100 (100.0 B) TX bytes:100 (100.0 B)
3.question: why in reboot mode ,the cpsw eth can receive data .BUT Power up the board ,the board can't recive data.
Thanks for your help or suggestions!