All of lore.kernel.org
 help / color / mirror / Atom feed
From: Otavio Salvador <otavio.salvador@ossystems.com.br>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC] mmc: fsl_esdhc: Do not set high speed mode on MX25 and MX51
Date: Wed, 18 Oct 2017 14:04:20 -0200	[thread overview]
Message-ID: <CAP9ODKro4ku-k8cbjxaSoqiwqrgn1j66fUn1ieTZqV-2dacJaA@mail.gmail.com> (raw)
In-Reply-To: <1508342223-12334-1-git-send-email-fabio.estevam@nxp.com>

On Wed, Oct 18, 2017 at 1:57 PM, Fabio Estevam <fabio.estevam@nxp.com> wrote:
> Currently when a high speed SD card is connected on MX25 or MX51 boards
> the following error happens:
>
> U-Boot 2017.11-rc2 (Oct 18 2017 - 13:49:26 -0200)
>
> CPU:   Freescale i.MX51 rev3.0 at 800 MHz
> Reset cause: POR
> Board: MX51EVK
> DRAM:  512 MiB
> MMC:   FSL_SDHC: 0, FSL_SDHC: 1
> *** Warning - read failed, using default environment
>
> In:    serial
> Out:   serial
> Err:   serial
> Net:   FEC
> Hit any key to stop autoboot:  0
> => saveenv
> Saving Environment to MMC...
> Writing to MMC(0)... failed
>
> Workaround this issue by not setting the mmc high speed mode flags even
> if the HOSTCAPBLT register reports that the SD card can operate at
> high speed.
>
> Tested on imx51evk and imx25pdk boards.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>

Tested-by: Otavio Salvador <otavio@ossystems.com.br> # imx25pdk

I had this error when booting here and I can confirm it fixes the issue for me.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

  reply	other threads:[~2017-10-18 16:04 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-18 15:57 [U-Boot] [RFC] mmc: fsl_esdhc: Do not set high speed mode on MX25 and MX51 Fabio Estevam
2017-10-18 16:04 ` Otavio Salvador [this message]
2017-10-18 16:13 ` Benoît Thébaudeau
2017-10-18 16:20   ` Benoît Thébaudeau
2017-10-18 16:40   ` Fabio Estevam
2017-10-18 16:56     ` Benoît Thébaudeau
2017-10-18 17:35       ` Fabio Estevam
2017-10-18 20:10         ` Benoît Thébaudeau
2017-10-18 20:14           ` Fabio Estevam
2017-10-19 11:57           ` Fabio Estevam
2017-10-19 12:42             ` Fabio Estevam
2017-10-19 12:46               ` Otavio Salvador
2017-10-19 12:52                 ` Fabio Estevam
2017-10-19 12:54                   ` Benoît Thébaudeau
2017-10-20 12:40             ` Benoît Thébaudeau
2017-10-20 18:40               ` Fabio Estevam
2017-10-21 12:34                 ` Benoît Thébaudeau
2017-10-21 12:38                   ` Fabio Estevam
2017-10-23 22:45                     ` Benoît Thébaudeau
2017-10-24  8:50                       ` Fabio Estevam
2017-10-29 21:18                         ` Benoît Thébaudeau
2017-10-30  2:10                           ` Fabio Estevam
2017-11-03 15:17                           ` Fabio Estevam
2017-11-03 21:25                             ` Benoît Thébaudeau
2017-11-04 11:59                               ` Fabio Estevam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAP9ODKro4ku-k8cbjxaSoqiwqrgn1j66fUn1ieTZqV-2dacJaA@mail.gmail.com \
    --to=otavio.salvador@ossystems.com.br \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.