xref: /linux/Documentation/driver-api/mmc/mmc-tools.rst (revision 03ab8e6297acd1bc0eedaa050e2a1635c576fd11)
1======================
2MMC tools introduction
3======================
4
5There is one MMC test tools called mmc-utils, which is maintained by Ulf Hansson,
6you can find it at the below public git repository:
7
8	https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git
9
10Functions
11=========
12
13The mmc-utils tools can do the following:
14
15 - Print and parse extcsd data.
16 - Determine the eMMC writeprotect status.
17 - Set the eMMC writeprotect status.
18 - Set the eMMC data sector size to 4KB by disabling emulation.
19 - Create general purpose partition.
20 - Enable the enhanced user area.
21 - Enable write reliability per partition.
22 - Print the response to STATUS_SEND (CMD13).
23 - Enable the boot partition.
24 - Set Boot Bus Conditions.
25 - Enable the eMMC BKOPS feature.
26 - Permanently enable the eMMC H/W Reset feature.
27 - Permanently disable the eMMC H/W Reset feature.
28 - Send Sanitize command.
29 - Program authentication key for the device.
30 - Counter value for the rpmb device will be read to stdout.
31 - Read from rpmb device to output.
32 - Write to rpmb device from data file.
33 - Enable the eMMC cache feature.
34 - Disable the eMMC cache feature.
35 - Print and parse CID data.
36 - Print and parse CSD data.
37 - Print and parse SCR data.
38