From: Eric Nelson <eric@nelint.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] mmc erase fails from U-Boot command line
Date: Mon, 7 Dec 2015 07:36:55 -0700 [thread overview]
Message-ID: <56659987.5020703@nelint.com> (raw)
In-Reply-To: <CAOMZO5C_is6WNGweHYo5H28VSv=NXbASAVwPEiNfGZCXb56PMQ@mail.gmail.com>
Hi Fabio,
On 12/06/2015 05:21 PM, Fabio Estevam wrote:
> Hi Eric,
>
> On Fri, Dec 4, 2015 at 8:42 PM, Eric Nelson <eric@nelint.com> wrote:
>
>> I've figured out a way to repeat this on my machine.
>>
>> If I write 0xff's to the eMMC blocks, then issue an erase for the same,
>> I get the problem with each MMC_ERASE command.
>>
>> I've also found something that fixes the issue in my testing.
>>
>> Changing SECURE_ERASE to 0 from 0x80000000 in include/mmc.h allows
>> things to function for me.
>>
>> Page 115 of the JEDEC eMMC 4.5 spec says that bit 31 is obsolete and
>> should be zero:
>> http://www.jedec.org/sites/default/files/docs/jesd84-B45.pdf
>>
>> Hector and Fabio, can you test that change?
>
> Managed to get access to a revC2 board and tested your change.
>
> I am happy to say that 'mmc erase' works now :-)
>
Glad to hear it.
> Good job, Eric!
>
> When you send a formal patch then you can add:
>
> Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
>
Will do.
next prev parent reply other threads:[~2015-12-07 14:36 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-16 11:46 [U-Boot] mmc erase fails from U-Boot command line Cliff Brust
2015-10-19 11:06 ` Hector Palacios
2015-11-12 20:56 ` Fabio Estevam
2015-11-13 12:26 ` Palacios, Hector
2015-11-13 14:37 ` Fabio Estevam
2015-11-16 15:23 ` Fabio Estevam
2015-11-16 15:30 ` Fabio Estevam
2015-12-01 19:05 ` Eric Nelson
2015-12-02 17:23 ` Fabio Estevam
2015-12-02 18:47 ` Eric Nelson
2015-12-02 18:52 ` Fabio Estevam
2015-12-02 19:28 ` Eric Nelson
2015-12-02 19:53 ` Fabio Estevam
2015-12-04 16:35 ` Eric Nelson
2015-12-04 16:37 ` Fabio Estevam
2015-12-04 22:42 ` Eric Nelson
2015-12-05 0:19 ` Fabio Estevam
2015-12-07 0:21 ` Fabio Estevam
2015-12-07 14:36 ` Eric Nelson [this message]
2015-12-02 19:37 ` Michael Trimarchi
2015-12-02 19:54 ` Fabio Estevam
2015-12-02 20:00 ` Michael Trimarchi
2015-12-04 16:08 ` Eric Nelson
2015-12-04 16:50 ` Eric Nelson
2015-12-04 17:06 ` Michael Trimarchi
2015-12-07 14:50 ` [U-Boot] [PATCH] mmc: update MMC_ERASE argument to match Linux kernel Eric Nelson
2015-12-09 10:55 ` Hector Palacios
2015-12-22 9:55 ` Fabio Estevam
2016-01-04 22:23 ` [U-Boot] " Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56659987.5020703@nelint.com \
--to=eric@nelint.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox