From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Estevam Date: Wed, 2 Dec 2015 15:23:16 -0200 Subject: [U-Boot] mmc erase fails from U-Boot command line In-Reply-To: <565DEF80.90204@nelint.com> References: <5620E3A7.7040909@defengcorp.com> <5624CEC5.8040901@digi.com> <52F917CEA1B9C64C94833D53889D478C269236@dor-sms-xch01.digi.com> <565DEF80.90204@nelint.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 Hi Eric, On Tue, Dec 1, 2015 at 5:05 PM, Eric Nelson wrote: > I've also recently seen this on two different custom boards. Both are > running i.MX6Q TO1.2 and both are using eMMC from Micron. One colleague of mine tested eMMC erasure on a mx6qsabresd revC5 board with a eMMC from Micron and it worked fine. So far I see: revB and revC5: works revC2 and revC4: don't work > > The code which is generating the error message: > > http://git.denx.de/?p=u-boot.git;a=blob;f=drivers/mmc/fsl_esdhc.c;h=c5054d66bdcda029f0485958c87bd5154ccee591;hb=HEAD#l390 > > Seems to refer to an errata for the i.MX35 (ENGcm03648): > http://cache.freescale.com/files/dsp/doc/errata/IMX35CE.pdf > > I don't see any reference to the errata in the i.MX6 docs. This piece of code came from: 7a5b80297bc6cef ("mmc: fsl_esdhc: Poll until card is not busy anymore") Yes, ENGcm03648 is not listed in mx6 errata document. > Ignoring the error (removing the return statement) seems to leave things > in a workable state, so I suspect the problem isn't with an insufficient > timeout. May I see your change, please? Thanks, Fabio Estevam