PING Problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PING Problem

1,356 Views
alexlevandovski
Contributor I

I have Board with LAN7500 connected to USB2 iMX6(Freescale). This Board is under Linux 3.10.17 Kernel. As I boot the Board and connect LAN7500 EthernetConnector to Ethernet Cable I see green LED and orange LED are on.Then make LAN7500 UP, check LINK, Ping 172.20.20.20 over eth1(LAN7500). 100% Packet loss. Can you help me in this problem?

Regards Alex

root@imx6qsabresd:~# ip link set dev eth1 up

IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready

root@imx6qsabresd:~# IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready

smsc75xx 2-1.2:1.0 eth1: link up, 1000Mbps, full-duplex, lpa 0xC1E1

root@imx6qsabresd:~# ip link

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT

    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

2: can0: <NOARP,ECHO> mtu 16 qdisc noop state DOWN mode DEFAULT qlen 10

    link/can

3: can1: <NOARP,ECHO> mtu 16 qdisc noop state DOWN mode DEFAULT qlen 10

    link/can

4: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT qlen 1000

    link/ether 0a:64:5b:0a:b1:73 brd ff:ff:ff:ff:ff:ff

5: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000

    link/ether b6:49:c4:9f:c6:6b brd ff:ff:ff:ff:ff:ff

6: sit0: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT

    link/sit 0.0.0.0 brd 0.0.0.0

root@imx6qsabresd:~# ping -I eth1 172.20.20.20

PING 172.20.20.20 (172.20.20.20): 56 data bytes

^C

--- 172.20.20.20 ping statistics ---

8 packets transmitted, 0 packets received, 100% packet loss

root@imx6qsabresd:~#

Labels (1)
0 Kudos
4 Replies

1,083 Views
igorpadykov
NXP Employee
NXP Employee

Hi Alex

one can try to use more new kernel

http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/?h=imx_4.1.15_1.0.0_ga

and use ethtool for debugging, try loopback

USB to Ethernet adapter - ArmadeusWiki

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,083 Views
alexlevandovski
Contributor I

Hello Igor, new(last) information.

1. I connected Ethernet cable to imx6 Ethernet Input and after this boot the Board.

2. Then I aktivated LAN7500  with  ifconfig eth1 up

3.Then I reconnect Ethernet cable from imx6 Ethernet to LAN7500 Ethernet.

4. Then I make ping         ping -I eth1 172.20.20.20     and it was OK.

I think, that some configuration was needed to functionality of LAN7500(IP?). And this configuration made Kernel boot procedure imx6 in Point 1.

LAN7500 used this configuration. Can you help me to explain how can I make this configuration in kernel boot procedure, so that LAN7500 come in UP state after boot Kernel without user aktivity(automatic). And what have to be configured?

thanks in advance.

alex

0 Kudos

1,083 Views
alexlevandovski
Contributor I

Hello Igor, probably I have to add some "code" to "device tree blob"?

best regards

Alex

0 Kudos

1,083 Views
alexlevandovski
Contributor I

Hello Igor.

Thanks. I'll try it.

best regards

0 Kudos