华为Mate 9 2025-10-30 19:57:13
如何制作一把实用又美观的伞? 2025-09-27 00:10:38
超神挂机:暑期挑战赛——轻松挂机赢大奖! 2025-06-28 02:31:49
肯德基在中国门店达11943家! 2025-10-31 03:14:52
猫咪怕生怎么办?教你有效缓解猫咪恐惧的方法 2025-12-03 17:48:28
凉拌金针菇的做法步骤 2025-09-29 18:25:03
伏魔之路·2025三界裂隙开启庆典——跨服伏魔挑战季特别活动 2025-05-06 17:03:24
新鹿鼎记2025盛夏庆典:韦小宝的宝藏争夺战暨全服狂欢盛典 2025-06-10 09:07:35
露比新月玫瑰2025春季庆典:探索神秘花园与玫瑰之谜 2025-04-27 10:29:00
NEC日电(中国)有限公司 2025-11-19 07:09:38

内核中ufs存储设备的设备信息查询方法

本章主要介绍5.4版本内核中ufs存储设备的设备信息查询方法:

ufs设备相关信息节点位于系统:/sys/devices/platform/soc/1d84000.ufshc目录下,具体如下:

其中:

device_descriptor:设备描述相关信息

health_descriptor:使用寿命相关信息

string_descriptors:物料型号、厂商、sn号等信息

具体如下:device_descriptor:

查询料号信息:

adb root

adb shell “cat sys/devices/platform/soc/1d84000.ufshc/string_descriptors/product_name”

string_descriptors:

查询寿命:

adb root

adb shell “cat sys/devices/platform/soc/1d84000.ufshc/health_descriptor/life_time_estimation_a”

adb shell “cat sys/devices/platform/soc/1d84000.ufshc/health_descriptor/life_time_estimation_b”

health_descriptor: