Difference between revisions of "EMMC"
From FriendlyELEC WiKi
(updated by API) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[eMMC/zh|查看中文]] | [[eMMC/zh|查看中文]] | ||
− | |||
===How to check emmc lifespan (supported above kernel 4.x)=== | ===How to check emmc lifespan (supported above kernel 4.x)=== | ||
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
Line 20: | Line 19: | ||
0x02 - Warning: consumed 80% of the reserved blocks. | 0x02 - Warning: consumed 80% of the reserved blocks. | ||
0x03 - Urgent: consumed 90% of the reserved blocks. | 0x03 - Urgent: consumed 90% of the reserved blocks. | ||
− | </syntaxhighlight> | + | </syntaxhighlight><br> |
+ | [[File:Emmc-lifetime.jpg|frameless|500px]]<br> | ||
+ | [[File:Emmc-preeolinfo.jpg|frameless|500px]]<br> |
Latest revision as of 03:32, 20 May 2022
1 How to check emmc lifespan (supported above kernel 4.x)
cat /sys/class/mmc_host/mmc0/mmc0\:0001/pre_eol_info cat /sys/class/mmc_host/mmc0/mmc0\:0001/life_time
Devices with different node names may be different。
2 Description
Since e.MMC 5.0, device health status became part of the standard. It provides life time estimation for SLC and MLC areas as well as pre EOL status: Device life time estimation type A: life time estimation for SLC eraseblocks, provided in steps of 10%, e.g.: 0x02 means 10%-20% device life time used. Device life time estimation type B: life time estimation for MLC eraseblocks, provided in steps of 10%, e.g.: 0x02 means 10%-20% device life time used. Pre EOL information: overall status for reserved blocks. Possible values are: 0x00 - Not defined. 0x01 - Normal: consumed less than 80% of the reserved blocks. 0x02 - Warning: consumed 80% of the reserved blocks. 0x03 - Urgent: consumed 90% of the reserved blocks.