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.

AM5728 SR2.0 eMMC access failure

Other Parts Discussed in Thread: AM5728, DRA742

Hello,

We are trying to upgrade from AM5728 revision SR1.1 to SR2.0 on our custom board.

The custom board U-Boot patches were applied on top of TI U-Boot 2015.07.

IO delay parameters were taken from the array dra742_es2_0_iodelay_cfg_array @ board/ti/dra7xx/mux_data.h

The following error message is generated for eMMC access attempt:

U-Boot# mmc list
OMAP SD/MMC: 0
OMAP SD/MMC: 1
U-Boot# mmc dev 1
omap_hsmmc_send_cmd: timedout waiting on cmd inhibit to clear

Did I used the correct IO delay parameters?

Please let me know if additional information is needed.

Thanks,

Uri

  • Hi Uri,

    Actually you should use the delay parameters specified in board/ti/am57xx/mux_data.h from the latest TI SDK 02.00.02.11. The io delays specified in board/ti/dra7xx are for the Vayu EVM, not the AM57xx EVM.

    Also can you specify how you build your u-boot? You may be using a wrong configuration.

    Best Regards,
    Yordan

  • Hi Yordan,

    Thank you for the quick response.

    The same results with delay parameters from  SDK 02.00.02.11, board/ti/am57xx/mux_data.h.

    The relevant configuration files are included.

    Thanks,

    Uri

    #
    # Automatically generated file; DO NOT EDIT.
    # U-Boot 2015.07 Configuration
    #
    CONFIG_HAVE_GENERIC_BOARD=y
    # CONFIG_ARC is not set
    CONFIG_ARM=y
    # CONFIG_AVR32 is not set
    # CONFIG_BLACKFIN is not set
    # CONFIG_M68K is not set
    # CONFIG_MICROBLAZE is not set
    # CONFIG_MIPS is not set
    # CONFIG_NDS32 is not set
    # CONFIG_NIOS2 is not set
    # CONFIG_OPENRISC is not set
    # CONFIG_PPC is not set
    # CONFIG_SANDBOX is not set
    # CONFIG_SH is not set
    # CONFIG_SPARC is not set
    # CONFIG_X86 is not set
    CONFIG_SYS_ARCH="arm"
    CONFIG_SYS_CPU="armv7"
    CONFIG_SYS_SOC="omap5"
    CONFIG_SYS_VENDOR="compulab"
    CONFIG_SYS_BOARD="cl-som-am57x"
    CONFIG_SYS_CONFIG_NAME="cl-som-am57x"
    
    #
    # ARM architecture
    #
    CONFIG_HAS_VBAR=y
    CONFIG_CPU_V7=y
    # CONFIG_SEMIHOSTING is not set
    # CONFIG_ARCH_AT91 is not set
    # CONFIG_TARGET_EDB93XX is not set
    # CONFIG_TARGET_SCB9328 is not set
    # CONFIG_TARGET_VCMA9 is not set
    # CONFIG_TARGET_SMDK2410 is not set
    # CONFIG_TARGET_ASPENITE is not set
    # CONFIG_TARGET_GPLUGD is not set
    # CONFIG_ARCH_DAVINCI is not set
    # CONFIG_KIRKWOOD is not set
    # CONFIG_TARGET_DB_88F6820_GP is not set
    # CONFIG_TARGET_DB_MV784MP_GP is not set
    # CONFIG_TARGET_MAXBCM is not set
    # CONFIG_TARGET_DEVKIT3250 is not set
    # CONFIG_TARGET_WORK_92105 is not set
    # CONFIG_TARGET_MX25PDK is not set
    # CONFIG_TARGET_TX25 is not set
    # CONFIG_TARGET_ZMX25 is not set
    # CONFIG_TARGET_APF27 is not set
    # CONFIG_TARGET_IMX27LITE is not set
    # CONFIG_TARGET_MAGNESIUM is not set
    # CONFIG_TARGET_APX4DEVKIT is not set
    # CONFIG_TARGET_XFI3 is not set
    # CONFIG_TARGET_M28EVK is not set
    # CONFIG_TARGET_MX23EVK is not set
    # CONFIG_TARGET_MX28EVK is not set
    # CONFIG_TARGET_MX23_OLINUXINO is not set
    # CONFIG_TARGET_BG0900 is not set
    # CONFIG_TARGET_SANSA_FUZE_PLUS is not set
    # CONFIG_TARGET_SC_SPS_1 is not set
    # CONFIG_ARCH_NOMADIK is not set
    # CONFIG_ORION5X is not set
    # CONFIG_TARGET_SPEAR300 is not set
    # CONFIG_TARGET_SPEAR310 is not set
    # CONFIG_TARGET_SPEAR320 is not set
    # CONFIG_TARGET_SPEAR600 is not set
    # CONFIG_TARGET_STV0991 is not set
    # CONFIG_TARGET_X600 is not set
    # CONFIG_ARCH_VERSATILE is not set
    # CONFIG_TARGET_IMX31_PHYCORE is not set
    # CONFIG_TARGET_QONG is not set
    # CONFIG_TARGET_MX31ADS is not set
    # CONFIG_TARGET_MX31PDK is not set
    # CONFIG_TARGET_TT01 is not set
    # CONFIG_TARGET_IMX31_LITEKIT is not set
    # CONFIG_TARGET_WOODBURN is not set
    # CONFIG_TARGET_WOODBURN_SD is not set
    # CONFIG_TARGET_FLEA3 is not set
    # CONFIG_TARGET_MX35PDK is not set
    # CONFIG_ARCH_BCM283X is not set
    # CONFIG_TARGET_VEXPRESS_CA15_TC2 is not set
    # CONFIG_TARGET_VEXPRESS_CA5X2 is not set
    # CONFIG_TARGET_VEXPRESS_CA9X4 is not set
    # CONFIG_TARGET_KWB is not set
    # CONFIG_TARGET_TSERIES is not set
    # CONFIG_TARGET_CM_T335 is not set
    # CONFIG_TARGET_PEPPER is not set
    # CONFIG_TARGET_AM335X_IGEP0033 is not set
    # CONFIG_TARGET_PCM051 is not set
    # CONFIG_TARGET_DRACO is not set
    # CONFIG_TARGET_THUBAN is not set
    # CONFIG_TARGET_RASTABAN is not set
    # CONFIG_TARGET_PXM2 is not set
    # CONFIG_TARGET_RUT is not set
    # CONFIG_TARGET_PENGWYN is not set
    # CONFIG_TARGET_AM335X_BALTOS is not set
    # CONFIG_TARGET_AM335X_EVM is not set
    # CONFIG_TARGET_BAV335X is not set
    # CONFIG_TARGET_TI814X_EVM is not set
    # CONFIG_TARGET_TI816X_EVM is not set
    # CONFIG_TARGET_BCM28155_AP is not set
    # CONFIG_TARGET_BCMCYGNUS is not set
    # CONFIG_TARGET_BCMNSP is not set
    # CONFIG_ARCH_EXYNOS is not set
    # CONFIG_ARCH_S5PC1XX is not set
    # CONFIG_ARCH_HIGHBANK is not set
    # CONFIG_ARCH_INTEGRATOR is not set
    # CONFIG_ARCH_KEYSTONE is not set
    # CONFIG_ARCH_MX6 is not set
    # CONFIG_ARCH_MX5 is not set
    # CONFIG_TARGET_M53EVK is not set
    # CONFIG_TARGET_IMA3_MX53 is not set
    # CONFIG_TARGET_MX51EVK is not set
    # CONFIG_TARGET_MX53ARD is not set
    # CONFIG_TARGET_MX53EVK is not set
    # CONFIG_TARGET_MX53LOCO is not set
    # CONFIG_TARGET_MX53SMD is not set
    # CONFIG_TARGET_MX51_EFIKAMX is not set
    # CONFIG_TARGET_VISION2 is not set
    # CONFIG_TARGET_UDOO is not set
    # CONFIG_TARGET_WANDBOARD is not set
    # CONFIG_TARGET_WARP is not set
    # CONFIG_TARGET_TITANIUM is not set
    # CONFIG_TARGET_NITROGEN6X is not set
    # CONFIG_TARGET_CGTQMX6EVAL is not set
    # CONFIG_TARGET_EMBESTMX6BOARDS is not set
    # CONFIG_TARGET_ARISTAINETOS is not set
    # CONFIG_TARGET_ARISTAINETOS2 is not set
    # CONFIG_TARGET_MX6QARM2 is not set
    # CONFIG_TARGET_MX6QSABREAUTO is not set
    # CONFIG_TARGET_MX6SABRESD is not set
    # CONFIG_TARGET_MX6CUBOXI is not set
    # CONFIG_TARGET_MX6SLEVK is not set
    # CONFIG_TARGET_MX6SXSABRESD is not set
    # CONFIG_TARGET_GW_VENTANA is not set
    # CONFIG_TARGET_KOSAGI_NOVENA is not set
    # CONFIG_TARGET_TBS2910 is not set
    # CONFIG_TARGET_OT1200 is not set
    # CONFIG_TARGET_PLATINUM_PICON is not set
    # CONFIG_TARGET_PLATINUM_TITANIUM is not set
    # CONFIG_OMAP34XX is not set
    # CONFIG_OMAP44XX is not set
    CONFIG_OMAP54XX=y
    # CONFIG_AM43XX is not set
    # CONFIG_RMOBILE is not set
    # CONFIG_TARGET_CM_FX6 is not set
    # CONFIG_ARCH_SOCFPGA is not set
    # CONFIG_ARCH_SUNXI is not set
    # CONFIG_TARGET_SNOWBALL is not set
    # CONFIG_TARGET_U8500_HREF is not set
    # CONFIG_TARGET_VF610TWR is not set
    # CONFIG_TARGET_COLIBRI_VF is not set
    # CONFIG_ARCH_ZYNQ is not set
    # CONFIG_TARGET_XILINX_ZYNQMP is not set
    # CONFIG_TEGRA is not set
    # CONFIG_TARGET_VEXPRESS64_AEMV8A is not set
    # CONFIG_TARGET_VEXPRESS64_BASE_FVP is not set
    # CONFIG_TARGET_VEXPRESS64_JUNO is not set
    # CONFIG_TARGET_LS2085A_EMU is not set
    # CONFIG_TARGET_LS2085A_SIMU is not set
    # CONFIG_TARGET_LS2085AQDS is not set
    # CONFIG_TARGET_LS2085ARDB is not set
    # CONFIG_TARGET_LS1021AQDS is not set
    # CONFIG_TARGET_LS1021ATWR is not set
    # CONFIG_TARGET_BALLOON3 is not set
    # CONFIG_TARGET_H2200 is not set
    # CONFIG_TARGET_PALMLD is not set
    # CONFIG_TARGET_PALMTC is not set
    # CONFIG_TARGET_PALMTREO680 is not set
    # CONFIG_TARGET_PXA255_IDP is not set
    # CONFIG_TARGET_TRIZEPSIV is not set
    # CONFIG_TARGET_VPAC270 is not set
    # CONFIG_TARGET_XAENIAX is not set
    # CONFIG_TARGET_ZIPITZ2 is not set
    # CONFIG_TARGET_LP8X4X is not set
    # CONFIG_TARGET_COLIBRI_PXA270 is not set
    # CONFIG_TARGET_JORNADA is not set
    # CONFIG_ARCH_UNIPHIER is not set
    # CONFIG_TARGET_STM32F429_DISCOVERY is not set
    # CONFIG_TI_SECURE_DEVICE is not set
    # CONFIG_TARGET_CM_T54 is not set
    # CONFIG_TARGET_OMAP5_UEVM is not set
    # CONFIG_TARGET_DRA7XX_EVM is not set
    # CONFIG_TARGET_BEAGLE_X15 is not set
    CONFIG_TARGET_CL_SOM_AM57X=y
    
    #
    # ARM debug
    #
    # CONFIG_DEBUG_LL is not set
    CONFIG_DEFAULT_DEVICE_TREE=""
    
    #
    # General setup
    #
    CONFIG_LOCALVERSION=""
    CONFIG_LOCALVERSION_AUTO=y
    CONFIG_CC_OPTIMIZE_FOR_SIZE=y
    # CONFIG_SYS_MALLOC_F is not set
    CONFIG_EXPERT=y
    CONFIG_SYS_MALLOC_CLEAR_ON_INIT=y
    
    #
    # Boot images
    #
    CONFIG_SUPPORT_SPL=y
    CONFIG_SPL=y
    # CONFIG_SPL_STACK_R is not set
    # CONFIG_FIT is not set
    CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=3"
    
    #
    # Command line interface
    #
    # CONFIG_HUSH_PARSER is not set
    
    #
    # Autoboot options
    #
    # CONFIG_AUTOBOOT_KEYED is not set
    
    #
    # Commands
    #
    
    #
    # Info commands
    #
    CONFIG_CMD_BDI=y
    CONFIG_CMD_CONSOLE=y
    # CONFIG_CMD_CPU is not set
    # CONFIG_CMD_LICENSE is not set
    
    #
    # Boot commands
    #
    CONFIG_CMD_BOOTD=y
    CONFIG_CMD_BOOTM=y
    CONFIG_CMD_GO=y
    CONFIG_CMD_RUN=y
    CONFIG_CMD_IMI=y
    # CONFIG_CMD_IMLS is not set
    CONFIG_CMD_XIMG=y
    
    #
    # Environment commands
    #
    CONFIG_CMD_EXPORTENV=y
    CONFIG_CMD_IMPORTENV=y
    CONFIG_CMD_EDITENV=y
    CONFIG_CMD_SAVEENV=y
    CONFIG_CMD_ENV_EXISTS=y
    
    #
    # Memory commands
    #
    CONFIG_CMD_MEMORY=y
    CONFIG_CMD_CRC32=y
    # CONFIG_LOOPW is not set
    # CONFIG_CMD_MEMTEST is not set
    # CONFIG_CMD_MX_CYCLIC is not set
    # CONFIG_CMD_MEMINFO is not set
    
    #
    # Device access commands
    #
    CONFIG_CMD_LOADB=y
    CONFIG_CMD_LOADS=y
    CONFIG_CMD_FLASH=y
    # CONFIG_CMD_NAND is not set
    # CONFIG_CMD_SF is not set
    # CONFIG_CMD_SPI is not set
    # CONFIG_CMD_I2C is not set
    # CONFIG_CMD_USB is not set
    CONFIG_CMD_FPGA=y
    
    #
    # Shell scripting commands
    #
    CONFIG_CMD_ECHO=y
    CONFIG_CMD_ITEST=y
    CONFIG_CMD_SOURCE=y
    # CONFIG_CMD_SETEXPR is not set
    
    #
    # Network commands
    #
    CONFIG_CMD_NET=y
    # CONFIG_CMD_TFTPPUT is not set
    # CONFIG_CMD_TFTPSRV is not set
    # CONFIG_CMD_RARP is not set
    # CONFIG_CMD_DHCP is not set
    CONFIG_CMD_NFS=y
    # CONFIG_CMD_PING is not set
    # CONFIG_CMD_CDP is not set
    # CONFIG_CMD_SNTP is not set
    # CONFIG_CMD_DNS is not set
    # CONFIG_CMD_LINK_LOCAL is not set
    
    #
    # Misc commands
    #
    # CONFIG_CMD_TIME is not set
    CONFIG_CMD_MISC=y
    # CONFIG_CMD_TIMER is not set
    
    #
    # Boot timing
    #
    # CONFIG_BOOTSTAGE is not set
    CONFIG_BOOTSTAGE_USER_COUNT=20
    CONFIG_BOOTSTAGE_STASH_ADDR=0
    CONFIG_BOOTSTAGE_STASH_SIZE=4096
    
    #
    # Power commands
    #
    CONFIG_SUPPORT_OF_CONTROL=y
    
    #
    # Device Tree Control
    #
    # CONFIG_OF_CONTROL is not set
    CONFIG_NET=y
    # CONFIG_NET_RANDOM_ETHADDR is not set
    
    #
    # Device Drivers
    #
    # CONFIG_DM is not set
    # CONFIG_CPU is not set
    
    #
    # PCI
    #
    
    #
    # NAND Device Support
    #
    # CONFIG_NAND_DENALI is not set
    # CONFIG_NAND_VF610_NFC is not set
    
    #
    # Generic NAND options
    #
    # CONFIG_SPL_NAND_DENALI is not set
    
    #
    # SPI Flash Support
    #
    # CONFIG_SPI_FLASH is not set
    # CONFIG_CROS_EC is not set
    # CONFIG_CONFIG_FSL_SEC_MON is not set
    # CONFIG_PCA9551_LED is not set
    # CONFIG_NETDEVICES is not set
    # CONFIG_CROS_EC_KEYB is not set
    # CONFIG_DEBUG_UART is not set
    # CONFIG_TPM_TIS_SANDBOX is not set
    
    #
    # SPI Support
    #
    # CONFIG_FSL_ESPI is not set
    # CONFIG_TI_QSPI is not set
    
    #
    # Power
    #
    # CONFIG_VIDEO_VESA is not set
    # CONFIG_VIDEO_LCD_SSD2828 is not set
    # CONFIG_DISPLAY_PORT is not set
    # CONFIG_VIDEO_TEGRA124 is not set
    # CONFIG_SOUND is not set
    CONFIG_USB_ARCH_HAS_HCD=y
    # CONFIG_USB is not set
    
    #
    # MMC Host controller Support
    #
    # CONFIG_FSL_CAAM is not set
    
    #
    # Remote Processor drivers
    #
    # CONFIG_DM_THERMAL is not set
    # CONFIG_PHYS_TO_BUS is not set
    
    #
    # File systems
    #
    
    #
    # Library routines
    #
    # CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED is not set
    CONFIG_HAVE_PRIVATE_LIBGCC=y
    # CONFIG_USE_PRIVATE_LIBGCC is not set
    CONFIG_SYS_HZ=1000
    # CONFIG_SYS_VSNPRINTF is not set
    CONFIG_REGEX=y
    # CONFIG_LIB_RAND is not set
    # CONFIG_RSA is not set
    
    #
    # Hashing Support
    #
    # CONFIG_SHA1 is not set
    # CONFIG_SHA256 is not set
    # CONFIG_SHA_HW_ACCEL is not set
    # CONFIG_ERRNO_STR is not set
    # CONFIG_UNIT_TEST is not set
    
    cl-som-am57x.h

  • Hi Yordan,

    Please let me know if additional information is needed.

    Thanks,

    Uri

  • Hi uri,

    We r also stuck with the same problem on emmc located on mmc1 interface, timed out waiting for cmd inhibit to clear.. pls guide us.. thank u very much

    Regards

    Suhas

  • Hi Suhas,

    The problem was solved by setting sysboot15 to 0.

    The incentive came from following TRM Section 18.4.6.1.1.1 "Permanent PU/PD disabling (SR 2.0 only).

    Regards,

    Uri

  • You are Great!!!
    Thank you very much!