Skip to contentSkip to conversation

spl: net: usb: problem with the re-initialization of the usb_ethernet

U-Boot Moses Christopher 1 participant 1 message Sep 5, 2019 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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*