AnsweredAssumed Answered

adsp-sc584-ezboard can't detect USB device

Question asked by jeffxu on Oct 30, 2016
Latest reply on Dec 26, 2016 by Uli

     I have a adsp-sc584-ezboard,after download uImage and sc58x-ezkit-lpc.dtb file from tftp,Sometimes the board can not detect USB mass storage device,then the voltage of USB0_VBUS is only 0.9V.

     I also used the original uImage and sc58x-ezkit-lpc.dtb in this path (/opt/analog/cces-linux-add-in/1.1.0/buildroot-sc58x-1.1.0/images ),it also can't detect usb.

     My configuration of USB follow the user's guide (Linux Add-in User's Guide-->User Manual for USB in Linux Kernel):

Device Drivers  --->

  [*] USB support  --->

  <*>   Support for Host-side USB

             USB Physical Layer drivers  --->

        <*> NOP USB Transceiver Driver


Device Drivers  --->

  [*] USB support  --->

  <*>     Inventra Highspeed Dual Role Controller (TI, ADI, ...)

  MUSB Mode Selection (Host only mode)  --->


1.Sometimes the board can detect usb device

2.Sometimes the board can not detect usb device,when detect usb NG,the log print this message:

musb-hdrc VBUS_ERROR in a_idle (90, <VBusValid), retry #0, port1 00000100

and why usb detector have this problem?thanks~


it's my whole log:


Starting kernel ...



Booting Linux on physical CPU 0x0


Linux version 4.0.0-ADI-1.1.0 (root@giant-virtual-machine) (gcc version 4.8.3 (Analog Devices Inc. ARM Tools (de6372ac6a9979273b92892f826b11ea3363115b). Distributed as part of CrossCore Embedded Studio an6


CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c53c7d


CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache


Machine model: ADI sc58x-ezkit LPC


Memory policy: Data cache writeback


dump init clock rate


CGU0_PLL 450 MHz






CGU0_SYS0 112 MHz






CGU0_SYS0 112 MHz


Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 28448


Kernel command line: root=/dev/mtdblock2 rw rootfstype=jffs2 clkin_hz=(25000000) console=ttySC0,57600 mem=112M ip=


PID hash table entries: 512 (order: -1, 2048 bytes)


Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)


Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)


Memory: 91464K/114688K available (3659K kernel code, 120K rwdata, 1352K rodata, 16860K init, 87K bss, 23224K reserved, 0K cma-reserved)


Virtual kernel memory layout:


    vector  : 0xffff0000 - 0xffff1000   (   4 kB)


    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)


    vmalloc : 0xc7800000 - 0xff000000   ( 888 MB)


    lowmem  : 0xc0000000 - 0xc7000000   ( 112 MB)


    modules : 0xbf000000 - 0xc0000000   (  16 MB)


      .text : 0xc0008000 - 0xc04ecf78   (5012 kB)


      .init : 0xc04ed000 - 0xc1564000   (16860 kB)


      .data : 0xc1564000 - 0xc15821e0   ( 121 kB)


       .bss : 0xc15821e0 - 0xc15980ec   (  88 kB)


NR_IRQS:16 nr_irqs:16 16


GIC CPU mask not found - kernel will fail to boot.


GIC CPU mask not found - kernel will fail to boot.


sched_clock: 32 bits at 112MHz, resolution 8ns, wraps every 38177486839ns


Console: colour dummy device 80x30


Calibrating delay loop... 297.98 BogoMIPS (lpj=595968)


pid_max: default: 32768 minimum: 301


Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)


Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)


CPU: Testing write buffer coherency: ok


Setting up static identity map for 0x8937c2f8 - 0x8937c32c


devtmpfs: initialized


do_initcall_level level 0


do_initcall_level level 1


VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1


pinctrl core: initialized pinctrl subsystem


NET: Registered protocol family 16


do_initcall_level level 2


DMA: preallocated 256 KiB pool for atomic coherent allocations


do_initcall_level level 3


L2C: device tree omits to specify unified cache


L2C-310 dynamic clock gating enabled, standby mode enabled


L2C-310 cache controller enabled, 8 ways, 256 kB


L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x06040000


sc58x_init: registering device resources


sec init...




hw-breakpoint: Failed to enable monitor mode on CPU 0.


ADI DMA2 Controller


do_initcall_level level 4


SCSI subsystem initialized


usbcore: registered new interface driver usbfs


usbcore: registered new interface driver hub


usbcore: registered new device driver usb


i2c-bfin-twi 31001400.twi: Blackfin on-chip I2C TWI Contoller, regs_base@f4001400


i2c-bfin-twi 31001500.twi: Blackfin on-chip I2C TWI Contoller, regs_base@f4001500


i2c-bfin-twi 31001600.twi: Blackfin on-chip I2C TWI Contoller, regs_base@f4001600


