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.

usb problem in RR SDK on LeopardBoard

Other Parts Discussed in Thread: ASH

I  am debugging the usb(usb host mode) part in Leopard Board for these days.I have questions from Leopardboard in newest RR SDK.

When i pulg in USB disk in Leopardboard,the uart shows:

Please press Enter to activate this console.
starting pid 1122, tty '/dev/ttyS0': '-/bin/sh'


BusyBox v1.18.2 (2011-07-07 13:13:25 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/ # JFFS2 notice: (999) check_node_data: wrong data CRC in data node at 0x021f88
50: read 0xd291a0ae, calculated 0x225a1fd3.
JFFS2 notice: (999) check_node_data: wrong data CRC in data node at 0x021f7054:
read 0xd291a0ae, calculated 0x5423669e.
JFFS2 notice: (999) check_node_data: wrong data CRC in data node at 0x021f53c4:
read 0xd291a0ae, calculated 0xe50adfbf.
usb 1-1: new full speed USB device using musb_hdrc and address 2
usb 1-1: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
scsi 0:0:0:0: Direct-Access     Generic  USB Flash Drive  %z!Y PQ: 0 ANSI: 2
sd 0:0:0:0: [sda] 254464 512-byte logical blocks: (130 MB/124 MiB)
musb_rx_reinit 633: rx4, packet/13 ready?

/ # usb 1-1: reset full speed USB device using musb_hdrc and address 2
musb_h_ep0_irq 1084: no URB for end 0
usb 1-1: device descriptor read/64, error -110
musb_h_ep0_irq 1084: no URB for end 0
usb 1-1: device descriptor read/64, error -110
usb 1-1: reset full speed USB device using musb_hdrc and address 2
musb_h_ep0_irq 1084: no URB for end 0
usb 1-1: device descriptor read/64, error -110
musb_h_ep0_irq 1084: no URB for end 0
usb 1-1: device descriptor read/64, error -110
usb 1-1: reset full speed USB device using musb_hdrc and address 2
usb 1-1: device descriptor read/8, error -110
usb 1-1: device descriptor read/8, error -110
musb_h_ep0_irq 1084: no URB for end 0
usb 1-1: reset full speed USB device using musb_hdrc and address 2
usb 1-1: device descriptor read/8, error -110
usb 1-1: device descriptor read/8, error -110
usb 1-1: USB disconnect, address 2
sd 0:0:0:0: Device offlined - not ready after error recovery
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI removable disk
musb_h_ep0_irq 1084: no URB for end 0
usb 1-1: new full speed USB device using musb_hdrc and address 3
musb_h_ep0_irq 1084: no URB for end 0
usb 1-1: device descriptor read/64, error -110
musb_h_ep0_irq 1084: no URB for end 0
usb 1-1: device descriptor read/64, error -110
usb 1-1: new full speed USB device using musb_hdrc and address 4
musb_h_ep0_irq 1084: no URB for end 0
usb 1-1: device descriptor read/64, error -110
musb_h_ep0_irq 1084: no URB for end 0
usb 1-1: device descriptor read/64, error -110
usb 1-1: new full speed USB device using musb_hdrc and address 5
usb 1-1: device descriptor read/8, error -110
usb 1-1: device descriptor read/8, error -110
musb_h_ep0_irq 1084: no URB for end 0
usb 1-1: new full speed USB device using musb_hdrc and address 6
usb 1-1: device descriptor read/8, error -110
usb 1-1: device descriptor read/8, error -110
hub 1-0:1.0: unable to enumerate USB device on port 1

/ #

Is it a software problem or hardware problem?Who meet similar problem ?Could any expert help me?

thank you for any reply.

  • I think it is a driver problem.I can't find any of ohci,uhci,ehci driver in 2011 RR SDK when i do  "make config".where does uhci,ohci,ehci driver in 2011 RR SDK?anyone knows? 

    i read LeopardBoardDM365sdkEVAL2011Q2/kernel/linux-2.6.32.17-psp03.01.01.39/drivers/usb/Kconfig ,and i find

    #
    # USB device configuration
    #

    menuconfig USB_SUPPORT
     bool "USB support"
     depends on HAS_IOMEM
     default y
     ---help---
       This option adds core support for Universal Serial Bus (USB).
       You will also need drivers from the following menu to make use of it.

    if USB_SUPPORT

    # Host-side USB depends on having a host controller
    # NOTE:  dummy_hcd is always an option, but it's ignored here ...
    # NOTE:  SL-811 option should be board-specific ...
    config USB_ARCH_HAS_HCD
     boolean
     default y if USB_ARCH_HAS_OHCI
     default y if USB_ARCH_HAS_EHCI
     default y if PCMCIA && !M32R   # sl811_cs
     default y if ARM    # SL-811
     default y if SUPERH    # r8a66597-hcd
     default PCI

    # many non-PCI SOC chips embed OHCI
    config USB_ARCH_HAS_OHCI
     boolean
     # ARM:
     default y if SA1111
     default y if ARCH_OMAP
     default y if ARCH_LH7A404
     default y if ARCH_S3C2410
     default y if PXA27x
     default y if PXA3xx
     default y if ARCH_EP93XX
     default y if ARCH_AT91
     default y if ARCH_PNX4008 && I2C
     default y if MFD_TC6393XB
     default y if ARCH_W90X900
     # PPC:
     default y if STB03xxx
     default y if PPC_MPC52xx
     # MIPS:
     default y if SOC_AU1X00
     # SH:
     default y if CPU_SUBTYPE_SH7720
     default y if CPU_SUBTYPE_SH7721
     default y if CPU_SUBTYPE_SH7763
     default y if CPU_SUBTYPE_SH7786
     # more:
     default PCI

    # some non-PCI hcds implement EHCI
    config USB_ARCH_HAS_EHCI
     boolean
     default y if PPC_83xx
     default y if SOC_AU1200
     default y if ARCH_IXP4XX
     default y if ARCH_W90X900
     default y if ARCH_AT91SAM9G45
     default PCI

     

    the RR SDK arch is ARCH_DAVINCI,so default config have no ohci,uhci,ehci driver.2011 RR SDK don't support USB disk on default config.

    Am i right?Anyone knows?

  • Hi jonny gates, 

    Are you still facing the issue ?