mmc-utils(1) General Commands Manual mmc-utils(1) (NAME) mmc - MMC eMMC (SYNOPSIS) mmc [] [--mmc]... (DESCRIPTION) mmc-utils (single-threaded) MMC . mmc-utils MMC (configuration registers) . (OPTIONS) extcsd read device CSD (extcsd). extcsd write offset value device value offset extcsd . writeprotect boot get device (write protect) . writeprotect boot set device [number] . number ( ) eMMC . () . writeprotect user get device . writeprotect user set type start-block blocks device . start-block . blocks . ! . "writeprotect user get" . type : none . temp . pwron (power cycle). disable 512B emulation device eMMC . gp create dry-run length-KiB partition enh-attr ext-attr device (general purpose) . ! ( ) . (enhanced) enh-attr . dry-run : -y PARTITION_SETTING_COMPLETED extcsd . -c . otherwise . enh_area set dry-run start-KiB length-KiB device ( ). write_reliability set dry-run partition device ( ). status get device STATUS_SEND (CMD13). bootpart enable boot-partition send-ackn device ( boot-partition ). bootbus set boot-mode reset-boot-bus-conditions boot-bus-width device (Boot Bus Conditions). bkops_en mode device BKOPS eMMC . mode auto () manual () ( ). hwreset enable device eMMC ( ). hwreset disable device eMMC ( ). sanitize device [timeout_ms] Sanitize . rpmb write-key rpmb-device key-file ( '-' ). . rpmb read-counter rpmb-device rpmb-device . rpmb read-block rpmb-device address blocks-count output-file [key-file] rpmb-device stdout. rpmb write-block rpmb-device address 256-byte-data-file key-file rpmb-device. rpmb secure-wp-mode-on rpmb-device key-file . rpmb secure-wp-mode-off rpmb-device key-file ( ). cache enable device () eMMC . cache disable device () eMMC . csd read [-h][-v] [-b bus_type] [-r register] CSD . cid read [-h][-v] [-b bus_type] [-r register] CID . scr read [-h][-v] [-b bus_type] [-r register] SD ( SCR) . ffu image-file-name device [chunk-bytes] (Field Firmware Update / FFU) . erase type start-address end-address device Erase CMD38 . gen_cmd read device [arg] GEN_CMD (CMD56) . softreset device CMD0 . boot_operation boot-data-file device . --help | help | -h . cmd --help cmd. RPMB (RPMB COMMANDS) RPMB ( ) eMMC . . RPMB ** ioctl() . (EXAMPLES) RPMB RPMB : $ echo -n AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHH | mmc rpmb write-key /dev/mmcblk0rpmb - : $ echo -n AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHH | mmc rpmb read-block /dev/mmcblk0rpmb 0x02 2 - /tmp/block: $ mmc rpmb read-block /dev/mmcblk0rpmb 0x02 2 /tmp/block (FFU) FFU : $ mmc ffu IO4e0aC2056001801M1100042AE1.fluf /dev/mmcblk0 : $ mmc ffu IO4e0aC2056001801M1100042AE1.fluf /dev/mmcblk0 4096 (AUTHORS) mmc-utils Chris Ball . Ulf Hansson . (REPORTING BUGS) mmc . (SEE ALSO) README . : : User Manual April 2024 mmc-utils(1)