pps_core: LinuxPPS API ver. 1 registered


pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <>


PTP clock support registered


Advanced Linux Sound Architecture Driver Initialized.


do_initcall_level level 5


Switched to clocksource cs_gptimer


NET: Registered protocol family 2


TCP established hash table entries: 1024 (order: 0, 4096 bytes)


TCP bind hash table entries: 1024 (order: 0, 4096 bytes)


TCP: Hash tables configured (established 1024 bind 1024)


TCP: reno registered


UDP hash table entries: 256 (order: 0, 4096 bytes)


UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)


NET: Registered protocol family 1


do_initcall_level level 6


hw perfevents: enabled with armv7_cortex_a5 PMU driver, 3 counters available


futex hash table entries: 256 (order: -1, 3072 bytes)


jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.


io scheduler noop registered (default)


ADI serial driver


adi-uart4.0: ttySC0 at MMIO 0x31003000 (irq = 20, base_baud = 7031250) is a ADI-UART4


console [ttySC0] enabled


loop: module loaded


adi-spi3 31042000.spi: registered ADI SPI controller spi0


adi-spi3 31043000.spi: registered ADI SPI controller spi1


m25p80 spi2.38: found w25q128, expected w25q32


m25p80 spi2.38: w25q128 (16384 Kbytes)


3 ofpart partitions found on MTD device spi2.38


Creating 3 MTD partitions on "spi2.38":


0x000000000000-0x000000080000 : "uboot (spi)"


0x000000080000-0x000000600000 : "kernel (spi)"


0x000000600000-0x000001000000 : "root file system (spi)"


adi-spi3 31044000.spi: registered ADI SPI controller spi2


libphy: Fixed MDIO Bus: probed


CAN device driver interface


bfin_can 31000200.can: bfin_can device registered(&reg_base=f4000200, rx_irq=22, tx_irq=23, err_irq=24, sclk=112500000)


bfin_can 31000a00.can: bfin_can device registered(&reg_base=f4000a00, rx_irq=25, tx_irq=26, err_irq=27, sclk=112500000)


stmmaceth 3100c000.ethernet: no reset control found


stmmac - user ID: 0x10, Synopsys ID: 0x37


Ring mode enabled


DMA HW capability register supported


Enhanced/Alternate descriptors


        Enabled extended descriptors


RX Checksum Offload Engine supported (type 2)


TX Checksum insertion supported


Wake-Up On Lan supported


Enable RX Mitigation via HW Watchdog Timer


libphy: stmmac: probed


eth0: PHY ID 20005c7a at 1 IRQ POLL (stmmac-0:01) active


usbcore: registered new interface driver usb-storage


musb-hdrc MUSB HDRC host driver


musb-hdrc new USB bus registered, assigned bus number 1


hub 1-0:1.0: USB hub found


hub 1-0:1.0: 1 port detected


mousedev: PS/2 mouse device common for all mice


input: 3100b000.rotary as /devices/platform/scb/3100b000.rotary/input/input0


i2c /dev entries driver


adi_wdt: initialized: timeout=20 sec (nowayout=0)


Driver 'mmcblk' needs updating - please use bus_type methods


Synopsys Designware Multimedia Card Interface Driver


Blackfin hardware CRC crypto driver


bfin-hmac-crc 31001200.crc: initialized


bfin-hmac-crc 31001300.crc: initialized


usbcore: registered new interface driver usbhid


usbhid: USB HID core driver


icc 20080000.icc: initialized


TCP: cubic registered


NET: Registered protocol family 17


can: controller area network core (rev 20120528 abi 9)


NET: Registered protocol family 29


can: raw protocol (rev 20120528)


can: broadcast manager protocol (rev 20120528 t)


musb-hdrc VBUS_ERROR in a_idle (90, <VBusValid), retry #0, port1 00000100


can: netlink gateway (rev 20130117) max_hops=1


do_initcall_level level 7


ThumbEE CPU extension supported.


console [netcon0] enabled


netconsole: network logging started


/ch8/buildroot/linux/linux-kernel/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)


IP-Config: Complete:


     device=eth0, hwaddr=02:80:ad:20:31:e8, ipaddr=, mask=, gw=


     host=sc58x, domain=, nis-domain=(none)


     bootserver=, rootserver=, rootpath=


ALSA device list:


  No soundcards found.


Freeing unused kernel memory: 16860K (c04ed000 - c1564000)


Starting logging: OK


Starting mdev...


Starting watchdog...


Initializing random number generator... random: dd urandom read with 24 bits of entropy available




Starting system message bus: done


Starting network...


/bin/sh: run-parts: not found


ssh-keygen: generating new host keys: ED25519


Starting sshd: OK


Starting inetd: OK






Welcome to Buildroot


buildroot login: stmmaceth 3100c000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx


random: nonblocking pool is initialized