From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Estevam Date: Thu, 12 Nov 2015 18:56:31 -0200 Subject: [U-Boot] mmc erase fails from U-Boot command line In-Reply-To: <5624CEC5.8040901@digi.com> References: <5620E3A7.7040909@defengcorp.com> <5624CEC5.8040901@digi.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 Hector and Cliff, On Mon, Oct 19, 2015 at 9:06 AM, Hector Palacios wrote: > This issue is reproducible on Freescale's SABRESD on both SD card and eMMC with > v2015.04. The issue has been there always, I believe. > Apparently the command erases the first block, but the operation returns an error, so > it aborts and it doesn't continue erasing futher blocks. > > I opened a similar thread a while ago: > http://lists.denx.de/pipermail/u-boot/2015-June/215912.html I am running mainline U-boot on a mx6qsabresd and it works fine here: => mmc dev 2 switch to partitions #0, OK mmc2(part 0) is current device => mmc erase 4000 1000 MMC erase: dev # 2, block # 16384, count 4096 ... 4096 blocks erased: OK => Regards, Fabio Estevam