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.

IPNC 3.8 下uboot 执行USB start 失败

Other Parts Discussed in Thread: DM388, DM385

我在UBOOT 下加入USB 的patch ,编译uboot 测试USB 口,执行USB start  后 

U-Boot 2010.06 (Oct 12 2016 - 11:25:29) DM388_IPNC_3.80.00

DM385-GP rev 1.1

ARM clk: 600MHz
DDR clk: 533MHz
L3 clk: 200MHz
IVA clk: 450MHz
ISS clk: 400MHz
DSP Default OFF
DSS Default OFF

DRAM: 1 GiB
DCACHE: Off
MMC: OMAP SD/MMC: 0, ON-BOARD SDIO: 1
Using default environment

The 2nd stage U-Boot will now be auto-loaded
Please do not interrupt the countdown till DM385_IPNC prompt if 2nd stage is already flashed
Hit any key to stop autoboot: 0
reading u-boot.bin

235272 bytes read
## Starting application at 0x80800000 ...


U-Boot 2010.06 (Oct 12 2016 - 11:26:10) DM388_IPNC_3.80.00

DM385-GP rev 1.1

ARM clk: 600MHz
DDR clk: 533MHz
L3 clk: 200MHz
IVA clk: 450MHz
ISS clk: 400MHz
DSP Default OFF
DSS Default OFF

I2C: ready
DRAM: 1 GiB
DCACHE: On
NAND: HW ECC BCH8 Selected
256 MiB
MMC: OMAP SD/MMC: 0, ON-BOARD SDIO: 1
Louis debug ==> board.c:start_armboot:466:MISC init for USB start!!!
Louis debug ==> board.c:start_armboot:468:PRCM_BASE-addr:48180000
Louis debug ==> board.c:start_armboot:470:CM_DEFAULT_USB_CLKCTRL-addr:48180558
Louis debug ==> board.c:start_armboot:471:CM_DEFAULT_USB_CLKCTRL-val :2
Louis debug ==> musb_uboot.c:musb_register:232:MUSB HOST MODE
Louis debug ==> musb_uboot.c:musb_register:253:
Louis debug ==> musb_core.c:musb_init_controller:1941:
Louis debug ==> musb_core.c:musb_init_controller:1952:
Louis debug ==> musb_core.c:musb_init_controller:1960:
Louis debug ==> musb_core.c:musb_init_controller:1966:
Louis debug ==> musb_core.c:musb_init_controller:1974:
musb_dsps.c:dsps_musb_init:448: reg_base:47401000 wrp->revision:0
Louis debug ==> musb_dsps.c:dsps_musb_init:453:
Louis debug ==> musb_dsps.c:dsps_musb_init:460:
Louis debug ==> musb_dsps.c:dsps_musb_init:468:
Louis debug ==> musb_dsps.c:dsps_musb_init:474:
Louis debug ==> musb_dsps.c:dsps_musb_init:490:
Louis debug ==> musb_core.c:musb_init_controller:1998:
Louis debug ==> musb_core.c:musb_init_controller:2009:
Louis debug ==> musb_core.c:musb_init_controller:2014:
Louis debug ==> musb_core.c:musb_init_controller:2033:
Louis debug ==> musb_core.c:musb_init_controller:2040:
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
Louis debug ==> musb_core.c:musb_init_controller:2050:
Louis debug ==> musb_core.c:musb_init_controller:2055:
Louis debug ==> musb_core.c:musb_init_controller:2076:
Louis debug ==> musb_core.c:musb_init_controller:2100:
Louis debug ==> musb_core.c:musb_init_controller:2147:
USB Host mode controller at 47401000 using PIO, IRQ 0
Louis debug ==> board.c:start_armboot:477:MISC init for USB finish!!!
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@ @@
@@ @@
@@ @@
@@ @@
@@ _______ __ __ ______ ______ ______ @@
@@ / \ / \ / | / \ / \ / \ @@
@@ $$$$$$$ |$$ \ /$$ |/$$$$$$ |/$$$$$$ |/$$$$$$ | @@
@@ $$ | $$ |$$$ \ /$$$ |$$ ___$$ |$$ \__$$ |$$ \__$$ | @@
@@ $$ | $$ |$$$$ /$$$$ | / $$< $$ $$< $$ $$< @@
@@ $$ | $$ |$$ $$ $$/$$ | _$$$$$ | $$$$$$ | $$$$$$ | @@
@@ $$ |__$$ |$$ |$$$/ $$ |/ \__$$ |$$ \__$$ |$$ \__$$ | @@
@@ $$ $$/ $$ | $/ $$ |$$ $$/ $$ $$/ $$ $$/ @@
@@ $$$$$$$/ $$/ $$/ $$$$$$/ $$$$$$/ $$$$$$/ @@
@@ @@
@@ @@
@@ @@
@@ @@
@@ @@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

Net: Ethernet clocking: 0x52
Detected MACID:64:34:3a:66:35:3a
cpsw
Hit any key to stop autoboot: 0
DM388_IPNC#usb start
(Re)start USB...
usb.c:usb_init:96:
usb.c:usb_init:100:
usb.c:usb_init:113: usb_lowlevel_init index 0
USB0: musb_uboot.c:usb_lowlevel_init:126:
musb_uboot.c:usb_lowlevel_init:132: mbase-val:47401400
musb_uboot.c:usb_lowlevel_init:133: MUSB_DEVCTL-val:81
lowlevel init failed
USB error: all controllers failed lowlevel init
DM388_IPNC#usb info
USB is stopped. Please issue 'usb start' first.
DM388_IPNC#usb start
(Re)start USB...
usb.c:usb_init:96:
usb.c:usb_init:100:
usb.c:usb_init:113: usb_lowlevel_init index 0
USB0: musb_uboot.c:usb_lowlevel_init:126:
musb_uboot.c:usb_lowlevel_init:132: mbase-val:47401400
musb_uboot.c:usb_lowlevel_init:133: MUSB_DEVCTL-val:81
lowlevel init failed
USB error: all controllers failed lowlevel init
DM388_IPNC#usb start
(Re)start USB...
usb.c:usb_init:96:
usb.c:usb_init:100:
usb.c:usb_init:113: usb_lowlevel_init index 0
USB0: musb_uboot.c:usb_lowlevel_init:126:
musb_uboot.c:usb_lowlevel_init:132: mbase-val:47401400
musb_uboot.c:usb_lowlevel_init:133: MUSB_DEVCTL-val:81
lowlevel init failed
USB error: all controllers failed lowlevel init
DM388_IPNC#

就停下了!还是别的原因?USB0 作为HOST设备