GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
MMC(1) mmc-utils MMC(1)

mmc-utils - Configure MMC storage devices from userspace.

mmc [<command> [<args>]] [--help]

mmc [<command>] --help

mmc-utils is a tool for configuring MMC storage devices from userspace.

Shows the abbreviated help menu in the terminal.
Print extcsd data from <device>.
Determine the eMMC writeprotect status of <device>.
Set the eMMC writeprotect status of <device>. This sets the eMMC to be write-protected until next boot.
Set the eMMC data sector size to 4KB by disabling emulation on <device>.
create general purpose partition for the <device>. Dry-run only unless -y or -c is passed. Use -c if more partitioning settings are still to come. To set enhanced attribute to general partition being created set <enh_attr> to 1 else set it to 0. To set extended attribute to general partition set <ext_attr> to 1,2 else set it to 0. NOTE! This is a one-time programmable (unreversible) change.
Enable the enhanced user area for the <device>. Dry-run only unless -y or -c is passed. Use -c if more partitioning settings are still to come. NOTE! This is a one-time programmable (unreversible) change.
Enable write reliability per partition for the <device>. Dry-run only unless -y or -c is passed. Use -c if more partitioning settings are still to come. NOTE! This is a one-time programmable (unreversible) change.
Print the response to STATUS_SEND (CMD13).
Enable the boot partition for the <device>. Disable the boot partition for the <device> with <boot_partition> set to 0. To receive acknowledgment of boot from the card set <send_ack> to 1, else set it to 0.
Set Boot Bus Conditions. <boot_mode> must be "single_backward|single_hs|dual" <reset_boot_bus_conditions> must be "x1|retain" <boot_bus_width> must be "x1|x4|x8"
Enable the eMMC BKOPS feature on <device>. NOTE! This is a one-time programmable (unreversible) change.
Permanently enable the eMMC H/W Reset feature on <device>. NOTE! This is a one-time programmable (unreversible) change.
Permanently disable the eMMC H/W Reset feature on <device>. NOTE! This is a one-time programmable (unreversible) change.
Send Sanitize command to the <device>. This will delete the unmapped memory region of the device.
Program authentication key which is 32 bytes length and stored in the specified file. Also you can specify '-' instead of key file path to read the key from stdin. NOTE! This is a one-time programmable (unreversible) change.
Counter value for the <rpmb device> will be read to stdout.
Blocks of 256 bytes will be read from <rpmb device> to output file or stdout if '-' is specified. If key is specified - read data will be verified. Instead of regular path you can specify
Block of 256 bytes will be written from data file to <rpmb device>. Also you can specify '-' instead of key file path or data file to read the data from stdin.
Enable the eMMC cache feature on <device>. NOTE! The cache is an optional feature on devices >= eMMC4.5.
Disable the eMMC cache feature on <device>. NOTE! The cache is an optional feature on devices >= eMMC4.5.
<cmd> --help
Show detailed help for a command or subset of commands.

echo -n AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHH | mmc rpmb write-key /dev/mmcsd0rpmb -
$ (awk 'BEGIN {while (c++<256) printf "a"}' | echo -n AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHH) | mmc rpmb write-block /dev/mmcsd0rpmb 0x02 - -

$ echo -n AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHH | mmc rpmb read-block /dev/mmcsd0rpmb 0x02 2 /tmp/block -
$ mmc rpmb read-block /dev/mmcsd0rpmb 0x02 2 /tmp/block
2015-11-16 0.1

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.