<?xml version="1.0" encoding="utf-8"?>

<root>
	<bootrom tool="uart" baud="115200">
		<!-- secboot begin -->
		<image name="xloader" id="0x3" path="sec_xloader_usb.img" cycle="3"/>
		<image name="xrse" id="0x4" path="sec_xrse_fw.img" cycle="3"/>
		<!-- secboot end -->
		<!-- non-secboot begin -->
		<!-- image name="xloader" id="0x3" path="sec_xloader_usb_xr.img" cycle="3"/ -->
		<!-- image name="xrse" id="0x4" path="sec_xrse_fw_xr.img" cycle="3"/ -->
		<!-- non-secboot end -->
		<!-- misc 0x5: quit storage prepare; 0x6: enter test mode -->
		<command name="misc" value="0x5" />
		<image name="ddr_param" id="0xa" path="sec_ddr_para.img" cycle="3" />
		<image name="bl2" id="0x5" path="sec_bl2.bin" cycle="3"/>
		<image name="uefi" id="0x6" path="sec_uefi.img" cycle="3"/>
		<image name="xctrl_cpu" id="0x7" path="sec_xctrl_cpu.img" cycle="3"/>
		<image name="xctrl_ddr" id="0xb" path="sec_xctrl_ddr.img" cycle="3"/>
		<image name="lpctrl" id="0xc" path="sec_lpctrl.bin" cycle="3"/>
		<image name="gpt" id="0x8" path="gpt/dijun/gpt.img" cycle="3"/>
	</bootrom>

	<bootloader tool="fastboot" cycle="3">
		<!-- secboot begin -->
		<image name="xloader" partition="xloader_ab" path="sec_xloader.img" cycle="5"/>
		<image name="xrse" partition="xrse_ab" path="sec_xrse_fw.img" cycle="5"/>
		<!-- secboot end -->
		<!-- non-secboot begin -->
		<!-- image name="xloader" partition="xloader_ab" path="sec_xloader_xr.img" cycle="5"/ -->
		<!-- image name="xrse" partition="xrse_ab" path="sec_xrse_fw_xr.img" cycle="5"/ -->
		<!-- non-secboot end -->
		<image name="bl2" partition="bl2_ab" path="sec_bl2.bin" cycle="5"/>
		<image name="uefi" partition="uefi_ab" path="sec_uefi.img" cycle="5"/>
		<image name="ddr_param" partition="ddr_param_ab" path="sec_ddr_para.img" cycle="5" />
		<image name="boot_logo" partition="boot_logo_ab" path="boot_logo.img" cycle="5"/>
		<image name="xctrl_cpu" partition="xctrl_cpu_ab" path="sec_xctrl_cpu.img" cycle="5"/>
		<image name="xctrl_ddr" partition="xctrl_ddr_ab" path="sec_xctrl_ddr.img" cycle="5"/>
		<image name="nvmem" partition="nvmem" path="nve.img" cycle="5"/>
		<image name="lpctrl" partition="lpctrl_ab" path="sec_lpctrl.bin" cycle="5"/>
		<image name="bl31" partition="bl31_ab" path="sec_bl31.bin" cycle="5"/>
		<image name="tee" partition="tee_ab" path="sec_tee.bin" cycle="5"/>
		<image name="xhee" partition="xhee_ab" path="sec_xhee.img" cycle="5"/>
		<image name="xspm" partition="xspm_ab" path="sec_xspm.img" cycle="5"/>
		<image name="xsp" partition="xsps_ab" path="sec_xsp.img" cycle="5"/>
		<image name="sensorhub" partition="sensorhub_ab" path="sec_sensorhub.img" cycle="5"/>
		<image name="adsp" partition="adsp_ab" path="sec_adsp.bin" cycle="5"/>
		<image name="isp" partition="isp_ab" path="sec_isp.img" cycle="5"/>
		<image name="npu" partition="npu_ab" path="sec_npu.img" cycle="5"/>
		<image name="dtbo" partition="dtbo_ab" path="dtbo.img" cycle="5"/>
		<image name="sec_dtbo" partition="sec_dtbo_ab" path="sec_dtb.img" cycle="5" />
		<image name="boot" partition="boot_ab" path="boot.img" cycle="5"/>
		<image name="vendor_boot" partition="vendor_boot_ab" path="vendor_boot.img" cycle="5"/>
		<image name="init_boot" partition="init_boot_ab" path="init_boot.img" cycle="5"/>
		<image name="userdata" partition="userdata" path="userdata.img" cycle="5"/>
		<image name="vbmeta" partition="vbmeta_ab" path="vbmeta.img" cycle="5"/>
		<image name="vbmeta_system" partition="vbmeta_system_ab" path="vbmeta_system.img" cycle="5"/>
		<image name="vbmeta_vendor" partition="vbmeta_vendor_ab" path="vbmeta_vendor.img" cycle="5"/>
		<image name="sap" partition="sap_ab" path="sap.img" cycle="5"/>
		<image name="mcf_ota" partition="mcf_ota_ab" path="mcf_ota.img" cycle="5"/>
		<image name="recovery" partition="recovery_ab" path="recovery.img" cycle="5"/>
		<image name="misc" partition="misc" path="misc.img" cycle="5"/>
		<image name="hdcp" partition="hdcp_ab" path="sec_hdcp.bin" cycle="5"/>
		<image name="pvmfw" partition="pvmfw_ab" path="pvmfw.img" cycle="5"/>
		<image name="logfs" partition="logfs" path="logfs_ufs_8mb.bin" cycle="5"/>
		<command name="erase metadata"/>
		<image name="metadata" partition="metadata" path="metadata.img" cycle="5"/>
		<image name="modem" partition="modem_ab" path="tmodem.img" cycle="5"/>
		<image name="super" partition="super" path="super.img" cycle="5"/>
		<command name="getvar flash-done"/>
		<command name="set_active a"/>
		<command name="reboot"/>
	</bootloader>
</root>
