====== Read out eMMC device life time ======
\\
The eMMC provides an estimated indication about the device life time that is reflected by the averaged wear out of memory relative to its maximum estimated device life time.\\
\\
**Please Note:**\\
The following instructions have been tested on the\\
* TQMa6x BSP REV.113
* TQMa8Xx BSP REV.001
* TQMa6ULx BSP REV.106
* TQMLS102xA BSP REV.109
\\
== Print out eMMC device life time ==
* Boot Starterkit
* Use command $mmc extcsd read to print out:
eMMC Life Time Estimation A
eMMC Life Time Estimation B
eMMC Pre EOL information
++++ Example |
root@MBa6x:~ mmc extcsd read /dev/mmcblk0
eMMC Firmware Version: 73103517%P
eMMC Life Time Estimation A [EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_A]: 0x01
eMMC Life Time Estimation B [EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_B]: 0x01
eMMC Pre EOL information [EXT_CSD_PRE_EOL_INFO]: 0x01
root@MBa6x:~
++++
\\
== Device life time estimation value for type A and type B ==
^ Value ^ Description ^
| 0x00 | Not definded |
| 0x01 | 0% - 10% device life time used |
| 0x02 | 10% - 20% device life time used |
| 0x03 | 20% - 30% device life time used |
| 0x04 | 30% - 40% device life time used |
| 0x05 | 40% - 50% device life time used |
| 0x06 | 50% - 60% device life time used |
| 0x07 | 60% - 70% device life time used |
| 0x08 | 70% - 80% device life time used |
| 0x09 | 80% - 90% device life time used |
| 0x0A | 90% - 100% device life time used |
| 0x0B | Exceeded its maximum estimated device life time |
| others | Reserved |
\\
== Pre EOL info value ==
^Value ^Pre-EOL Info ^Description^
| 0x00 | Not Defined | |
| 0x01 | Normal | Normal |
| 0x02 | Warning | Consumed 80% of reserved block |
| 0x03 | Urgent | |
| 0x04 ~ 0xFF | Reserved | |