Imx6dl Android P9.0.0_2.2.0 ethernet(usb ethernet) link is up but ping fail

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Imx6dl Android P9.0.0_2.2.0 ethernet(usb ethernet) link is up but ping fail

1,655 次查看
chpub70
Contributor II

Hi NXP,

I am using a custom imx6dl board with android_p9.0.0_2.2.0-ga. From the command line, I did ifconfig eth0 up 192.168.30.240 and I did ip link and I can see the link is up.

130|sabresd_6dq:/ # ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: ip_vti0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ipip 0.0.0.0 brd 0.0.0.0
3: ip6_vti0@NONE: <NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/tunnel6 :: brd ::
4: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/sit 0.0.0.0 brd 0.0.0.0
5: ip6tnl0@NONE: <NOARP> mtu 1452 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/tunnel6 :: brd ::
6: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 00:de:fa:87:6e:d7 brd ff:ff:ff:ff:ff:ff

However when I did ifconfig eth0, I see all received packet is dropped.

sabresd_6dq:/ # ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:de:fa:87:6e:d7 Driver smsc95xx
inet addr:192.168.30.240 Bcast:192.168.30.255 Mask:255.255.255.0
inet6 addr: fe80::2de:faff:fe87:6ed7/64 Scope: Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:13270 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 TX bytes:0

Please advise. 

Thank You in advance.

Regards,

Pun

0 项奖励
回复
5 回复数

1,608 次查看
joanxie
NXP TechSupport
NXP TechSupport

when the board boot up, could you ping successfully?

0 项奖励
回复

1,608 次查看
chpub70
Contributor II

Hi Joan,

No, I cannot ping successfully.

0 项奖励
回复

1,607 次查看
joanxie
NXP TechSupport
NXP TechSupport

pls share your log file with me

0 项奖励
回复

1,608 次查看
chpub70
Contributor II

Hi Joan,

Attach is the log for dmesg and logcat.

0 项奖励
回复

1,491 次查看
joanxie
NXP TechSupport
NXP TechSupport

what PHY do you use? the same as nxp board? or porting your own PHY? and could you reproduce this on nxp board?

0 项奖励
回复