lkml.org 
[lkml]   [2021]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] mmc: block: Differentiate busy and non-TRAN state
Date
>> CMD16 - CMD42 Set PW - (CMD16)* - CMD42 Unlock Force Erase - (CMD42
>> Set PW)+
>> * May be omitted if you craft the CMD42 carefully (i.e. equal data size)
>> + is pretty much irrelevant, can be replaced with anything that is illegal in
>> PROG.
>Oh, OK.  Interesting.
>This functionality is missing in mmc-utils.
>While at it, I encourage you to consider adding it.
>
>Thanks,
>Avri

That is true and I have thought about it. Unfortunately a locked card currently will not initalize, so not be open to the ioctl interface.
So in fear of doing more harm than good I would first change that.
(One thing is reading of SCR is required by linux-mmc but locked cards must not respond to it).
Something I'm working on on the side but don't expect anything very soon.

Kind Regards,
Christian

>
> >Again, can you share the sequence of the commands you are using?
> >
> >Thanks,
> >Avri
> Hyperstone GmbH | Line-Eid-Strasse 3 | 78467 Konstanz
> Managing Directors: Dr. Jan Peter Berns.
> Commercial register of local courts: Freiburg HRB381782

Hyperstone GmbH | Line-Eid-Strasse 3 | 78467 Konstanz
Managing Directors: Dr. Jan Peter Berns.
Commercial register of local courts: Freiburg HRB381782

\
 
 \ /
  Last update: 2021-07-07 16:43    [W:0.133 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site