,sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget,/translations/zh_CN/driver-api/mmc/mmc-toolsmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget,/translations/zh_TW/driver-api/mmc/mmc-toolsmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget,/translations/it_IT/driver-api/mmc/mmc-toolsmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget,/translations/ja_JP/driver-api/mmc/mmc-toolsmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget,/translations/ko_KR/driver-api/mmc/mmc-toolsmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget,/translations/sp_SP/driver-api/mmc/mmc-toolsmodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhsection)}(hhh](htitle)}(hMMC tools introductionh]hMMC tools introduction}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhF/var/lib/git/docbuild/linux/Documentation/driver-api/mmc/mmc-tools.rsthKubh paragraph)}(hThere is one MMC test tools called mmc-utils, which is maintained by Ulf Hansson, you can find it at the below public git repository:h]hThere is one MMC test tools called mmc-utils, which is maintained by Ulf Hansson, you can find it at the below public git repository:}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh block_quote)}(h7https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git h]h)}(h6https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.gith]h reference)}(hhh]h6https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git}(hhhhhNhNubah}(h]h ]h"]h$]h&]refurihuh1hhhubah}(h]h ]h"]h$]h&]uh1hhhhKhhubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hhh](h)}(h Functionsh]h Functions}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubh)}(h)The mmc-utils tools can do the following:h]h)The mmc-utils tools can do the following:}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hhhhubh)}(hXf- Print and parse extcsd data. - Determine the eMMC writeprotect status. - Set the eMMC writeprotect status. - Set the eMMC data sector size to 4KB by disabling emulation. - Create general purpose partition. - Enable the enhanced user area. - Enable write reliability per partition. - Print the response to STATUS_SEND (CMD13). - Enable the boot partition. - Set Boot Bus Conditions. - Enable the eMMC BKOPS feature. - Permanently enable the eMMC H/W Reset feature. - Permanently disable the eMMC H/W Reset feature. - Send Sanitize command. - Program authentication key for the device. - Counter value for the rpmb device will be read to stdout. - Read from rpmb device to output. - Write to rpmb device from data file. - Enable the eMMC cache feature. - Disable the eMMC cache feature. - Print and parse CID data. - Print and parse CSD data. - Print and parse SCR data.h]h bullet_list)}(hhh](h list_item)}(hPrint and parse extcsd data.h]h)}(hjh]hPrint and parse extcsd data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(h'Determine the eMMC writeprotect status.h]h)}(hj0h]h'Determine the eMMC writeprotect status.}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj.ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(h!Set the eMMC writeprotect status.h]h)}(hjGh]h!Set the eMMC writeprotect status.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjEubah}(h]h ]h"]h$]h&]uh1jhjubj)}(h