AnsweredAssumed Answered

Ping does not work from my iMX6-ULL EVK

Question asked by capecom on May 9, 2017
Latest reply on May 10, 2017 by capecom

I am unable to ping to or ping from my iMX6ULL-EVK board after booting Linux. I could, however, ping from u-boot. I turned off auto ip in the Linux kernel and configured static IP address to my EVK board [EVK-192.168.1.40, My PC-192.168.1.60, netmask 255.255.255.0]. 

 

I also applied the PHY driver patch per the information in the link https://community.nxp.com/docs/DOC333163 and the problem still persists.

 

Below is the log from my EVK console:

 

U-Boot 2016.03-imx_v2016.03_4.1.15_2.0.0_ga+g0ec2a01 (Sep 16 2016 - 17:58:13 -0500)

 

CPU:   Freescale i.MX6ULL rev1.0 at 396MHz

CPU:   Commercial temperature grade (0C to 95C) at 42C

Reset cause: POR

Board: MX6ULL 14x14 EVK

I2C:   ready

DRAM:  512 MiB

MMC:   FSL_SDHC: 0, FSL_SDHC: 1

Display: TFT43AB (480x272)

Video: 480x272x24

In:    serial

Out:   serial

Err:   serial

switch to partitions #0, OK

mmc1 is current device

Net:   FEC1

Normal Boot

Hit any key to stop autoboot:  0

 

 

=> print ipaddr

ipaddr=192.168.1.41

=> print netmask

netmask=255.255.255.0

=> ping 192.168.1.60

Using FEC1 device

host 192.168.1.60 is alive

=>

 

root@imx6ull14x14evk:~# ifconfig eth1 up 192.168.1.40

root@imx6ull14x14evk:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:04:9f:04:b6:fd
UP 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)

eth1 Link encap:Ethernet HWaddr 00:04:9f:04:b6:fd
inet addr:192.168.1.40 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST MULTICAST DYNAMIC 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
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 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:140 (140.0 B) TX bytes:140 (140.0 B)

 

root@imx6ull14x14evk:~# ping 192.168.1.60
PING 192.168.1.60 (192.168.1.60) 56(84) bytes of data.
From 192.168.1.40 icmp_seq=1 Destination Host Unreachable
From 192.168.1.40 icmp_seq=2 Destination Host Unreachable
From 192.168.1.40 icmp_seq=3 Destination Host Unreachable
From 192.168.1.40 icmp_seq=4 Destination Host Unreachable
From 192.168.1.40 icmp_seq=5 Destination Host Unreachable
From 192.168.1.40 icmp_seq=6 Destination Host Unreachable
^C
--- 192.168.1.60 ping statistics ---
7 packets transmitted, 0 received, +6 errors, 100% packet loss, time 6007ms

Outcomes