Ethernet is not working on imx6UL Evaluation kit

cancel
Showing results for 
Search instead for 
Did you mean: 

Ethernet is not working on imx6UL Evaluation kit

984 Views
Contributor I

Hello,

I just start working on Linux and imx6ul evaluation kit.

I connect my host machine (Ubuntu 14.04 LTS) with the board via USB to UART using connector J1901.

It is working fine and I can use board Shell via minicom. However When I connect the board in network switch via using Ethernet straight cable, I can see following activity on my board...

imx6ulevk:~$ fec 20b4000.ethernet eth0: Link is Up - 10Mbps/Half - flow controlf
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
fec 20b4000.ethernet eth0: Link is Down
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
fec 20b4000.ethernet eth0: Link is Up - 10Mbps/Half - flow control off
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
fec 20b4000.ethernet eth0: Link is Down
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
fec 20b4000.ethernet eth0: Link is Up - 10Mbps/Half - flow control off
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
fec 20b4000.ethernet eth0: Link is Down
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

Now my problem is...

1. Which are setting required to connect board Ethernet with host machine?

2. Which Ethernet cable I required to connect with host? Straight or cross ?

3. How do I send project file to the board via UART (USB to UART) ?

I have not change anything on board kernel, It is as per I received with the board in micro SD card.

Note: I do not have LCD display, I am using board terminal on my host machine.

Please help.

Regards

Jaydeep

Labels (1)
0 Kudos
5 Replies

111 Views
Contributor III

HI Parmar,

   We have been facing same problem with etho and eth1 and able to communicate with USB and UART. Problem is with ethernet data access, unable to ping but able to up. While the same cable physical connections were correct and able to ping for other PC but not to my iMX6Ultralite. 

   if any Suggestions please let us know. 

Thanking You,

NagaPrasad

0 Kudos

111 Views
NXP TechSupport
NXP TechSupport

Please check the connection thoroughly. Please try to use another cable, hub, etc.
I just checked both eth0 and eth1 interfaces on our board and they are working fine. I was able to ping the outside.

Have a great day,
Victor

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

0 Kudos

111 Views
Contributor I

Hello,

 

There is not any hardware issue as our machine is connected with internet or other embedded board (Phyboard-wega) too. We are having two i.MX6UL-EVK, and we tried this on both but the result was not favourable in any board.

 

Please review our following configuration which is same in both the boards,

 

root@imx6ulevk:~# ifconfig

 

eth0 Link encap:Ethernet HWaddr 00:04:9F:04:B4:D2

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:B4:D3

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)

 

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:10 errors:0 dropped:0 overruns:0 frame:0

TX packets:10 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:700 (700.0 B) TX bytes:700 (700.0 B)

 

root@imx6ulevk:~#

 

We have tried to configure the board through variety of ways including mentioned by you (igconfig eth0 ...).

 

I have copied /etc/network/interfaces file below for your reference,

 

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

 

# The loopback interface

auto lo

iface lo inet loopback

 

# Wireless interfaces

iface wlan0 inet dhcp

        wireless_mode managed

        wireless_essid any

        wpa-driver wext

        wpa-conf /etc/wpa_supplicant.conf

 

iface atml0 inet dhcp

 

# Wired or wireless interfaces

auto eth0

iface eth0 inet dhcp

iface eth1 inet dhcp

 

# Ethernet/RNDIS gadget (g_ether)

# ... or on host side, usbnet and random hwaddr

iface usb0 inet static

        address 192.168.7.2

        netmask 255.255.255.0

        network 192.168.7.0

        gateway 192.168.7.1

 

# Bluetooth networking

iface bnep0 inet dhcp

 

Looking forward for respond.

 

Regards

Jaydeep Parmar

0 Kudos

111 Views
Contributor I

Hi Victor,

 

I have already tested physical links, It is working fine on other machines.

I have not make any change in prebuilt image i got with the board in sdcard, if any change in it please share.

 

I tried to patch as mentioned in thread Patch to support Ethernet PHY KSZ8081 (Rev1) on i.MX6UL/i.MX6ULL EVK board 

 

Please let me know if any other change in this or alternative way to debug it.

 

Regards

Jaydeep

0 Kudos

111 Views
Contributor I

Hi Victor,

I have already tested physical links, It is working fine on other machines.

I have not make any change in prebuilt image i got with the board in sdcard, if any change in it please share.

I tried to patch as mentioned in thread https://community.nxp.com/docs/DOC-333163 

Please let me know if any other change in this or alternative way to debug it.

Regards

Jaydeep

0 Kudos