forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documentation: mmc: Add the introduction for mmc-utils
This patch introduces one mmc test tools called mmc-utils, which is convenient if someone wants to exercise and test MMC/SD devices from userspace. Signed-off-by: Baolin Wang <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]>
- Loading branch information
1 parent
f7ca20d
commit f3e27a8
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
MMC tools introduction | ||
====================== | ||
|
||
There is one MMC test tools called mmc-utils, which is maintained by Chris Ball, | ||
you can find it at the below public git repository: | ||
http://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git/ | ||
|
||
Functions | ||
========= | ||
|
||
The mmc-utils tools can do the following: | ||
- Print and parse extcsd data. | ||
- Determine the eMMC writeprotect status. | ||
- Set the eMMC writeprotect status. | ||
- Set the eMMC data sector size to 4KB by disabling emulation. | ||
- Create general purpose partition. | ||
- Enable the enhanced user area. | ||
- Enable write reliability per partition. | ||
- Print the response to STATUS_SEND (CMD13). | ||
- Enable the boot partition. | ||
- Set Boot Bus Conditions. | ||
- Enable the eMMC BKOPS feature. | ||
- Permanently enable the eMMC H/W Reset feature. | ||
- Permanently disable the eMMC H/W Reset feature. | ||
- Send Sanitize command. | ||
- Program authentication key for the device. | ||
- Counter value for the rpmb device will be read to stdout. | ||
- Read from rpmb device to output. | ||
- Write to rpmb device from data file. | ||
- Enable the eMMC cache feature. | ||
- Disable the eMMC cache feature. | ||
- Print and parse CID data. | ||
- Print and parse CSD data. | ||
- Print and parse SCR data. |