| 1 |
====================== |
| 2 |
MMC tools introduction |
| 3 |
====================== |
| 4 |
|
| 5 |
There is one MMC test tools called mmc-utils, which is maintained by Ulf Hansson, |
| 6 |
you can find it at the below public git repository: |
| 7 |
|
| 8 |
https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git |
| 9 |
|
| 10 |
Functions |
| 11 |
========= |
| 12 |
|
| 13 |
The 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. |