[U-Boot] mmc erase fails from U-Boot command line

Fabio Estevam
2015-11-12T20:56:31Z

Hi Hector and Cliff,

On Mon, Oct 19, 2015 at 9:06 AM, Hector Palacios
<hector.palacios@digi.com> 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