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.

TMDSEVM437X: USB boot issue

Part Number: TMDSEVM437X

Hello,

When I try to boot this EVM using latest processor SDK, it does not proceed to load u-boot.

It appears that the USB storage driver needed could not be enabled due to possible conflict of options.

U-Boot SPL 2019.01-g65a9755-dirty (Sep 05 2019 - 13:00:09 +0530)
Trying to boot from USB
USB0:   Register 2000440 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
SPL: Please implement spl_start_uboot() for your board
SPL: Direct Linux boot not active!

I have tried the supplied configuration file am43xx_evm_usbhost_boot_defconfig as well as the custom one.
Tried various options without any success.

Looking forward for your suggestions to overcome this issue,

Thanks

  • Hello,

    The log attached above is with the am43xx_evm_usbhost_boot_defconfig or your custom config? If possible, please attach the error log observed with TI defconfig. 

    Regards,
    Krunal 

  • Hello,

    Thank you for your reply.

    Just to be doubly sure, I tested this again with "am43xx_evm_usbhost_boot_defconfig" file and it produced the same log.

    U-Boot SPL 2019.01-g65a9755 (Sep 06 2019 - 08:42:45 +0530)
    Trying to boot from USB
    USB0:   Register 2000440 NbrPorts 2
    Starting the controller
    USB XHCI 1.00
    scanning bus 0 for devices... 2 USB Device(s) found
    SPL: Please implement spl_start_uboot() for your board
    SPL: Direct Linux boot not active!
    

    Could not get any clues from the configure step (make with config file). The log was normal.

    Compile step produces the following warning, 

    /home/rxh22/tisdk6/board-support/u-boot-2019.01+gitAUTOINC+8b90adfb16-g8b90adfb16/common/spl/spl_usb.c: In function \u2018spl_usb_load_image\u2019:
    /home/rxh22/tisdk6/board-support/u-boot-2019.01+gitAUTOINC+8b90adfb16-g8b90adfb16/common/spl/spl_usb.c:53:9: warning: \u2018stor_dev\u2019 may be used uninitialized in this function [-Wmaybe-uninitialized]
       err = spl_load_image_fat(spl_image, stor_dev,
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          CONFIG_SYS_USB_FAT_BOOT_PARTITION,
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          CONFIG_SPL_FS_LOAD_PAYLOAD_NAME);
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ===================== WARNING ======================
    This board does not use CONFIG_DM_USB. Please update
    the board to use CONFIG_DM_USB before the v2019.07 release.
    Failure to update by the deadline may result in board removal.
    See doc/driver-model/MIGRATION.txt for more info.
    ====================================================

    As per my understanding of the said source code, I find that CONFIG_USB_STORAGE seems to be missing.

    On my  custom config, I enabled it along with few other settings. However, i continue to get the same warning.
    Manual examination of .config confirms that the option is removed before compilation.

    Let me know, if you need more input or difficulty in reproducing. 

    Looking forward for your reply,

    Thanks

  • Hi,

    I am able to reproduce the issue. It seems like the feature is currently broken. We will investigate it and keep you posted. It might take a few weeks.