[U-Boot] spl: net: usb: problem with the re-initialization of the usb_ethernet

Moses Christopher moseschristopherb at gmail.com
Thu Sep 5 14:59:23 UTC 2019


Hello together,

The following patch is generating two Ethernet interfaces in SPL stage and
is not able to proceed further,

*spl: net: dm: usb: bind the gadget before attempting to load the image
<https://gitlab.denx.de/u-boot/u-boot/commit/0f46fb58a2355edf631c19797ad5c1f5f9403236>*

By removing the above patch, the SPL USB-Ethernet works fine.

May I know, what exactly is done over here ?
Because, the initialization is already happening in the beginning from the
am33xx-board file.

*Log with the above commit: *

U-Boot SPL 2019.07-dirty (Sep 03 2019 - 13:58:41 +0530)

Trying to boot from USB eth

Warning: usb_ether using MAC address from ROM

eth0: usb_etherusb_eth_probe:

*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……*

By removing the above mentioned patch, The SPL is able to proceed further.



Best regards,
*Moses Christopher*


More information about the U-Boot mailing list