efuse_definition.xml 9.5 KB

1
  1. <efuse_writer chip="6763" output_bin_size="512"> <definitions> <!-- Inner Value declaration--> <inner_value tag="magic-key" attribute="key1"> <require length="8" /> <suppress_log /> </inner_value> <inner_value tag="magic-key" attribute="key2"> <require length="8" /> <suppress_log /> </inner_value> <inner_value tag="usb-id" attribute="vid"> <require length="4" /> </inner_value> <inner_value tag="usb-id" attribute="pid"> <require length="4" /> </inner_value> <!-- Inner Text declaration--> <inner_text tag="ac-key"> <require length="32" /> </inner_text> <inner_text tag="custk"> <require length="32" /> </inner_text> <inner_text tag="c_data0"> <require length="8" /> </inner_text> <inner_text tag="c_data1"> <require length="8" /> </inner_text> <inner_text tag="c_data2"> <require length="8" /> </inner_text> <inner_text tag="c_data3"> <require length="8" /> </inner_text> <inner_text tag="c_data4"> <require length="8" /> </inner_text> <inner_text tag="c_data5"> <require length="8" /> </inner_text> <inner_text tag="c_ctrl0"> <require length="8" /> </inner_text> <inner_text tag="c_ctrl1"> <require length="8" /> </inner_text> <!-- Boolean declaration--> <boolean tag="common-ctrl" attribute="Disable_UFS_boot" /> <boolean tag="common-ctrl" attribute="USB_download_type" /> <boolean tag="common-ctrl" attribute="Disable_EMMC_boot" /> <boolean tag="secure-ctrl" attribute="Disable_DBGPORT_LOCK" /> <boolean tag="secure-ctrl" attribute="Enable_SW_JTAG_CON" /> <boolean tag="secure-ctrl" attribute="Enable_ACC" /> <boolean tag="secure-ctrl" attribute="Enable_ACK" /> <boolean tag="secure-ctrl" attribute="Enable_SLA" /> <boolean tag="secure-ctrl" attribute="Enable_DAA" /> <boolean tag="secure-ctrl" attribute="Enable_SBC" /> <boolean tag="secure-ctrl" attribute="Disable_JTAG" /> <boolean tag="sec_msc" attribute="md1_sbc_en" /> <boolean tag="sec_msc" attribute="c2k_sbc_en" /> <boolean tag="c_ctrlm" attribute="disable_self_blow" /> <boolean tag="cm_flag" attribute="enable_custk" /> <boolean tag="c_lock" attribute="c_data5_lock" /> <boolean tag="c_lock" attribute="c_data4_lock" /> <boolean tag="c_lock" attribute="c_data3_lock" /> <boolean tag="c_lock" attribute="c_data2_lock" /> <boolean tag="c_lock" attribute="c_data1_lock" /> <boolean tag="c_lock" attribute="c_data0_lock" /> <boolean tag="c_lock" attribute="c_ctrl1_lock" /> <boolean tag="c_lock" attribute="c_ctrl0_lock" /> <boolean tag="c_lock" attribute="c_ctrlm_lock" /> <boolean tag="secure-lock" attribute="custk_lock" /> <boolean tag="secure-lock" attribute="sec_msc_lock" /> <boolean tag="secure-lock" attribute="sec_attr_lock" /> <boolean tag="secure-lock" attribute="ackey_lock" /> <boolean tag="secure-lock" attribute="sbc_pubk_hash_lock" /> <boolean tag="common-lock" attribute="com_ctrl_lock" /> <boolean tag="common-lock" attribute="usb_id_lock" /> <boolean tag="run_time_blowing_config" attribute="bypass_c_data0" /> <boolean tag="run_time_blowing_config" attribute="bypass_c_data1" /> <boolean tag="run_time_blowing_config" attribute="bypass_c_data2" /> <boolean tag="run_time_blowing_config" attribute="bypass_c_data3" /> <boolean tag="run_time_blowing_config" attribute="bypass_c_data4" /> <boolean tag="run_time_blowing_config" attribute="bypass_c_data5" /> <boolean tag="run_time_blowing_config" attribute="bypass_c_ctrl0" /> <boolean tag="run_time_blowing_config" attribute="bypass_c_ctrl1" /> </definitions> <blow_list> <efuse offset="0x0" type="inner_value"> <input tag="magic-key" attribute="key1" /> </efuse> <efuse offset="0x4" type="inner_value"> <input tag="magic-key" attribute="key2" /> </efuse> <efuse offset="0xC" type="inner_text"> <input tag="ac-key" start_index="0" end_index="7" /> </efuse> <efuse offset="0x10" type="inner_text"> <input tag="ac-key" start_index="8" end_index="15" /> </efuse> <efuse offset="0x14" type="inner_text"> <input tag="ac-key" start_index="16" end_index="23" /> </efuse> <efuse offset="0x18" type="inner_text"> <input tag="ac-key" start_index="24" end_index="31" /> </efuse> <efuse offset="0x1C" type="external"> <input key="SBC_PUBK_HASH" start_index="0" end_index="7" /> </efuse> <efuse offset="0x20" type="external"> <input key="SBC_PUBK_HASH" start_index="8" end_index="15" /> </efuse> <efuse offset="0x24" type="external"> <input key="SBC_PUBK_HASH" start_index="16" end_index="23" /> </efuse> <efuse offset="0x28" type="external"> <input key="SBC_PUBK_HASH" start_index="24" end_index="31" /> </efuse> <efuse offset="0x2C" type="external"> <input key="SBC_PUBK_HASH" start_index="32" end_index="39" /> </efuse> <efuse offset="0x30" type="external"> <input key="SBC_PUBK_HASH" start_index="40" end_index="47" /> </efuse> <efuse offset="0x34" type="external"> <input key="SBC_PUBK_HASH" start_index="48" end_index="55" /> </efuse> <efuse offset="0x38" type="external"> <input key="SBC_PUBK_HASH" start_index="56" end_index="63" /> </efuse> <!-- usb-vid and usb-pid are special cases. They need to be reversed! --> <efuse offset="0x3C" type="inner_value"> <input tag="usb-id" attribute="pid" reverse_endian="true" /> </efuse> <!-- usb-vid and usb-pid are special cases. They need to be reversed! --> <efuse offset="0x40" type="inner_value"> <input tag="usb-id" attribute="vid" reverse_endian="true" /> </efuse> <efuse offset="0x44" type="inner_text"> <input tag="c_data0" /> </efuse> <efuse offset="0x48" type="inner_text"> <input tag="c_data1" /> </efuse> <efuse offset="0x4C" type="inner_text"> <input tag="c_data2" /> </efuse> <efuse offset="0x50" type="inner_text"> <input tag="c_data3" /> </efuse> <efuse offset="0x54" type="inner_text"> <input tag="c_data4" /> </efuse> <efuse offset="0x58" type="inner_text"> <input tag="c_data5" /> </efuse> <efuse offset="0x5C" type="inner_text"> <input tag="custk" start_index="0" end_index="7" /> </efuse> <efuse offset="0x60" type="inner_text"> <input tag="custk" start_index="8" end_index="15" /> </efuse> <efuse offset="0x64" type="inner_text"> <input tag="custk" start_index="16" end_index="23" /> </efuse> <efuse offset="0x68" type="inner_text"> <input tag="custk" start_index="24" end_index="31" /> </efuse> <efuse offset="0x6C" type="boolean"> <input bit="0" tag="common-ctrl" attribute="Disable_EMMC_boot" /> <input bit="2" tag="common-ctrl" attribute="USB_download_type" /> <input bit="12" tag="common-ctrl" attribute="Disable_UFS_boot" /> </efuse> <efuse offset="0x70" type="boolean"> <input bit="0" tag="secure-ctrl" attribute="Disable_JTAG" /> <input bit="1" tag="secure-ctrl" attribute="Enable_SBC" /> <input bit="2" tag="secure-ctrl" attribute="Enable_DAA" /> <input bit="3" tag="secure-ctrl" attribute="Enable_SLA" /> <input bit="4" tag="secure-ctrl" attribute="Enable_ACK" /> <input bit="5" tag="secure-ctrl" attribute="Enable_ACC" /> <input bit="6" tag="secure-ctrl" attribute="Enable_SW_JTAG_CON" /> <input bit="9" tag="secure-ctrl" attribute="Disable_DBGPORT_LOCK" /> </efuse> <efuse offset="0x74" type="boolean"> <input bit="0" tag="sec_msc" attribute="c2k_sbc_en" /> <input bit="1" tag="sec_msc" attribute="md1_sbc_en" /> </efuse> <efuse offset="0x78" type="inner_text"> <input tag="c_ctrl0" /> </efuse> <efuse offset="0x7C" type="inner_text"> <input tag="c_ctrl1" /> </efuse> <efuse offset="0x80" type="boolean"> <input bit="15" tag="cm_flag" attribute="enable_custk" /> </efuse> <!-- offset 0x84 is kept for internally automatically blowing --> <efuse offset="0x88" type="boolean"> <input bit="0" tag="c_ctrlm" attribute="disable_self_blow" /> </efuse> <efuse offset="0x8C" type="boolean"> <input bit="0" tag="c_lock" attribute="c_ctrlm_lock" /> <input bit="1" tag="c_lock" attribute="c_ctrl0_lock" /> <input bit="2" tag="c_lock" attribute="c_ctrl1_lock" /> <input bit="3" tag="c_lock" attribute="c_data0_lock" /> <input bit="4" tag="c_lock" attribute="c_data1_lock" /> <input bit="5" tag="c_lock" attribute="c_data2_lock" /> <input bit="6" tag="c_lock" attribute="c_data3_lock" /> <input bit="7" tag="c_lock" attribute="c_data4_lock" /> <input bit="8" tag="c_lock" attribute="c_data5_lock" /> </efuse> <efuse offset="0x90" type="boolean"> <input bit="0" tag="secure-lock" attribute="sbc_pubk_hash_lock" /> <input bit="1" tag="secure-lock" attribute="ackey_lock" /> <input bit="2" tag="secure-lock" attribute="sec_attr_lock" /> <input bit="3" tag="secure-lock" attribute="sec_msc_lock" /> <input bit="4" tag="secure-lock" attribute="custk_lock" /> </efuse> <efuse offset="0x94" type="boolean"> <input bit="1" tag="common-lock" attribute="usb_id_lock" /> <input bit="2" tag="common-lock" attribute="com_ctrl_lock" /> </efuse> <efuse offset="0x98" type="boolean"> <input bit="0" tag="run_time_blowing_config" attribute="bypass_c_data0" /> <input bit="1" tag="run_time_blowing_config" attribute="bypass_c_data1" /> <input bit="2" tag="run_time_blowing_config" attribute="bypass_c_data2" /> <input bit="3" tag="run_time_blowing_config" attribute="bypass_c_data3" /> <input bit="4" tag="run_time_blowing_config" attribute="bypass_c_data4" /> <input bit="5" tag="run_time_blowing_config" attribute="bypass_c_data5" /> <input bit="6" tag="run_time_blowing_config" attribute="bypass_c_ctrl0" /> <input bit="7" tag="run_time_blowing_config" attribute="bypass_c_ctrl1" /> </efuse> </blow_list> </efuse_writer>