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.

Linux/AM4376: Getting stuck while booting am437x board with uniflash with usb client mode

Part Number: AM4376
Other Parts Discussed in Thread: UNIFLASH

Tool/software: Linux

HI,


I'm trying to boot my am437x board with uniflash with usb client mode.

During the process I'm getting following logs on the console and my process is getting stuck,

U-Boot SPL
Trying to boot from USB eth
Using default environment

&&&&&&&&&& eth_initialize in eth_legacy &&&&&&
In board_eth_init &&&&&&&&&&&&&&&
a0:f6:fd:8b:3a:5b
################### Coming Here !!!

#################### usb_eth_initialize, USB_NET_NAME = usb_ether
&& Board Net Initialization Succes &&
usb_etherbase name eth : eth_number 0
name ethaddr
0:0:0:0:0:0
0:0:0:0:0:0

Error: usb_ether address not set.

a0:f6:fd:8b:3a:5b
de:ad:be:af:0:0
a0:f6:fd:8b:3a:5b
de:ad:be:af:0:0
using dwc3-gadget, OUT ep2out IN ep1in STATUS ep3in
MAC a0:f6:fd:8b:3a:5b
HOST MAC de:ad:be:af:00:00
RNDIS ready
high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
USB RNDIS network up!
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
DHCP client bound to address 192.168.2.4 (5773 ms)
Using usb_ether device
TFTP from server 192.168.2.2; our IP address is 192.168.2.4
Filename 'u-boot-restore.img'.
Load address: 0x80800000
Loading: #########################################
         3.8 MiB/s
done
Bytes transferred = 596448 (919e0 hex)


U-Boot 2016.05-00312-g236c2e8-dirty (Apr 03 2017 - 12:28:33 +0530)

CPU  : AM437X-GP rev 2.1
Model: TI AM437x GP EVM
I2C:   ready
DRAM:  2 GiB
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
** First descriptor is NOT a primary desc on 0:1 **
** No partition table - mmc 0 **
Using default environment

name ethaddr
0:0:0:0:0:0
Net:   &&&&&&&&&& eth_initialize in eth_legacy &&&&&&
In board_eth_init &&&&&&&&&&&&&&&
<ethaddr> not set. Validating first E-fuse MAC
a0:f6:fd:8b:3a:5b
a0:f6:fd:8b:3a:5d
a0:f6:fd:8b:3a:5d
################### Coming Here !!!

#################### usb_eth_initialize, USB_NET_NAME = usb_ether
&& Board Net Initialization Succes &&
cpswbase name eth : eth_number 0
name ethaddr
a0:f6:fd:8b:3a:5b
, usb_etherbase name eth : eth_number 1
name eth1addr
a0:f6:fd:8b:3a:5d

Hit any key to stop autoboot:  0
** First descriptor is NOT a primary desc on 0:1 **
switch to partitions #0, OK
mmc0(part 0) is current device
** First descriptor is NOT a primary desc on 0:1 **
SD/MMC found on device 0
** No partition table - mmc 0 **
########## Command #################,  usb_started = usb        start   0                                                                                                                    starting USB...
USB0:   Register 2000440 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
########## Command #################,  usb_started =
usb     dev     0
USB device 0: unknown device
Booting from nand ...

no devices available

no devices available
Bad Linux ARM zImage magic

 


I'm assuming getting "unknown device" for usb device 0 is the problem. And if it so then what should I do?

Can someone tell me what I'm doing wrong or what do I need to do to boot am437x with usb client mode?