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