USB to ethernet adaptor with custom i.MX6DL board

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

USB to ethernet adaptor with custom i.MX6DL board

516 Views
michaelworster
Contributor IV

I'm working on a custom board with an i.MX6DL on it. I'm currently trying to get a USB to Ethernet adapter working on this board. I can see it enumerate, but it won't send data. The adapter works on a Ubuntu machine, so I've verified the adapter is not an issue.

When I plug in my tp-link USB 3.0 to Gigabit Ethernet Network Adaptor and check the kernel logs:

[   90.053870] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[   90.226877] usbcore: registered new interface driver r8152
[   90.236798] usbcore: registered new interface driver cdc_ether
[   90.353891] usb 1-1: reset high-speed USB device number 2 using ci_hdrc
[   90.545992] r8152 1-1:1.0 eth2: v1.08.0 (2015/01/13)

 

I then plugged in a USB cable to the adaptor, and then to the modem, so there's messages of the link not being ready, followed by the link coming on line:

[  138.714150] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
[  302.993372] IPv6: ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready

 

Then I can see "eth2" in a check of "ip link show" command is up and ready to go:

8: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether a0:ce:c8:53:eb:f8 brd ff:ff:ff:ff:ff:ff

 

However attempting to run a "ping" command via this interface fails.

[root ~]# ping -c 2 -I eth2 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes

--- 8.8.8.8 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss

 

Running the same setup and commands on my Ubuntu machine, the tp-link is active and able to ping successfully.
Any ideas why this wouldn't be working on the i.MX6 board?

Labels (3)
0 Kudos
1 Reply

510 Views
igorpadykov
NXP Employee
NXP Employee

Hi Michael

 

what bsp used in the case, if it works on ubuntu machine one can install ubuntu on i.mx6 board:

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Installing-Ubuntu-Rootfs-on-NXP-i-MX6-bo...

https://boundarydevices.com/trusty-ubuntu-mx6/

 

Best regards
igor

 

0 Kudos