Re: /dev/mmcblk0 (or /dev/mmcblk0p1) does not exist on Freescale iMX6SL board

Xuebing Wang
2015-04-30T12:44:58Z

On 04/30/2015 08:16 PM, Fabio Estevam wrote:
> On Thu, Apr 30, 2015 at 6:20 AM, Xuebing Wang <xbing6@gmail.com> wrote:
>> Hi linux-mmc community,
>>
>> I am working on a board which is very similar to Freescale iMX6SL EVK
>> (evaluation board), but /dev/mmcblk0 does not exist for kernel v4.0.1
> On my imx6sl-warp the eMMC is correctly detected when running kernel 4.0.
>
> Does it help if you apply this patch from 4.1-rc1?
>
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/mmc/host/sdhci.c?id=04e079cf6b24c794bbc52b04b370f84cb728540e

Fabio,

Thanks for your help.

Unfortunately, no, cherry-pick this patch from 4.1-rc1 into v4.0.1 has
the same result.
-------------------
[ 1.274968] Driver 'mmcblk' needs updating - please use bus_type methods
[ 1.301492] sdhci-esdhc-imx 2190000.usdhc: No vmmc regulator found
[ 1.307783] sdhci-esdhc-imx 2190000.usdhc: No vqmmc regulator found
[ 1.353890] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc]
using ADMA
[ 1.365351] sdhci-esdhc-imx 2194000.usdhc: No vmmc regulator found
[ 1.371563] sdhci-esdhc-imx 2194000.usdhc: No vqmmc regulator found
[ 1.423823] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc]
using ADMA
[ 1.435612] sdhci-esdhc-imx 2198000.usdhc: No vmmc regulator found
[ 1.441817] sdhci-esdhc-imx 2198000.usdhc: No vqmmc regulator found
[ 1.493731] mmc2: SDHCI controller on 2198000.usdhc [2198000.usdhc]
using ADMA
-------------------

It is worse if I use v4.1-rc1, it always keeps outputing below: (without
stop)
-------------------
[ 16.825778] mmc1: error -110 whilst initialising MMC card
[ 16.997726] mmc1: MAN_BKOPS_EN bit is not set
-------------------

> Regards,
>
> Fabio Estevam
>

--
Xuebing