Mauro Carvalho Chehab | f408510 | 2019-04-18 14:44:06 -0300 | [diff] [blame] | 1 | ====================== |
Baolin Wang | f3e27a8 | 2016-03-16 20:02:49 +0800 | [diff] [blame] | 2 | MMC tools introduction |
| 3 | ====================== |
| 4 | |
| 5 | There is one MMC test tools called mmc-utils, which is maintained by Chris Ball, |
| 6 | you can find it at the below public git repository: |
Mauro Carvalho Chehab | f408510 | 2019-04-18 14:44:06 -0300 | [diff] [blame] | 7 | |
Alexander A. Klimov | d3603f4 | 2020-06-21 15:35:12 +0200 | [diff] [blame] | 8 | https://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git/ |
Baolin Wang | f3e27a8 | 2016-03-16 20:02:49 +0800 | [diff] [blame] | 9 | |
| 10 | Functions |
| 11 | ========= |
| 12 | |
| 13 | The mmc-utils tools can do the following: |
Mauro Carvalho Chehab | f408510 | 2019-04-18 14:44:06 -0300 | [diff] [blame] | 14 | |
Baolin Wang | f3e27a8 | 2016-03-16 20:02:49 +0800 | [diff] [blame] | 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. |