From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Trimarchi Date: Wed, 2 Dec 2015 21:00:22 +0100 Subject: [U-Boot] mmc erase fails from U-Boot command line In-Reply-To: References: <5620E3A7.7040909@defengcorp.com> <5624CEC5.8040901@digi.com> <52F917CEA1B9C64C94833D53889D478C269236@dor-sms-xch01.digi.com> <565DEF80.90204@nelint.com> <565F3CD3.1010100@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 On Wed, Dec 2, 2015 at 8:54 PM, Fabio Estevam wrote: > Hi Michael, > > On Wed, Dec 2, 2015 at 5:37 PM, Michael Trimarchi > wrote: > >> Can you print the sysctl & 0xF? I want to check if this workaround is >> really applied > > In my testing I see the error with or without the ENGcm03648 workaround. > Well the workaround works if the sysctl is 0xf on the last bits, because it needs the clocks enable according to the original description. http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/commit/drivers/mmc/imx_esdhc.c?h=imx_v2009.08_12.01.01&id=e436525a70fe47623d346bc7d9f08f12ff8ad787 So if you hit this timeout without having this set, I don't think it can work Michael > Regards, > > Fabio Estevam -- | Michael Nazzareno Trimarchi Amarula Solutions BV | | COO - Founder Cruquiuskade 47 | | +31(0)851119172 Amsterdam 1018 AM NL | | [`as] http://www.amarulasolutions.com |