Options#

mnand_hs supports the following options:

Options

Description

Supported Devices

(LNX only)

-d <path>

(Required) Specifies the device path. For information on supported paths, see Device Paths in this section.

eMMC and UFS

-h

Shows usage.

eMMC and UFS

-b

Includes the bad block table in output.

eMMC

-ah

Includes the age per block in hex mode.

eMMC

-ac

Includes the age per block, in decimal mode, comma-separated.

eMMC

-at

Includes age totals calculated by the utility.

eMMC

-as

Includes age summary calculated by the partition.

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

-eol

Includes EOL status.

eMMC

-rp

Includes reported or estimated refresh progress if available.

eMMC and UFS

-bkops

Includes the BKOPS_EN status.

eMMC and UFS

-bsts

Includes the BKOPS_STATUS data.

eMMC and UFS

-bsta

Executes BKOPS_START.

Cache enable operation is not allowed in the list pass through commands supported by the Storage Server currently for security reasons so this returns a failure.

eMMC

-bkops_set <0/1>

Sets/clears BKOPS_EN.

Setting /Clearing BKOPS_EN operation is not allowed in the list pass through commands supported by the Storage Server currently for security reasons so this returns a failure.

eMMC and UFS

-ponen

Enables POWER_OFF notification.

Enabling power off notification operation is not allowed in the list pass through commands supported by the Storage Server currently for security reasons so this returns a failure.

eMMC

-ponsta

Sends POWER_OFF notification.

eMMC

-cache_en <0/1/2>

Enables mNAND cache:

0 - READ CACHE

1 - WRITE CACHE

2 - READ & WRITE CACHE

Default - 2(READ & WRITE CACHE)

Cache enable operation is not allowed in the list pass through commands supported by the Storage Server currently for security reasons so this returns a failure.

eMMCand UFS

-cache_disable <0/1/2>

Disables mNAND cache:

0 - READ CACHE

1 - WRITE CACHE

2 - READ & WRITE CACHE

Default - 2(READ & WRITE CACHE)

Cache disable operation is not allowed in the list pass through commands supported by the Storage Server currently for security reasons so this returns a failure.

eMMCand UFS

-cache_flush

Flushes the cache.

Cache flush operation is not allowed in the list pass through commands supported by the Storage Server currently for security reasons so this returns a failure.

eMMCand UFS

-cache_status

Prints cache enabled/disabled status for Read and Write cache.

eMMCand UFS

-t

Trims the device. Trim command is not allowed in the list pass through commands supported by the Storage Server currently for security reasons so this returns a failure.

eMMC and UFS

-r <count>

Refreshes the blocks.

eMMC and UFS(for UFS count is optional)

-rut <time_us>

Refreshes unit time (i.e., time for single

UFS (optional)

-flag_rd <flag_idn>

Reads UFS Flag.

UFS

-flag_wr <flag_idn> <flag_val>

Writes UFS Flag.

UFS

-attr_rd <attr_idn>

Reads UFS Attribute.

UFS

-attr_wr <attr_idn> <attr_val>

Writes UFS Attribute.

UFS

-desc_rd <desc_idn>

Reads UFS descriptor.

UFS

-ffu <fw_file>

  • Field Firmware Update using this firmware file - fw_file. The firmware file should follow below naming convention.

“ <firmware image>_PRN_<product id/revision>_FWVER_<hex version string>.bin”

eMMC and UFS

-ffusts

Get Field Firmware Update status

eMMC and UFS

-fwver

Get Firmware version of the UFS/EMMC device

eMMC and UFS

-smrt

Include age summary (calculated by part smart report)

eMMC and UFS