[U-Boot] Nokia N900 - eMMC not working after commit 02f3029f1810b99869254d0cf0a71946a008a728

Lei Wen adrian.wenl at gmail.com
Sat Nov 12 07:13:38 CET 2011


Hi Pali,

On Sat, Nov 12, 2011 at 7:17 AM, Pali Rohár <pali.rohar at gmail.com> wrote:
> Hello,
>
> after commit 02f3029f1810b99869254d0cf0a71946a008a728 mmc: retry the cmd8 to
> meet 74 clocks requirement in the spec
>
> internal eMMC memory on Nokia N900 in u-boot not working. If I comment code
> "if (err) return err;" added by this commit, eMMC working fine.
>
> More info: mmc_send_if_cond from drivers/mmc/mmc.c is calling function
> mmc_send_cmd in drivers/mmc/omap_hsmmc.c which returning TIMEOUT from line
> 278:
>        if ((mmc_stat & IE_CTO) != 0)
>                return TIMEOUT;
>
> --
> Pali Rohár
> pali.rohar at gmail.com
>

It is strange that your card would still get failed to send CMD8 after
3 times retry.
Does omap mmc controller has some mechanism of mmc dynamic clock gating?
I would suggest you to investigate why the emmc cannot response to CMD8 first.
If not, I think we could make this err return code included in a ifdef
to workaround
your issue.


Thanks,
Lei


More information about the U-Boot mailing list