Re: [U-Boot] mmc erase command fails with DAT0 timeout on eMMC on iMX6 board

2015-06-07 Thread Palacios, Hector
Hello Fabio, On Sun, Jun 7, 2015 at 19:23, Fabio Estevam wrote: > Hi Hector, > On Thu, Jun 4, 2015 at 8:23 AM, Palacios, Hector wrote: >> Hello, >> >> I can see the command 'mmc erase blk# cnt' fails with a DAT0 timeout on iMX6 >> boards when run over the eMMC. >> >> => mmc dev 2 >> => mmc erase

Re: [U-Boot] mmc erase command fails with DAT0 timeout on eMMC on iMX6 board

2015-06-07 Thread Fabio Estevam
Hi Hector, On Thu, Jun 4, 2015 at 8:23 AM, Palacios, Hector wrote: > Hello, > > I can see the command 'mmc erase blk# cnt' fails with a DAT0 timeout on iMX6 > boards when run over the eMMC. > > => mmc dev 2 > => mmc erase 4000 1000 > MMC erase: dev # 2, block # 16384, count 4096 ... Timeout wait

Re: [U-Boot] mmc erase command fails with DAT0 timeout on eMMC on iMX6 board

2015-06-05 Thread Lu Y . B .
Hello Hector, I am not familiar with iMX6 based board. I only know the DAT0 checking was introduced in commit 7a5b80297bc6cef0c10e5f57ac0450678dc7bc5e And different cards may have different secure erase timeout value. This should be found in chip datasheet. But I've never meet your issue... >

[U-Boot] mmc erase command fails with DAT0 timeout on eMMC on iMX6 board

2015-06-04 Thread Palacios, Hector
Hello, I can see the command 'mmc erase blk# cnt' fails with a DAT0 timeout on iMX6 boards when run over the eMMC. => mmc dev 2 => mmc erase 4000 1000 MMC erase: dev # 2, block # 16384, count 4096 ... Timeout waiting for DAT0 to go high! mmc erase failed 0 blocks erase: ERROR I reproduced i