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.

Linux/TDA2E: Error from SD card booting : mmc0: error -110 whilst initialising SD card

Part Number: TDA2E


Tool/software: Linux

Hi,

I am using Custom board based on TDA2ex.

I am getting error while booting from SD card and unable to get linux prompt.(root user mode).

Error:

input: gpio_keys as /devices/platform/gpio_keys/input/input0
rtc-ds1307 0-006f: setting system clock to 2016-10-23 16:03:07 UTC (1477238587)
aic_dvdd: disabling
vmmcwl_fixed: disabling
ldo4: disabling
Waiting for root device PARTUUID=1c83add1-02...
mmc0: error -110 whilst initialising SD card
mmc1: MAN_BKOPS_EN bit is not set
mmc1: new DDR MMC card at address 0001
mmcblk0: mmc1:0001 H8G4a2 7.28 GiB
mmcblk0boot0: mmc1:0001 H8G4a2 partition 1 8.00 MiB
mmcblk0boot1: mmc1:0001 H8G4a2 partition 2 8.00 MiB
mmcblk0: p1 p2 p3

Vision SDK: 03.04

Please check the log and help to get proper pointer to solve this issue.

Thanks,

Anand Kumar

  • Hi Anand:
    I ever met the related situations on our custom board. Please check your SD card power. These messages imply that your custom board SD power is not on, so you need to modify the Kernel Device Tree file according to your H/W to turn on the SD power when booting.

    Regards,
    /ckhsu
  • Hi CK Hsu,


    Yes, I changed device tree file according to H/W.

    I changed contain in dra72-evm-common.dtsi file:

    &mmc1 {
    status = "okay";

    vmmc-supply = <&evm_3v3_sw>;
    /* vmmc-supply = <&evm_3v3_sd>; */
    vmmc_aux-supply = <&ldo1_reg>;
    bus-width = <4>;
    /*
    * SDCD signal is not being used here - using the fact that GPIO mode
    * is a viable alternative
    */
    /*cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>;*/
    ti,non-removable;
    max-frequency = <192000000>;
    };

    evm_3v3_sw: fixedregulator-evm_3v3 {
    compatible = "regulator-fixed";
    regulator-name = "evm_3v3";
    regulator-min-microvolt = <3300000>;
    regulator-max-microvolt = <3300000>;
    }

    But i am getting error:

    omap_hsmmc 4809c000.mmc: pbias set voltage failed
    pbias_mmc_omap5: unsupportable voltage range: 3000000-1800000uV
    omap_hsmmc 4809c000.mmc: pbias set voltage failed
    omap_hsmmc 4809c000.mmc: failed to switch to 3.0V
    omap_hsmmc 480d1000.mmc: no pinctrl state for hs mode


    Please check files and help to solve issue.
    Is it require any driver changes?

    Thanks,
    Anand Kumar
  • Hi Anand:
    You should modify you sd-power according to the H/W, not just make it same as mmc2 in the DTS as EVM. This will not work if your H/W connect the power of the SD to other power source different from TI EVM.
    Normally you should check your vmmc_aux-supply for mmc1 in your H/W to know where it is connected, and do the according modifications. Except for the vmmc_aux-supply, you should also check pbias-supply for the H/W, however this is often identical as EVM.

    Regards,
    /ckhsu
  • Hi Anand,

    Do you still need help with this?
    As CK Hsu mentioned the supply mappings in dts should be done correctly based on the schematics.

    Regards,
    Vishal

  • Thanks CK Hsu.

    Hi Vishal,

    I am able to solve above error, to correct dts file regarding pbias properties.

    Thanks, Anand Kumar