NVIDIA DRIVE OS 5.1 Linux Developer Guide 5.1.0.2 Release |
Note: | Some options are vendor specific. Consequently, some options are valid for Hynix while other eMMC devices report errors. For example, mnand_hs -ah displays age per block for Hynix. However, for a Samsung device or Toshiba device that same option reports a “block data not available” error. |
Options | Description | Supported Devices |
-d <path> | (Required) Specifies the mNAND device path. For information on supported paths, see Device Paths in this section. | eMMC and UFS |
-h | Shows usage. | eMMC and UFS |
-b | Includes in the displayed results the bad block table. | eMMC |
-ah | Includes the age per block, hex mode. | eMMC |
-ac | Includes the age per block. The data is decimal mode and comma-separated. | eMMC |
-at | Includes age totals that are calculated by the app. | eMMC |
-as | Includes age summary that are calculated by the part. | eMMC and UFS |
-s | Includes a spare block summary. | eMMC and UFS |
-st | Includes the card status. | eMMC |
-ext | Includes the ext_csd register data (raw). | eMMC |
-csd | Includes the csd register data (raw). | eMMC |
-cid | Includes the cid register data (raw). | eMMC |
-da | Includes data area information. | eMMC and UFS |
-eol | Includes EOL status. | eMMC and UFS |
-rp | Includes reported or estimated refresh progress if it is available. | eMMC |
-bkops | Includes the BKOPS_EN status. | eMMC and UFS |
-bsts | Includes the BKOPS_STATUS data. | eMMC and UFS |
-bsta | Executes BKOPS_START. | eMMC |
-bkops_set <0/1> | Set/Clear BKOPS_EN. | eMMC and UFS |
-ponen | Enables POWER_OFF notification. | eMMC |
-ponsta | Sends POWER_OFF notification. | eMMC and UFS |
-cache_en <0/1/2> | Enables mNAND cache. | eMMC and UFS |
-cache_flush <0/1/2> | Flushes mNAND cache. | eMMC and UFS |
-flag_rd <flag_idn> | Read UFS Flag. | UFS |
-flag_wr <flag_idn> <flag_val> | Write UFS Flag. | UFS |
-attr_rd <attr_idn> | Read UFS Attribute. | UFS |
-attr_wr <attr_idn> <attr_val> | Write UFS Attribute. | UFS |
-desc_rd <desc_idn> | Read UFS descriptor. | UFS |
-t | Trims the device. | eMMC |
-r <count> | Refreshes the <count> blocks. | eMMC |
Note: | Since per block information is not provided by the Toshiba emmc device, the -b, -ah, -ac, and -at options that depend on per block information give a “Block data not available.” output message. |