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.

AM35x U-boot fails to detect flash drive

Other Parts Discussed in Thread: AM3517

Hi

I am using AM3517 EVM from logic PD. I want to access USB flash drive from UBOOT. But you UBOOT faile to detect flash drive after executing usb reset command from UBOOT terminal.  I tried few USB flash drives from different manufactures but result remains same.

Is it required to modify UBOOT source / configuration to access USB flash drives? 

Thanks 

Dhanya

  • Hi Dhanya,

    Which u-boot is this (from which SDK)?
    Do you get anything with usb dev, or usb start? Have in mind that you need to plug an USB device in the EVM, before executing any of the u-boot commands.

    Best Regards,
    Yordan
  • Hi Yordan

    Thanks for your reply and time. Yes, I used UBOOT which comes along with SDK from TI.

    I connected USB flash drive to USB host port before I power on board. I tried following formatting types FAT, FAT32, ext4 and ext3

    Here is the terminal output

    DRAM: 256 MiB
    WARNING: Caches not enabled
    NAND: HW ECC [Kernel/FS layout] selected
    512 MiB
    MMC: OMAP SD/MMC: 0
    *** Warning - bad CRC, using default environment

    In: serial
    Out: serial
    Err: serial
    Die ID #7460000100000000015da3961000d009
    Net: Ethernet PHY: GENERIC @ 0x00
    DaVinci-EMAC
    Hit any key to stop autoboot: 0
    AM3517_EVM #
    AM3517_EVM #
    AM3517_EVM # usb start
    (Re)start USB...
    USB: scanning bus for devices... No USB Device found
    scanning bus for storage devices... 0 Storage Device(s) found
    AM3517_EVM # usb dev

    USB device -1: device type unknown
    AM3517_EVM #


    with regards
    Dhanya
  • Hi.

    I've exactly the same problem on a TAM-3517 on a twister dev board from technexion (using uboot 2011.09-00000-g41b92fa).
    Do you happen to have any solution for the problem ?

    Regards,

    Michael
  • In response to myself, u-boot is able to detect my flash drive when connected to the mini usb port (with a custom cable I soldered).
    However, I'm having a error:
    USB: scanning bus for devices... 1 USB Device(s) found
    scanning bus for storage devices... READ_CAP ERROR
  • Sorry Michael.

    I didn't dig further into this issue as we decided to use SD card (MMC interface) to load and program images onto NAND memory.

    You may compare UBOOT USB host driver against kernel USB host driver and copy missing source to UBOOT. (Because kernel detects USB flash drives connected USB host connector on board) I was doing this but then stopped

    regards
    Dhanya
  • In another response to myself (for posterity in case somebody faces the same issues, not because I like talking to myself...):
    I don't have the error when using an old 256 MB usb key, and I'm able to read the files (with uboot cmd> fatls usb 0:1).
  • Thank you for your answer, I may be going doing that road...
    Have a nice day,
    Regards,
    Michael