This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x Ethernet over USB issue

Hi Sir

we want to implement Ethernet over usb on BBB and used SDK 03.00.00.04 

when we plug in USB-device and the log is listed as below 

[ 12.292980] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 12.417848] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[ 12.520022] hub 1-0:1.0: USB hub found
[ 12.568012] hub 1-0:1.0: 1 port detected
[ 12.585874] remoteproc0: powering up 4a334000.pru0
[ 12.591358] remoteproc0: Booting fw image am335x-pru0-fw, size 80252
[ 12.675464] ti-pruss 4a300000.pruss: configured system_events = 0x1000000000000000 intr_channels = 0x00000001 host_intr = 0x00000001
[ 12.810226] remoteproc0: remote processor 4a334000.pru0 is now up
[ 12.865472] virtio_rpmsg_bus virtio0: creating channel rpmsg-pru addr 0x1e
[ 12.873169] virtio_rpmsg_bus virtio0: rpmsg host is online
[ 12.925601] remoteproc1: powering up 4a338000.pru1
[ 12.931047] remoteproc1: Booting fw image am335x-pru1-fw, size 80252
[ 13.005322] ti-pruss 4a300000.pruss: configured system_events = 0x0800000000000000 intr_channels = 0x00000002 host_intr = 0x00000002
[ 13.017411] usb 1-1: new high-speed USB device number 2 using musb-hdrc
[ 13.056255] remoteproc1: remote processor 4a338000.pru1 is now up
[ 13.062855] virtio_rpmsg_bus virtio1: creating channel rpmsg-pru addr 0x1f
[ 13.077499] virtio_rpmsg_bus virtio1: rpmsg host is online
[ 13.156353] rpmsg_pru rpmsg0: new rpmsg_pru device: /dev/rpmsg_pru30
[ 13.176294] rpmsg_pru rpmsg1: new rpmsg_pru device: /dev/rpmsg_pru31
[ 13.745523] cdc_acm 1-1:1.0: ttyACM0: USB ACM device
[ 13.777355] cdc_acm 1-1:1.2: ttyACM1: USB ACM device
[ 13.811366] cdc_ether 1-1:1.6 eth0: register 'cdc_ether' at usb-musb-hdrc.1.auto-1, CDC Ethernet Device, 00:00:11:12:13:14
[ 13.829259] cdc_acm 1-1:1.4: ttyACM2: USB ACM device
[ 13.847776] usbcore: registered new interface driver cdc_acm
[ 13.855308] cdc_ether 1-1:1.8 eth1: register 'cdc_ether' at usb-musb-hdrc.1.auto-1, CDC Ethernet Device, 00:00:11:12:13:16
[ 13.869332] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 13.886139] cdc_ether 1-1:1.10 eth2: register 'cdc_ether' at usb-musb-hdrc.1.auto-1, CDC Ethernet Device, 00:00:11:12:13:18
[ 13.961890] usbcore: registered new interface driver cdc_ether
[ 14.539083] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready

we found the device on dev/ttyACM0. 

But we executed command and got the error message as below 

root@am335x-evm:/usr/sbin# echo -ne 'AT+XCEDATA=1,1\r\n' > /dev/ttyACM0; udhcpc -i eth1
udhcpc (v1.24.1) started
Sending discover...
[ 1273.039598] cdc_ether 1-1:1.8 eth1: kevent 11 may have been dropped
Sending discover...
Sending discover...

If we used the pre-image on BBB(Kernel 3.8 with ubuntu) and did the same thing as above

the message showed as below

rename4glebone:/usr/sbin# echo -ne 'AT+XCEDATA=1,1\r\n' > /dev/ttyACM0;dhclient rename4
root@beaglebone:/usr/sbin# ifconfig

rename4 Link encap:Ethernet HWaddr 00:00:11:12:13:16
inet addr:10.34.11.56 Bcast:10.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::200:11ff:fe12:1316/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1756 (1.7 KiB) TX bytes:7243 (7.0 KiB)

we can get the Ethernet device on USB1 port. 

please advise why we got below message and cannot set it as ethernet device.

Sending discover...
[ 1273.039598] cdc_ether 1-1:1.8 eth1: kevent 11 may have been dropped
Sending discover...

thank you

BR

Yimin