On Mon, Oct 18, 2010 at 5:34 PM, Eric Bénard <e...@eukrea.com> wrote:
> I just tested a linaro rootfs on SDCard (we have a nand flash so until now
> we had our rootfs on it) and got the same errors as you.
> As suggested by Richard, SDHCI_QUIRK_BROKEN_TIMEOUT_VAL seems to fix the
> problem, so can you try the following patch ?
>
>
> diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c
> b/drivers/mmc/host/sdhci-esdhc-imx.c
> index 2e9cca1..e8f7048 100644
> --- a/drivers/mmc/host/sdhci-esdhc-imx.c
> +++ b/drivers/mmc/host/sdhci-esdhc-imx.c
> @@ -134,7 +134,8 @@ static struct sdhci_ops sdhci_esdhc_ops = {
>
>  struct sdhci_pltfm_data sdhci_esdhc_imx_pdata = {
>        .quirks = ESDHC_DEFAULT_QUIRKS | SDHCI_QUIRK_NO_MULTIBLOCK
> -                       | SDHCI_QUIRK_BROKEN_ADMA,
> +                       | SDHCI_QUIRK_BROKEN_ADMA
> +                       | SDHCI_QUIRK_BROKEN_TIMEOUT_VAL,
>        /* ADMA has issues. Might be fixable */
>        /* NO_MULTIBLOCK might be MX35 only (Errata: ENGcm07207) */
>        .ops = &sdhci_esdhc_ops,
>
Yes, it's working.  And I can get into Linaro console now.  So we need
the following bits to get it work.

- Wolfram's esdhc driver (merged)
- SDHCI_QUIRK_BROKEN_TIMEOUT_VAL patch
- Babbage registration patch (based on Eric's bits)
- Related kernel configurations


-- 
Regards,
Shawn

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to