AnsweredAssumed Answered

eMMC 5.1 switch bus width 8 failed with i.MX6 custom board

Question asked by Chris Lee on Sep 28, 2018
Latest reply on Sep 30, 2018 by Chris Lee

We had problem initializing eMMC 5.1 (KingSton EMMC04G-M627-A01)

The custom board boots from SD card attached on sdhc1.

Everything works except for eMMC device.

 

  • The eMMC is attached on sdhc3;
  • vmmc-supply and vqmmc-supply are all fixed at 3.3V
  • Linux kernel source code (version 4.1.15, based on NXP 2.0.0 version)

 

As you can see from the log below, eMMC (mmc2) failed at switching bus width.

Please help, thanks.

 

 

boot log:

mmc2: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA
mxc_vpu 2040000.vpu_fsl: VPU initialized
mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
Galcore version 5.0.11.41671
mmcblk0: mmc0:aaaa SC32G 29.7 GiB
mmcblk0: p1 p2
mmc2: mmc_rescan_try_freq: trying to init card at 400000 Hz
mmc2: MAN_BKOPS_EN bit is not set
mmc2: switch bus width 8, err=-110       <=== the message was added for debug
mmc2: switch bus width 4, err=-110       <=== the message was added for debug
mmc2: error -110 whilst initialising MMC card
mmc2: mmc_rescan_try_freq: trying to init card at 300000 Hz
mmc2: switch signal voltage 0, err=0
mmc2: MAN_BKOPS_EN bit is not set
mmc2: switch bus width 8, err=-110
mmc2: switch bus width 4, err=-110
mmc2: error -110 whilst initialising MMC card
mmc2: mmc_rescan_try_freq: trying to init card at 200000 Hz
caam 2100000.caam: Entropy delay = 3200
mmc2: switch signal voltage 0, err=0
caam 2100000.caam: Instantiated RNG4 SH0
caam 2100000.caam: Instantiated RNG4 SH1
caam 2100000.caam: device ID = 0x0a16010000000000 (Era -524)
mmc2: MAN_BKOPS_EN bit is not set
mmc2: switch bus width 8, err=-110
mmc2: switch bus width 4, err=-110
mmc2: error -110 whilst initialising MMC card
mmc2: mmc_rescan_try_freq: trying to init card at 100000 Hz
mmc2: switch signal voltage 0, err=0
caam 2100000.caam: job rings = 2, qi = 0
caam algorithms registered in /proc/crypto
mmc2: MAN_BKOPS_EN bit is not set
mmc2: switch bus width 8, err=-110
mmc2: switch bus width 4, err=-110
mmc2: error -110 whilst initialising MMC card

Outcomes