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