Johan RUDHOLM | 21 Jun 2012 09:44

mmc-utils: Initial contribute of lsmmc

Dear all,

this is a release to the community of the source code of the utility
"lsmmc", created by Sebastian Rasmussen formerly at ST-Ericsson.

lsmmc contains an extensive parser of the CID, CSD, SCR and EXT_CSD
registers, as well as an archive of these registers for over 120
eMMC and SD-cards. The utility works as-is and uses sysfs to read the
register values.

It could be a candidate for incorporation into the mmc-utils, but it
naturally requires some adaptation. Please consider this code to be at
your disposal.

Chris: I decided that a .tar.gz was more tasteful in the end, the patch
whould have contained lines > 1000 chars and been 8000 lines long ;)

Kind regards, Johan

Attachment (lsmmc.tar.gz): application/x-gzip, 32 KiB
Giuseppe CAVALLARO | 21 Jun 2012 10:47

Re: mmc-utils: Initial contribute of lsmmc

Hello Johan.

On 6/21/2012 9:44 AM, Johan RUDHOLM wrote:
> Dear all,
> 
> this is a release to the community of the source code of the utility
> "lsmmc", created by Sebastian Rasmussen formerly at ST-Ericsson.
> 
> lsmmc contains an extensive parser of the CID, CSD, SCR and EXT_CSD
> registers, as well as an archive of these registers for over 120
> eMMC and SD-cards. The utility works as-is and uses sysfs to read the
> register values.
> 
> It could be a candidate for incorporation into the mmc-utils, but it
> naturally requires some adaptation. Please consider this code to be at
> your disposal.

FYI, some work has been already done (and reviewed by Sebastian); take a
look at

http://git.kernel.org/?p=linux/kernel/git/cjb/mmc-utils.git;a=commit;h=a5bf4a2030a9dcfbcebf1b647e65c1e936a56e14

Peppe

> Chris: I decided that a .tar.gz was more tasteful in the end, the patch
> whould have contained lines > 1000 chars and been 8000 lines long ;)
> 
> Kind regards, Johan
> 

(Continue reading)

Johan Rudholm | 21 Jun 2012 12:07
Picon

Re: mmc-utils: Initial contribute of lsmmc

Hi Peppe,

2012/6/21 Giuseppe CAVALLARO <peppe.cavallaro <at> st.com>:
> Hello Johan.
>
> On 6/21/2012 9:44 AM, Johan RUDHOLM wrote:
>> Dear all,
>>
>> this is a release to the community of the source code of the utility
>> "lsmmc", created by Sebastian Rasmussen formerly at ST-Ericsson.
>>
>> lsmmc contains an extensive parser of the CID, CSD, SCR and EXT_CSD
>> registers, as well as an archive of these registers for over 120
>> eMMC and SD-cards. The utility works as-is and uses sysfs to read the
>> register values.
>>
>> It could be a candidate for incorporation into the mmc-utils, but it
>> naturally requires some adaptation. Please consider this code to be at
>> your disposal.
>
> FYI, some work has been already done (and reviewed by Sebastian); take a
> look at
>
> http://git.kernel.org/?p=linux/kernel/git/cjb/mmc-utils.git;a=commit;h=a5bf4a2030a9dcfbcebf1b647e65c1e936a56e14

Yes, I've seen this contribution, and I think that the lsmmc code can
be used to further extend this work!

Kind regards, Johan
--
(Continue reading)

Sebastian Rasmussen | 21 Jun 2012 14:09
Picon
Gravatar

Re: mmc-utils: Initial contribute of lsmmc

>>> this is a release to the community of the source code of the utility
>>> "lsmmc", created by Sebastian Rasmussen formerly at ST-Ericsson.
>>
>> FYI, some work has been already done (and reviewed by Sebastian); take a
>> look at
>>
>> http://git.kernel.org/?p=linux/kernel/git/cjb/mmc-utils.git;a=commit;h=a5bf4a2030a9dcfbcebf1b647e65c1e936a56e14
>
> Yes, I've seen this contribution, and I think that the lsmmc code can
> be used to further extend this work!

Excellent, I'll take a look at adapting this for mmc-utils
and have cjb review it soonish as promised. Midsummer
nights eve is coming right up, so I'll have a few hours of
spare time. :) Thanks Johan for prodding legal until they
approved the release.

 / Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Gmane