efuse_definition.xml 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. <efuse_writer chip="6757" output_bin_size="512">
  2. <definitions>
  3. <!-- Inner Value declaration-->
  4. <inner_value tag="magic-key" attribute="key1">
  5. <require length="8" />
  6. <suppress_log />
  7. </inner_value>
  8. <inner_value tag="magic-key" attribute="key2">
  9. <require length="8" />
  10. <suppress_log />
  11. </inner_value>
  12. <inner_value tag="usb-id" attribute="vid">
  13. <require length="4" />
  14. </inner_value>
  15. <inner_value tag="usb-id" attribute="pid">
  16. <require length="4" />
  17. </inner_value>
  18. <!-- Inner Text declaration-->
  19. <inner_text tag="ac-key">
  20. <require length="32" />
  21. </inner_text>
  22. <inner_text tag="c_data0">
  23. <require length="8" />
  24. </inner_text>
  25. <inner_text tag="c_data1">
  26. <require length="8" />
  27. </inner_text>
  28. <inner_text tag="c_data2">
  29. <require length="8" />
  30. </inner_text>
  31. <inner_text tag="c_data3">
  32. <require length="8" />
  33. </inner_text>
  34. <inner_text tag="c_data4">
  35. <require length="8" />
  36. </inner_text>
  37. <inner_text tag="c_data5">
  38. <require length="8" />
  39. </inner_text>
  40. <inner_text tag="c_ctrl0">
  41. <require length="8" />
  42. </inner_text>
  43. <inner_text tag="c_ctrl1">
  44. <require length="8" />
  45. </inner_text>
  46. <!-- Boolean declaration-->
  47. <boolean tag="common-ctrl" attribute="Disable_NAND_boot_speedup" />
  48. <boolean tag="common-ctrl" attribute="USB_download_type" />
  49. <boolean tag="common-ctrl" attribute="Disable_NAND_boot" />
  50. <boolean tag="common-ctrl" attribute="Disable_EMMC_boot" />
  51. <boolean tag="secure-ctrl" attribute="Disable_DBGPORT_LOCK" />
  52. <boolean tag="secure-ctrl" attribute="Enable_Root_Cert" />
  53. <boolean tag="secure-ctrl" attribute="Enable_SW_JTAG_CON" />
  54. <boolean tag="secure-ctrl" attribute="Enable_ACC" />
  55. <boolean tag="secure-ctrl" attribute="Enable_ACK" />
  56. <boolean tag="secure-ctrl" attribute="Enable_SLA" />
  57. <boolean tag="secure-ctrl" attribute="Enable_DAA" />
  58. <boolean tag="secure-ctrl" attribute="Enable_SBC" />
  59. <boolean tag="secure-ctrl" attribute="Disable_JTAG" />
  60. <boolean tag="sec_msc" attribute="efuse_jtag_dis_c2k" />
  61. <boolean tag="sec_msc" attribute="md1_sbc_en" />
  62. <boolean tag="sec_msc" attribute="c2k_sbc_en" />
  63. <boolean tag="c_ctrlm" attribute="disable_self_blow" />
  64. <boolean tag="c_lock" attribute="c_data5_lock" />
  65. <boolean tag="c_lock" attribute="c_data4_lock" />
  66. <boolean tag="c_lock" attribute="c_data3_lock" />
  67. <boolean tag="c_lock" attribute="c_data2_lock" />
  68. <boolean tag="c_lock" attribute="c_data1_lock" />
  69. <boolean tag="c_lock" attribute="c_data0_lock" />
  70. <boolean tag="c_lock" attribute="c_ctrl1_lock" />
  71. <boolean tag="c_lock" attribute="c_ctrl0_lock" />
  72. <boolean tag="c_lock" attribute="c_ctrlm_lock" />
  73. <boolean tag="secure-lock" attribute="sec_msc_lock" />
  74. <boolean tag="secure-lock" attribute="sec_attr_lock" />
  75. <boolean tag="secure-lock" attribute="ackey_lock" />
  76. <boolean tag="secure-lock" attribute="sbc_pubk_hash_lock" />
  77. <boolean tag="common-lock" attribute="com_ctrl_lock" />
  78. <boolean tag="common-lock" attribute="usb_id_lock" />
  79. </definitions>
  80. <blow_list>
  81. <efuse offset="0x0" type="inner_value">
  82. <input tag="magic-key" attribute="key1" />
  83. </efuse>
  84. <efuse offset="0x4" type="inner_value">
  85. <input tag="magic-key" attribute="key2" />
  86. </efuse>
  87. <efuse offset="0xC" type="inner_text">
  88. <input tag="ac-key" start_index="0" end_index="7" />
  89. </efuse>
  90. <efuse offset="0x10" type="inner_text">
  91. <input tag="ac-key" start_index="8" end_index="15" />
  92. </efuse>
  93. <efuse offset="0x14" type="inner_text">
  94. <input tag="ac-key" start_index="16" end_index="23" />
  95. </efuse>
  96. <efuse offset="0x18" type="inner_text">
  97. <input tag="ac-key" start_index="24" end_index="31" />
  98. </efuse>
  99. <efuse offset="0x1C" type="external">
  100. <input key="SBC_PUBK_HASH" start_index="0" end_index="7" />
  101. </efuse>
  102. <efuse offset="0x20" type="external">
  103. <input key="SBC_PUBK_HASH" start_index="8" end_index="15" />
  104. </efuse>
  105. <efuse offset="0x24" type="external">
  106. <input key="SBC_PUBK_HASH" start_index="16" end_index="23" />
  107. </efuse>
  108. <efuse offset="0x28" type="external">
  109. <input key="SBC_PUBK_HASH" start_index="24" end_index="31" />
  110. </efuse>
  111. <efuse offset="0x2C" type="external">
  112. <input key="SBC_PUBK_HASH" start_index="32" end_index="39" />
  113. </efuse>
  114. <efuse offset="0x30" type="external">
  115. <input key="SBC_PUBK_HASH" start_index="40" end_index="47" />
  116. </efuse>
  117. <efuse offset="0x34" type="external">
  118. <input key="SBC_PUBK_HASH" start_index="48" end_index="55" />
  119. </efuse>
  120. <efuse offset="0x38" type="external">
  121. <input key="SBC_PUBK_HASH" start_index="56" end_index="63" />
  122. </efuse>
  123. <!-- usb-vid and usb-pid are special cases. They need to be reversed! -->
  124. <efuse offset="0x3C" type="inner_value">
  125. <input tag="usb-id" attribute="pid" reverse_endian="true" />
  126. </efuse>
  127. <!-- usb-vid and usb-pid are special cases. They need to be reversed! -->
  128. <efuse offset="0x40" type="inner_value">
  129. <input tag="usb-id" attribute="vid" reverse_endian="true" />
  130. </efuse>
  131. <efuse offset="0x44" type="inner_text">
  132. <input tag="c_data0" />
  133. </efuse>
  134. <efuse offset="0x48" type="inner_text">
  135. <input tag="c_data1" />
  136. </efuse>
  137. <efuse offset="0x4C" type="inner_text">
  138. <input tag="c_data2" />
  139. </efuse>
  140. <efuse offset="0x50" type="inner_text">
  141. <input tag="c_data3" />
  142. </efuse>
  143. <efuse offset="0x54" type="inner_text">
  144. <input tag="c_data4" />
  145. </efuse>
  146. <efuse offset="0x58" type="inner_text">
  147. <input tag="c_data5" />
  148. </efuse>
  149. <efuse offset="0x5C" type="boolean">
  150. <input bit="0" tag="common-ctrl" attribute="Disable_EMMC_boot" />
  151. <input bit="1" tag="common-ctrl" attribute="Disable_NAND_boot" />
  152. <input bit="2" tag="common-ctrl" attribute="USB_download_type" />
  153. <input bit="4" tag="common-ctrl" attribute="Disable_NAND_boot_speedup" />
  154. </efuse>
  155. <efuse offset="0x60" type="boolean">
  156. <input bit="0" tag="secure-ctrl" attribute="Disable_JTAG" />
  157. <input bit="1" tag="secure-ctrl" attribute="Enable_SBC" />
  158. <input bit="2" tag="secure-ctrl" attribute="Enable_DAA" />
  159. <input bit="3" tag="secure-ctrl" attribute="Enable_SLA" />
  160. <input bit="4" tag="secure-ctrl" attribute="Enable_ACK" />
  161. <input bit="5" tag="secure-ctrl" attribute="Enable_ACC" />
  162. <input bit="6" tag="secure-ctrl" attribute="Enable_SW_JTAG_CON" />
  163. <input bit="7" tag="secure-ctrl" attribute="Enable_Root_Cert" />
  164. <input bit="9" tag="secure-ctrl" attribute="Disable_DBGPORT_LOCK" />
  165. </efuse>
  166. <efuse offset="0x64" type="boolean">
  167. <input bit="0" tag="sec_msc" attribute="c2k_sbc_en" />
  168. <input bit="1" tag="sec_msc" attribute="md1_sbc_en" />
  169. <input bit="7" tag="sec_msc" attribute="efuse_jtag_dis_c2k" />
  170. </efuse>
  171. <efuse offset="0x68" type="boolean">
  172. <input bit="0" tag="c_ctrlm" attribute="disable_self_blow" />
  173. </efuse>
  174. <efuse offset="0x6C" type="inner_text">
  175. <input tag="c_ctrl0" />
  176. </efuse>
  177. <efuse offset="0x70" type="inner_text">
  178. <input tag="c_ctrl1" />
  179. </efuse>
  180. <efuse offset="0x74" type="boolean">
  181. <input bit="0" tag="c_lock" attribute="c_ctrlm_lock" />
  182. <input bit="1" tag="c_lock" attribute="c_ctrl0_lock" />
  183. <input bit="2" tag="c_lock" attribute="c_ctrl1_lock" />
  184. <input bit="3" tag="c_lock" attribute="c_data0_lock" />
  185. <input bit="4" tag="c_lock" attribute="c_data1_lock" />
  186. <input bit="5" tag="c_lock" attribute="c_data2_lock" />
  187. <input bit="6" tag="c_lock" attribute="c_data3_lock" />
  188. <input bit="7" tag="c_lock" attribute="c_data4_lock" />
  189. <input bit="8" tag="c_lock" attribute="c_data5_lock" />
  190. </efuse>
  191. <efuse offset="0x78" type="boolean">
  192. <input bit="0" tag="secure-lock" attribute="sbc_pubk_hash_lock" />
  193. <input bit="1" tag="secure-lock" attribute="ackey_lock" />
  194. <input bit="2" tag="secure-lock" attribute="sec_attr_lock" />
  195. <input bit="3" tag="secure-lock" attribute="sec_msc_lock" />
  196. </efuse>
  197. <efuse offset="0x7C" type="boolean">
  198. <input bit="1" tag="common-lock" attribute="usb_id_lock" />
  199. <input bit="2" tag="common-lock" attribute="com_ctrl_lock" />
  200. </efuse>
  201. </blow_list>
  202. </efuse_writer>