Hi,
I am not able to download u-boot.img via usb-ethernet in AM3352 custom board.
I am using u-boot v2019.07 and configured tftp and kept MLO, u-boot.img and u-boot-spl.bin in the tftp folder.
My board is able to download u-boot-spl.bin file but it is not able to proceed further.
Kindly refer the following log from the device's serial terminal,
U-Boot SPL 2019.07-dirty (Sep 02 2019 - 18:38:34 +0530)
Trying to boot from USB eth
Warning: usb_ether using MAC address from ROM
eth0: usb_ether
Warning: usb_ether using MAC address from ROM
, eth1: usb_ether
using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
MAC de:ad:be:ef:00:01
HOST MAC de:ad:be:ef:00:00
RNDIS ready
stops here and then my windows machine says USB device not recognized/malfunctioned.
Also the log from the host,
Sep 02 13:18:31 apertis kernel: usb 2-2: new full-speed USB device number 28 using ohci-pci
Sep 02 13:18:32 apertis kernel: usb 2-2: not running at top speed; connect to a high speed hub
Sep 02 13:18:32 apertis kernel: usb 2-2: New USB device found, idVendor=0451, idProduct=6141
Sep 02 13:18:32 apertis kernel: usb 2-2: New USB device strings: Mfr=33, Product=37, SerialNumber=0
Sep 02 13:18:32 apertis kernel: usb 2-2: Product: AM335x USB
Sep 02 13:18:32 apertis kernel: usb 2-2: Manufacturer: Texas Instruments
Sep 02 13:18:32 apertis connmand[437]: usb0 {create} index 64 type 1 <ETHER>
Sep 02 13:18:32 apertis kernel: rndis_host 2-2:1.0 usb0: register 'rndis_host' at usb-0000:00:06.0-2, RNDIS device, 86:89:88:bb:eb:b0
Sep 02 13:18:32 apertis connmand[437]: usb0 {update} flags 4098 <DOWN>
Sep 02 13:18:32 apertis connmand[437]: usb0 {newlink} index 64 address 86:89:88:BB:EB:B0 mtu 1500
Sep 02 13:18:32 apertis connmand[437]: usb0 {newlink} index 64 operstate 2 <DOWN>
Sep 02 13:18:32 apertis connmand[437]: usb0 {newlink} index 64 address 7A:EA:E6:0D:CC:71 mtu 1500
Sep 02 13:18:32 apertis connmand[437]: usb0 {newlink} index 64 operstate 2 <DOWN>
Sep 02 13:18:32 apertis connmand[437]: usb0 {add} address 172.17.0.1/16 label usb0 family 2
Sep 02 13:18:32 apertis connmand[437]: usb0 {update} flags 69699 <UP,RUNNING,LOWER_UP>
Sep 02 13:18:32 apertis connmand[437]: usb0 {newlink} index 64 address 7A:EA:E6:0D:CC:71 mtu 1500
Sep 02 13:18:32 apertis connmand[437]: usb0 {newlink} index 64 operstate 0 <UNKNOWN>
Sep 02 13:18:32 apertis avahi-daemon[441]: Joining mDNS multicast group on interface usb0.IPv4 with address 172.17.0.1.
Sep 02 13:18:32 apertis connmand[437]: usb0 {add} route 172.17.0.0 gw 0.0.0.0 scope 253 <LINK>
Sep 02 13:18:32 apertis connmand[437]: usb0 {add} route fe80:: gw :: scope 0 <UNIVERSE>
Sep 02 13:18:32 apertis avahi-daemon[441]: New relevant interface usb0.IPv4 for mDNS.
Sep 02 13:18:32 apertis avahi-daemon[441]: Registering new address record for 172.17.0.1 on usb0.IPv4.
Sep 02 13:18:32 apertis systemd[1]: Stopping ISC DHCP IPv4 server...
Sep 02 13:18:32 apertis systemd[1]: Stopped ISC DHCP IPv4 server.
Sep 02 13:18:32 apertis audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=isc-dhcp-server comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Sep 02 13:18:32 apertis systemd[1]: Started ISC DHCP IPv4 server.
Sep 02 13:18:32 apertis audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=isc-dhcp-server comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Sep 02 13:18:32 apertis dhcpd[13386]: Internet Systems Consortium DHCP Server 4.3.3
Sep 02 13:18:32 apertis sh[13386]: Internet Systems Consortium DHCP Server 4.3.3
Sep 02 13:18:32 apertis sh[13386]: Copyright 2004-2015 Internet Systems Consortium.
Sep 02 13:18:32 apertis sh[13386]: All rights reserved.
Sep 02 13:18:32 apertis sh[13386]: For info, please visit www.isc.org/.../
Sep 02 13:18:32 apertis dhcpd[13386]: Copyright 2004-2015 Internet Systems Consortium.
Sep 02 13:18:32 apertis dhcpd[13386]: All rights reserved.
Sep 02 13:18:32 apertis dhcpd[13386]: For info, please visit www.isc.org/.../
Sep 02 13:18:32 apertis dhcpd[13386]: Config file: /etc/dhcp/dhcpd.conf
Sep 02 13:18:32 apertis sh[13386]: Config file: /etc/dhcp/dhcpd.conf
Sep 02 13:18:32 apertis dhcpd[13386]: Database file: /var/lib/dhcp/dhcpd.leases
Sep 02 13:18:32 apertis sh[13386]: Database file: /var/lib/dhcp/dhcpd.leases
Sep 02 13:18:32 apertis dhcpd[13386]: PID file: /run/dhcp-server/dhcpd.pid
Sep 02 13:18:32 apertis sh[13386]: PID file: /run/dhcp-server/dhcpd.pid
Sep 02 13:18:32 apertis dhcpd[13386]: Internet Systems Consortium DHCP Server 4.3.3
Sep 02 13:18:32 apertis dhcpd[13386]: Copyright 2004-2015 Internet Systems Consortium.
Sep 02 13:18:32 apertis sh[13386]: Wrote 0 leases to leases file.
Sep 02 13:18:32 apertis dhcpd[13386]: All rights reserved.
Sep 02 13:18:32 apertis dhcpd[13386]: For info, please visit www.isc.org/.../
Sep 02 13:18:32 apertis dhcpd[13386]: Wrote 0 leases to leases file.
Sep 02 13:18:32 apertis dhcpd[13386]: Listening on LPF/usb0/7a:ea:e6:0d:cc:71/172.17.0.0/24
Sep 02 13:18:32 apertis sh[13386]: Listening on LPF/usb0/7a:ea:e6:0d:cc:71/172.17.0.0/24
Sep 02 13:18:32 apertis sh[13386]: Sending on LPF/usb0/7a:ea:e6:0d:cc:71/172.17.0.0/24
Sep 02 13:18:32 apertis sh[13386]: Sending on Socket/fallback/fallback-net
Sep 02 13:18:32 apertis dhcpd[13386]: Sending on LPF/usb0/7a:ea:e6:0d:cc:71/172.17.0.0/24
Sep 02 13:18:32 apertis dhcpd[13386]: Sending on Socket/fallback/fallback-net
Sep 02 13:18:32 apertis dhcpd[13386]: Server starting service.
Sep 02 13:18:34 apertis avahi-daemon[441]: Joining mDNS multicast group on interface usb0.IPv6 with address fe80::78ea:e6ff:fe0d:cc71.
Sep 02 13:18:34 apertis avahi-daemon[441]: New relevant interface usb0.IPv6 for mDNS.
Sep 02 13:18:34 apertis avahi-daemon[441]: Registering new address record for fe80::78ea:e6ff:fe0d:cc71 on usb0.*.
Sep 02 13:18:36 apertis dhcpd[13386]: BOOTREQUEST from f8:36:9b:11:d8:53 via usb0
Sep 02 13:18:36 apertis dhcpd[13386]: ns1.example.org: no A record associated with address
Sep 02 13:18:36 apertis dhcpd[13386]: ns2.example.org: no A record associated with address
Sep 02 13:18:36 apertis dhcpd[13386]: BOOTREPLY on 172.17.0.2 to f8:36:9b:11:d8:53 via usb0
Sep 02 13:18:37 apertis dnsmasq-tftp[500]: sent /opt/eldev/tftp/u-boot-spl.bin to 172.17.0.2
Sep 02 13:18:38 apertis kernel: usb 2-2: USB disconnect, device number 28
Sep 02 13:18:38 apertis connmand[437]: (null) {RX} 166 packets 6047 bytes
Sep 02 13:18:38 apertis connmand[437]: (null) {TX} 192 packets 102556 bytes
Sep 02 13:18:38 apertis connmand[437]: (null) {update} flags 4098 <DOWN>
Sep 02 13:18:38 apertis kernel: rndis_host 2-2:1.0 usb0: unregister 'rndis_host' usb-0000:00:06.0-2, RNDIS device
Sep 02 13:18:38 apertis connmand[437]: usb0 {newlink} index 64 address 7A:EA:E6:0D:CC:71 mtu 1500
Sep 02 13:18:38 apertis connmand[437]: usb0 {newlink} index 64 operstate 2 <DOWN>
Sep 02 13:18:38 apertis connmand[437]: (null) {del} route fe80:: gw :: scope 0 <UNIVERSE>
Sep 02 13:18:38 apertis avahi-daemon[441]: Interface usb0.IPv6 no longer relevant for mDNS.
Sep 02 13:18:38 apertis avahi-daemon[441]: Leaving mDNS multicast group on interface usb0.IPv6 with address fe80::78ea:e6ff:fe0d:cc71.
Sep 02 13:18:38 apertis dhcpd[13386]: receive_packet failed on usb0: Network is down
Sep 02 13:18:38 apertis avahi-daemon[441]: Interface usb0.IPv4 no longer relevant for mDNS.
Sep 02 13:18:38 apertis avahi-daemon[441]: Leaving mDNS multicast group on interface usb0.IPv4 with address 172.17.0.1.
Sep 02 13:18:38 apertis avahi-daemon[441]: Withdrawing address record for fe80::78ea:e6ff:fe0d:cc71 on usb0.
Sep 02 13:18:38 apertis avahi-daemon[441]: Withdrawing address record for 172.17.0.1 on usb0.
Sep 02 13:18:38 apertis connmand[437]: (null) {del} address 172.17.0.1/16 label usb0
Sep 02 13:18:38 apertis connmand[437]: usb0 {dellink} index 64 operstate 2 <DOWN>
Sep 02 13:18:38 apertis connmand[437]: (null) {RX} 166 packets 6047 bytes
Sep 02 13:18:38 apertis connmand[437]: (null) {TX} 192 packets 102556 bytes
Sep 02 13:18:38 apertis connmand[437]: (null) {remove} index 64