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.

TDA4VM: sdhci-am654: probe of 4f80000.sdhci failed with error -110

Part Number: TDA4VM

hi TI

    At - 40 degrees Celsius,I use the boot mode is sbl start mode by ospi flash。At the phase of mcu app,load the lateapp1 lateapp2 kernel and dtb from emmc Successfully.AT the phase of booting the kenrel,thers is an error of emmc:

sdhci-am654: probe of 4f80000.sdhci failed with error -110.

 At-20 degrees Celsius,the boot is ok.

I found the code in this function:

static int sdhci_am654_init(struct sdhci_host *host)
{
    struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
    struct sdhci_am654_data *sdhci_am654 = sdhci_pltfm_priv(pltfm_host);
    u32 ctl_cfg_2 = 0;
    u32 mask;
    u32 val;
    int ret;

    /* Reset OTAP to default value */
    mask = OTAPDLYENA_MASK | OTAPDLYSEL_MASK;
    regmap_update_bits(sdhci_am654->base, PHY_CTRL4, mask, 0x0);

    if (sdhci_am654->flags & DLL_CALIB) {
        regmap_read(sdhci_am654->base, PHY_STAT1, &val);
        if (~val & CALDONE_MASK) {
            /* Calibrate IO lines */
            regmap_update_bits(sdhci_am654->base, PHY_CTRL1,
                       PDB_MASK, PDB_MASK);
            ret = regmap_read_poll_timeout(sdhci_am654->base,
                               PHY_STAT1, val,
                               val & CALDONE_MASK,
                               1, 20);
            if (ret)
                return ret;
        } of
    }

...

}

Please tell me what these codes mean. what is mean of MMCSD0_SS_PHY_STAT_1_REG Register at bit 1

  • Hi Zhao,

    MMCSD0_SS_PHY_STAT_1_REG is a PHY status register for various operations triggered through the corresponding MMCSD0_SS_PHY_CTRL_1_REG.

    Bit 1 is CALDONE and it reflects the completion status of the PHY IO calibration. 

    regards

    Suman

  • Hi, Suman,

    Could you please kindly share your comments on the timeout error?

    Here are some more details about this issue:

    1. While using "SBL + boot app" boot flow, lateap1 and lateapp2 for R5F cores can be loaded normally, timeout error occurs while loading Linux file system from EMMC.

    2. Change to use SPL boot flow, the timeout error also occurs.

    3. Using the same code and same board, it works well @-20 degree

    4. Customer is using SDK 7.3

    The boot log of error and normal boot is shown below.

  • Hi, Suman,

    Customer tried to change timeout value from 20 to 200, then Linux file system can be loaded from eMMC.

    Please help to comment if there is any side effect. Thanks.