深入研究全志SOC芯片EFUSE,并扩展xfel工具,实现efuse烧写。
-
全志的SOC,只要不是太老旧的芯片,里面都集成了2048bit的EFUSE,但此熔丝位的很多细节,并没有相关描述文档,这导致大家很难在实际项目中应用此功能,而且也缺乏灵活的烧写工具,基于此问题,我花了点时间扩展了下XFEL工具。
现已支持如下芯片的efuse烧写:
1,D1 / D1s / F133
2,T113 / R528
3,V851/ V853扩展的烧写命令:
usage: xfel extra efuse dump - Dump all of the efuse information xfel extra efuse read32 <offset> - Read 32-bits value from efuse xfel extra efuse write32 <offset> <value> - Write 32-bits value to efuse xfel extra efuse write <offset> <file> - Write file to efuse
Dump芯片EFUSE
xfel extra efuse dump chipid:(0x0000 128-bits) 93406000 0c004814 01426250 48671b4b brom-conf-try:(0x0010 32-bits) 00000000 thermal-sensor:(0x0014 64-bits) 88fbc11a 01e9080f ft-zone:(0x001c 128-bits) 898f1919 0f760f6c 3108126c 811a0a0e tvout:(0x002c 32-bits) 0000028f tvout-gamma:(0x0030 64-bits) 00000000 00000000 oem-program:(0x0038 64-bits) 00000000 00000000 write-protect:(0x0040 32-bits) 00000000 read-protect:(0x0044 32-bits) 00000000 reserved1:(0x0048 64-bits) 00000000 00000000 huk:(0x0050 192-bits) 00000000 00000000 00000000 00000000 00000000 00000000 reserved2:(0x0068 64-bits) 00000000 00000000 rotpk:(0x0070 256-bits) 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ssk:(0x0090 256-bits) 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 rssk:(0x00b0 128-bits) 00000000 00000000 00000000 00000000 hdcp-hash:(0x00c0 128-bits) 00000000 00000000 00000000 00000000 nv1:(0x00d0 32-bits) 00000000 nv2:(0x00d4 32-bits) 00000000 reserved3:(0x00d8 96-bits) 00000000 00000000 00000000 oem-program-secure:(0x00e4 224-bits) 00000000 00000000 00000000 00000000 00000000 00000000 00000000
完整讨论贴,见坑网
https://whycan.com/t_9947.html
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号