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.

DM6467T USB

Other Parts Discussed in Thread: THS7303, THS8200, THS7353, TVP7002

hi,

I cann't find my USB disk in the DM6467T board (TI'S DM6467T evm BOARD),the following is the output informations,

root@dm6467t-evm:/dev# fdisk -l

Disk /dev/hda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf7181103

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1        3404    27342598+  83  Linux
/dev/hda2            3405        4864    11727450   83  Linux
root@dm6467t-evm:/dev# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root             17900324   7474540   9516472  44% /
none                         8         8         0 100% /dev
tmpfs                    16384        20     16364   0% /var/volatile
tmpfs                    54720         0     54720   0% /dev/shm
tmpfs                    16384         0     16384   0% /media/ram
/dev/hda2             11543048   1584084   9372592  14% /media/hda2
/dev/hda1             26912760   1925852  23619780   8% /media/hda1

I have opened menuconfig,use the defaults,and default boards sets.how can i find my usb disk, and read/write it?

thanks a lot,

Xu Wenhao

  • Hi,

    Can you share the dmesg log (with the usb stcik connected)?

    regards

    swami

  • hi,Swami,

    this is my  dmesg log informations.there is not any informtions output when I insert my U disk to the board. 

    Creating 4 MTD partitions on "davinci_nand.0":
    0x000000000000-0x000000020000 : "params"
    0x000000020000-0x000000160000 : "bootloader"
    0x000000160000-0x000000560000 : "kernel"
    0x000000560000-0x000008000000 : "filesystem"
    davinci_nand davinci_nand.0: controller rev. 2.2
    spi_davinci spi_davinci.0: DaVinci SPI driver in EDMA mode
    Using RX channel = 17 , TX channel = 16 and event queue = 3
    at25 spi0.0: 32 KByte at25640a eeprom, pagesize 64
    spi_davinci spi_davinci.0: Controller at 0xfec66800
    PPP generic driver version 2.4.2
    PPP Deflate Compression module registered
    tun: Universal TUN/TAP device driver, 1.6
    tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    dm9000 Ethernet Driver, V1.31
    console [netcon0] enabled
    netconsole: network logging started
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    usbcore: registered new interface driver usbtest
    g_ether gadget: using random self ethernet address
    g_ether gadget: using random host ethernet address
    usb0: MAC 9e:a1:ff:6a:d2:82
    usb0: HOST MAC 86:83:ff:cb:87:2c
    g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
    g_ether gadget: g_ether ready
    i2c /dev entries driver
    Linux video capture interface: v2.00
    vpif_display vpif_display: channel=c518b000,channel->video_dev=c518b000
    vpif_display vpif_display: channel=c518b400,channel->video_dev=c518b400
    ths7303 1-002c: chip found @ 0x58 (DaVinci I2C adapter)
    ths8200 1-0020: chip found @ 0x40 (DaVinci I2C adapter)
    ths7353 1-002e: chip found @ 0x5c (DaVinci I2C adapter)
    vpif_capture vpif_capture: registered sub device ths7353
    tvp7002 1-005d: tvp7002 1-005d decoder driver registered !!
    vpif_capture vpif_capture: registered sub device tvp7002
    vpif_capture vpif_capture: DM646x VPIF Capture driver initialized
    watchdog watchdog: heartbeat 60 sec
    usbcore: registered new interface driver usbhid
    usbhid: v2.6:USB HID core driver
    Advanced Linux Sound Architecture Driver Version 1.0.21.
    No device for DAI tlv320aic3x
    asoc: tlv320aic3x <-> davinci-i2s mapping ok
    asoc: DIT <-> davinci-dit mapping ok
    ALSA device list:
      #0: DaVinci DM6467 EVM (tlv320aic3x)
    TCP cubic registered
    NET: Registered protocol family 17
    Clocks: disable unused uart1
    Clocks: disable unused emac
    Clocks: disable unused timer1
    emac-mii: probed
    drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
    eth0: attached PHY driver [ET1011C] (mii_bus:phy_addr=1:01, id=282f013)
    Sending DHCP requests ..
    PHY: 1:01 - Link is Up - 1000/Full
    ., OK
    IP-Config: Got DHCP answer from 192.168.154.240, my address is 192.168.154.243
    IP-Config: Complete:
         device=eth0, addr=192.168.154.243, mask=255.255.255.0, gw=255.255.255.255,
         host=192.168.154.243, domain=, nis-domain=(none),
         bootserver=192.168.154.240, rootserver=192.168.154.240, rootpath=
    Looking up port of RPC 100003/2 on 192.168.154.240
    Looking up port of RPC 100005/1 on 192.168.154.240
    VFS: Mounted root (nfs filesystem) on device 0:13.
    Freeing init memory: 144K
    udev: starting version 141
    snd_page_alloc: exports duplicate symbol snd_free_pages (owned by kernel)
    soundcore: exports duplicate symbol sound_class (owned by kernel)
    snd: module is already loaded
    snd_timer: module is already loaded
    snd_pcm: module is already loaded
    snd_soc_core: exports duplicate symbol snd_soc_unregister_codec (owned by kernel
    )
    snd_soc_tlv320aic3x: exports duplicate symbol soc_codec_dev_aic3x (owned by kern
    el)
    NET: Registered protocol family 10
    eth0: no IPv6 routers present

     

    Best Regards,

    Xu wenhao

  • hi,Swami,

    this is another my  dmesg log informations.there is not any informtions output when I insert my U disk to the board. there is "NOP_USB_XCEIV: EXPORTS DUPLICATE SYMBOL USB_NOP_XCEIV_UNREGISTER (OWNED BY KERNEL)" in the following.

     

    CREATING 4 MTD PARTITIONS ON "DAVINCI_NAND.0":
    0X000000000000-0X000000020000 : "PARAMS"
    0X000000020000-0X000000160000 : "BOOTLOADER"
    0X000000160000-0X000000560000 : "KERNEL"
    0X000000560000-0X000008000000 : "FILESYSTEM"
    DAVINCI_NAND DAVINCI_NAND.0: CONTROLLER REV. 2.2
    SPI_DAVINCI SPI_DAVINCI.0: DAVINCI SPI DRIVER IN EDMA MODE
    USING RX CHANNEL = 17 , TX CHANNEL = 16 AND EVENT QUEUE = 3
    AT25 SPI0.0: 32 KBYTE AT25640A EEPROM, PAGESIZE 64
    SPI_DAVINCI SPI_DAVINCI.0: CONTROLLER AT 0XFEC66800
    PPP GENERIC DRIVER VERSION 2.4.2
    PPP DEFLATE COMPRESSION MODULE REGISTERED
    TUN: UNIVERSAL TUN/TAP DEVICE DRIVER, 1.6
    TUN: (C) 1999-2004 MAX KRASNYANSKY <MAXK@QUALCOMM.COM>
    DM9000 ETHERNET DRIVER, V1.31
    CONSOLE [NETCON0] ENABLED
    NETCONSOLE: NETWORK LOGGING STARTED
    INITIALIZING USB MASS STORAGE DRIVER...
    USBCORE: REGISTERED NEW INTERFACE DRIVER USB-STORAGE
    USB MASS STORAGE SUPPORT REGISTERED.
    USBCORE: REGISTERED NEW INTERFACE DRIVER USBTEST
    G_ETHER GADGET: USING RANDOM SELF ETHERNET ADDRESS
    G_ETHER GADGET: USING RANDOM HOST ETHERNET ADDRESS
    USB0: MAC 76:44:CA:E2:07:63
    USB0: HOST MAC 52:FF:33:CE:1A:88
    G_ETHER GADGET: ETHERNET GADGET, VERSION: MEMORIAL DAY 2008
    G_ETHER GADGET: G_ETHER READY
    I2C /DEV ENTRIES DRIVER
    LINUX VIDEO CAPTURE INTERFACE: V2.00
    VPIF_DISPLAY VPIF_DISPLAY: CHANNEL=C503D000,CHANNEL->VIDEO_DEV=C503D000
    VPIF_DISPLAY VPIF_DISPLAY: CHANNEL=C503D400,CHANNEL->VIDEO_DEV=C503D400
    THS7303 1-002C: CHIP FOUND @ 0X58 (DAVINCI I2C ADAPTER)
    THS8200 1-0020: CHIP FOUND @ 0X40 (DAVINCI I2C ADAPTER)
    THS7353 1-002E: CHIP FOUND @ 0X5C (DAVINCI I2C ADAPTER)
    VPIF_CAPTURE VPIF_CAPTURE: REGISTERED SUB DEVICE THS7353
    TVP7002 1-005D: TVP7002 1-005D DECODER DRIVER REGISTERED !!
    VPIF_CAPTURE VPIF_CAPTURE: REGISTERED SUB DEVICE TVP7002
    VPIF_CAPTURE VPIF_CAPTURE: DM646X VPIF CAPTURE DRIVER INITIALIZED
    WATCHDOG WATCHDOG: HEARTBEAT 60 SEC
    USBCORE: REGISTERED NEW INTERFACE DRIVER USBHID
    USBHID: V2.6:USB HID CORE DRIVER
    ADVANCED LINUX SOUND ARCHITECTURE DRIVER VERSION 1.0.21.
    NO DEVICE FOR DAI TLV320AIC3X
    ASOC: TLV320AIC3X <-> DAVINCI-I2S MAPPING OK
    ASOC: DIT <-> DAVINCI-DIT MAPPING OK
    ALSA DEVICE LIST:
      #0: DAVINCI DM6467 EVM (TLV320AIC3X)
    TCP CUBIC REGISTERED
    NET: REGISTERED PROTOCOL FAMILY 17
    CLOCKS: DISABLE UNUSED UART1
    CLOCKS: DISABLE UNUSED EMAC
    CLOCKS: DISABLE UNUSED TIMER1
    EMAC-MII: PROBED
    DRIVERS/RTC/HCTOSYS.C: UNABLE TO OPEN RTC DEVICE (RTC0)
    ETH0: ATTACHED PHY DRIVER [ET1011C] (MII_BUS:PHY_ADDR=1:01, ID=282F013)
    SENDING DHCP REQUESTS ..
    PHY: 1:01 - LINK IS UP - 1000/FULL
    ., OK
    IP-CONFIG: GOT DHCP ANSWER FROM 192.168.154.240, MY ADDRESS IS 192.168.154.236
    IP-CONFIG: COMPLETE:
         DEVICE=ETH0, ADDR=192.168.154.236, MASK=255.255.255.0, GW=255.255.255.255,
    HOST=192.168.154.236, DOMAIN=, NIS-DOMAIN=(NONE),
         BOOTSERVER=192.168.154.240, ROOTSERVER=192.168.154.240, ROOTPATH=
    LOOKING UP PORT OF RPC 100003/2 ON 192.168.154.240
    LOOKING UP PORT OF RPC 100005/1 ON 192.168.154.240
    VFS: MOUNTED ROOT (NFS FILESYSTEM) ON DEVICE 0:13.
    FREEING INIT MEMORY: 144K
    NAND_ECC: EXPORTS DUPLICATE SYMBOL NAND_CORRECT_DATA (OWNED BY KERNEL)
    NAND_IDS: EXPORTS DUPLICATE SYMBOL NAND_FLASH_IDS (OWNED BY KERNEL)
    MTD: EXPORTS DUPLICATE SYMBOL ADD_MTD_PARTITIONS (OWNED BY KERNEL)
    NOP_USB_XCEIV: EXPORTS DUPLICATE SYMBOL USB_NOP_XCEIV_UNREGISTER (OWNED BY KERNE
    L)
    SND_PAGE_ALLOC: EXPORTS DUPLICATE SYMBOL SND_FREE_PAGES (OWNED BY KERNEL)
    NAND: EXPORTS DUPLICATE SYMBOL NAND_DEFAULT_BBT (OWNED BY KERNEL)
    NOP_USB_XCEIV: EXPORTS DUPLICATE SYMBOL USB_NOP_XCEIV_UNREGISTER (OWNED BY KERNE
    L)
    MUSB_HDRC: MODULE IS ALREADY LOADED
    IDE_CORE: EXPORTS DUPLICATE SYMBOL GENERIC_IDE_IOCTL (OWNED BY KERNEL)
    SOUNDCORE: EXPORTS DUPLICATE SYMBOL SOUND_CLASS (OWNED BY KERNEL)
    ERROR: DRIVER 'DAVINCI_NAND' IS ALREADY REGISTERED, ABORTING...
    SND_PAGE_ALLOC: EXPORTS DUPLICATE SYMBOL SND_FREE_PAGES (OWNED BY KERNEL)
    ERROR: DRIVER 'WATCHDOG' IS ALREADY REGISTERED, ABORTING...
    SND: MODULE IS ALREADY LOADED
    ERROR: DRIVER 'PALM_BK3710' IS ALREADY REGISTERED, ABORTING...
    SND_PAGE_ALLOC: EXPORTS DUPLICATE SYMBOL SND_FREE_PAGES (OWNED BY KERNEL)
    ERROR: DRIVER 'WATCHDOG' IS ALREADY REGISTERED, ABORTING...
    SND: MODULE IS ALREADY LOADED
    ERROR: DRIVER 'PALM_BK3710' IS ALREADY REGISTERED, ABORTING...
    SOUNDCORE: EXPORTS DUPLICATE SYMBOL SOUND_CLASS (OWNED BY KERNEL)
    SND_TIMER: MODULE IS ALREADY LOADED
    SND: MODULE IS ALREADY LOADED
    SND_PCM: MODULE IS ALREADY LOADED
    SND_TIMER: MODULE IS ALREADY LOADED
    SND_SOC_CORE: EXPORTS DUPLICATE SYMBOL SND_SOC_UNREGISTER_CODEC (OWNED BY KERNEL
    )
    SND_PCM: MODULE IS ALREADY LOADED
    SND_SOC_CORE: EXPORTS DUPLICATE SYMBOL SND_SOC_UNREGISTER_CODEC (OWNED BY KERNEL
    )
    SND_SOC_TLV320AIC3X: EXPORTS DUPLICATE SYMBOL SOC_CODEC_DEV_AIC3X (OWNED BY KERN
    EL)
    NET: REGISTERED PROTOCOL FAMILY 10
    ETH0: NO IPV6 ROUTERS PRESENT
    PHY: 1:01 - LINK IS DOWN
    NFS: SERVER 192.168.154.240 NOT RESPONDING, STILL TRYING
    NFS: SERVER 192.168.154.240 NOT RESPONDING, STILL TRYING
    PHY: 1:01 - LINK IS UP - 1000/FULL
    NFS: SERVER 192.168.154.240 OK
    NFS: SERVER 192.168.154.240 OK

    Best Regards,

    Xu wenhao

  • Xu Wenhao,

    It appears that your default config is built to support Device mode usb operation.

    Can you modify the configuration (using menuconfig) and enable the usb host mode configuration?

    regards

    swami

  • hi,swami

    this is my menuconfig set:

     

     SCSI device support setect:


     < > RAID Transport Class                                         │ │
      │ │    -*- SCSI device support                                          │ │
      │ │    < > SCSI target support                                          │ │
      │ │    [*] legacy /proc/scsi/ support                                   │ │
      │ │        *** SCSI support type (disk, tape, CD-ROM) ***               │ │
      │ │    <*> SCSI disk support                                            │ │
      │ │    < > SCSI tape support                                            │ │
      │ │    < > SCSI OnStream SC-x0 tape support                             │ │
      │ │    < > SCSI CDROM support                                           │ │
      │ │    < > SCSI generic support   
      │ │    < > SCSI media changer support                                   │ │
      │ │    [ ] Probe all LUNs on each SCSI device                           │ │
      │ │    [ ] Verbose SCSI error reporting (kernel size +=12K)             │ │
      │ │    [ ] SCSI logging facility                                        │ │

     --- USB support select:                                                 │ │
      │ │    <*>   Support for Host-side USB                                  │ │
      │ │    [ ]     USB verbose debug messages                               │ │
      │ │    [ ]     USB announce new devices                                 │ │
      │ │            *** Miscellaneous USB options ***                        │ │
      │ │    [*]     USB device filesystem (DEPRECATED)                       │ │
      │ │    [*]     USB device class-devices (DEPRECATED)                    │ │
      │ │    [ ]     Dynamic USB minor allocation                             │ │
      │ │    [ ]     Rely on OTG Targeted Peripherals List                    │ │
      │ │    [ ]     Disable external hubs                                    │ │
      │ └────┴(+)───────────────────────────────
        <*>     USB Monitor                                              │ │
      │ │    < >     Enable Wireless USB extensions (EXPERIMENTAL)            │ │
      │ │    < >     Support WUSB Cable Based Association (CBA)               │ │
      │ │            *** USB Host Controller Drivers ***                      │ │
      │ │    < >     Cypress C67x00 HCD support                               │ │
      │ │    < >     OXU210HP HCD support                                     │ │
      │ │    < >     ISP116X HCD support                                      │ │
      │ │    < >     ISP 1760 HCD support                                     │ │
      │ │    < >     ISP1362 HCD support                     
      │ │    < >     SL811HS HCD support                                      │ │
      │ │    < >     R8A66597 HCD support                                     │ │
      │ │    < >     Host Wire Adapter (HWA) driver (EXPERIMENTAL)            │ │
      │ │    <*>   Inventra Highspeed Dual Role Controller (TI, ADI, ...)     │ │
      │ │            *** DaVinci 35x, 36x, 644x USB support ***               │ │
      │ │            Driver Mode (USB Peripheral (gadget stack))  --->        │ │
      │ │    [*]     Disable DMA (always use PIO)                             │ │
      │ │    [ ]     Enable debugging messages                                │ │
      │ │          *** USB Device Class drivers ***     
        < >   USB Modem (CDC ACM) support                                │ │
      │ │    < >   USB Printer support                                        │ │
      │ │    < >   USB Wireless Device Management support                     │ │
      │ │    < >   USB Test and Measurement Class support                     │ │
      │ │          *** NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may **│ │
      │ │          *** also be needed; see USB_STORAGE Help for more info *** │ │
      │ │    <*>   USB Mass Storage support                                   │ │
      │ │    [ ]     USB Mass Storage verbose debug                           │ │
      │ │    < >     Datafab Compact Flash Reader support                     │ │
      │ │    < >     Freecom USB/ATAPI Bridge support    
        < >     ISD-200 USB/ATA Bridge support                           │ │
      │ │    < >     USBAT/USBAT02-based storage support                      │ │
      │ │    < >     SanDisk SDDR-09 (and other SmartMedia, including DPCM) su│ │
      │ │    < >     SanDisk SDDR-55 SmartMedia support                       │ │
      │ │    < >     Lexar Jumpshot Compact Flash Reader                      │ │
      │ │    < >     Olympus MAUSB-10/Fuji DPC-R1 support                     │ │
      │ │    < >     Support OneTouch Button on Maxtor Hard Drives            │ │
      │ │    < >     Support for Rio Karma music player                       │ │
      │ │    < >     SAT emulation on Cypress USB/ATA Bridge with ATACB       │ │
      │ │    [ ]   The shared table of common (or usual) storage devices      │ │
      │ └────┴(+)──────────────────────────────         *** USB Imaging devices ***                                │ │
      │ │    < >   USB Mustek MDC800 Digital Camera support                   │ │
      │ │    < >   Microtek X6USB scanner support                             │ │
      │ │          *** USB port drivers ***                                   │ │
      │ │    < >   USB Serial Converter support  --->                         │ │
      │ │          *** USB Miscellaneous drivers ***                          │ │
      │ │    < >   EMI 6|2m USB Audio interface support                       │ │
      │ │    < >   EMI 2|6 USB Audio interface support                        │ │
      │ │    < >   ADU devices from Ontrak Control Systems                    │ │
      │ │    < >   USB 7-Segment LED Display          
    │    < >   USB Diamond Rio500 support                                 │ │
      │ │    < >   USB Lego Infrared Tower support                            │ │
      │ │    < >   USB LCD driver support                                     │ │
      │ │    < >   USB BlackBerry recharge support                            │ │
      │ │    < >   USB LED driver support                                     │ │
      │ │    < >   Cypress CY7C63xxx USB driver support                       │ │
      │ │    < >   Cypress USB thermometer driver support                     │ │
      │ │    < >   Siemens ID USB Mouse Fingerprint sensor support            │ │
      │ │    < >   Elan PCMCIA CardBus Adapter USB Client                     │ │
      │ │    < >   Apple Cinema Display support         
        < >   Apple Cinema Display support                               │ │
      │ │    < >   USB 2.0 SVGA dongle support (Net2280/SiS315)               │ │
      │ │    < >   USB LD driver                                              │ │
      │ │    < >   PlayStation 2 Trance Vibrator driver support               │ │
      │ │    < >   IO Warrior driver support                                  │ │
      │ │    <*>   USB testing driver                                         │ │
      │ │    < >   iSight firmware loading support                            │ │
      │ │    < >   USB VST driver                                             │ │
      │ │    <*>   USB Gadget Support  --->                                   │ │
      │ │          *** OTG and related infrastructure ***      
      < >   GPIO based peripheral-only VBUS sensing 'transceiver'      │ │
      │ │    -*-   NOP USB Transceiver Driver  

    best regards,

    Xuwenhao

     


      │ │    [ ] Asynchronous SCSI scanning                                   │ │
      │ │        SCSI Transports  --->                                        │ │
      │ │    [*] SCSI low-level drivers  --->                                 │ │
      │ │    < > SCSI Device Handlers  --->                                   │ │
      │ │    < > OSD-Initiator library