From mboxrd@z Thu Jan 1 00:00:00 1970 From: Otavio Salvador Date: Wed, 18 Oct 2017 14:04:20 -0200 Subject: [U-Boot] [RFC] mmc: fsl_esdhc: Do not set high speed mode on MX25 and MX51 In-Reply-To: <1508342223-12334-1-git-send-email-fabio.estevam@nxp.com> References: <1508342223-12334-1-git-send-email-fabio.estevam@nxp.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Oct 18, 2017 at 1:57 PM, Fabio Estevam 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 Tested-by: Otavio Salvador # 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