I am having custom board with imx6qp. I am able to load uboot. In uboot i am able to detect SD card from SD card slot #3.
But when uboot loads the kernel , there it fails to initialize SD card but it is able to initialize eMMC. It gives following error in the dmesg,
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc1: no vqmmc regulator found
mmc1: no vmmc regulator found
mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
mmc2: no vqmmc regulator found
mmc2: no vmmc regulator found
mmc2: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA
mmc3: no vqmmc regulator found
mmc3: no vmmc regulator found
mmc2: error -110 whilst initialising SD card
mmc3: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA
Galcore version 5.0.11.33433
mmc3: BKOPS_EN bit is not set
mmc3: new high speed DDR MMC card at address 0001
mmcblk3: mmc3:0001 Q2J55L 7.12 GiB
What might be reason for SD card getting detected by uboot and not in kernel???
do you have fix it ? I have the same issue . I can mount it .But it just read only .
Hi Pratham
"mmc2: no vmmc regulator found" may be caused by
vmmc-supply,"reg_sd3_vmmc: regulator" in imx6qdl-sabreauto.dtsi :
linux-2.6-imx.git - Freescale i.MX Linux Tree
this may be related to SD3 (UHSI) P3V3_SDa_SWITCHED power switch
on p.11 spf-28615 Sabre AI schematic
Schematics (5)
Design files for i.MX 6QuadPlus CPU3 Card with AVB (REV A)
http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-process...
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------