[Feature][T8TSK-216][system] change download script for a/b partitions
Change-Id: Iaf65497399ab4d0fa8186b5707a49956bea346bf
diff --git a/meta-sdk/meta/meta-lynqSDK-T800/recipes-devtools/flashtool/files/auto2735evb-ivt-main/flashproc.py b/meta-sdk/meta/meta-lynqSDK-T800/recipes-devtools/flashtool/files/auto2735evb-ivt-main/flashproc.py
index e9ed5f0..074f5c9 100755
--- a/meta-sdk/meta/meta-lynqSDK-T800/recipes-devtools/flashtool/files/auto2735evb-ivt-main/flashproc.py
+++ b/meta-sdk/meta/meta-lynqSDK-T800/recipes-devtools/flashtool/files/auto2735evb-ivt-main/flashproc.py
@@ -22,45 +22,87 @@
['fastboot', 'flash', 'download:hsmos', 'hsm_os.img'],
['fastboot', 'oem', 'continue'],
['fbWait'],
- ['fastboot', 'erase', 'nand0'],
+ ['fastboot', 'oem', 'nanderaseblock', '0'],
+ ['fastboot', 'oem', 'nanderaseblock', '1'],
['fastboot', 'flash', 'nand0', 'MBR_NAND'],
- ['fastboot', 'flash', 'bl2', 'bl2.img'],
+ ['fastboot', 'erase', 'bl2_a'],
+ ['fastboot', 'flash', 'bl2_a', 'bl2.img'],
+ ['fastboot', 'erase', 'bl2_b'],
['fastboot', 'flash', 'bl2_b', 'bl2.img'],
+ ['fastboot', 'erase', 'bl33_a'],
['fastboot', 'flash', 'bl33_a', 'bl33.img'],
+ ['fastboot', 'erase', 'bl33_b'],
['fastboot', 'flash', 'bl33_b', 'bl33.img'],
+ ['fastboot', 'erase', 'spm_a'],
['fastboot', 'flash', 'spm_a', 'spmfw.img'],
+ ['fastboot', 'erase', 'spm_b'],
['fastboot', 'flash', 'spm_b', 'spmfw.img'],
+ ['fastboot', 'erase', 'dtbo'],
['fastboot', 'flash', 'dtbo', 'combo.dtbo'],
+ ['fastboot', 'erase', 'hsm_bl'],
['fastboot', 'flash', 'hsm_bl', 'hsm_bl.img'],
+ ['fastboot', 'erase', 'hsm_os_a'],
['fastboot', 'flash', 'hsm_os_a', 'hsm_os.img'],
+ ['fastboot', 'erase', 'hsm_os_b'],
['fastboot', 'flash', 'hsm_os_b', 'hsm_os.img'],
+ ['fastboot', 'erase', 'boot_para'],
+ ['fastboot', 'erase', 'proinfo'],
['fastboot', 'flash', 'proinfo', 'sncfg.ubi'],
+ ['fastboot', 'erase', 'boot_a'],
['fastboot', 'flash', 'boot_a', 'boot.img'],
+ ['fastboot', 'erase', 'boot_b'],
['fastboot', 'flash', 'boot_b', 'boot.img'],
+ ['fastboot', 'erase', 'system_a'],
['fastboot', 'flash', 'system_a', 'system.img'],
+ ['fastboot', 'erase', 'system_b'],
['fastboot', 'flash', 'system_b', 'system.img'],
+ ['fastboot', 'erase', 'md1img_a'],
['fastboot', 'flash', 'md1img_a', 'md1img.img'],
+ ['fastboot', 'erase', 'md1img_b'],
['fastboot', 'flash', 'md1img_b', 'md1img.img'],
+ ['fastboot', 'erase', 'md1dsp_a'],
['fastboot', 'flash', 'md1dsp_a', 'md1dsp.img'],
+ ['fastboot', 'erase', 'md1dsp_b'],
['fastboot', 'flash', 'md1dsp_b', 'md1dsp.img'],
+ ['fastboot', 'erase', 'misc'],
+ ['fastboot', 'erase', 'tee_a'],
['fastboot', 'flash', 'tee_a', 'tee.img'],
+ ['fastboot', 'erase', 'tee_b'],
['fastboot', 'flash', 'tee_b', 'tee.img'],
- ['fastboot', 'flash', 'nvram', 'nvram.ubi'],
+ ['fastboot', 'erase', 'mcupm_a'],
['fastboot', 'flash', 'mcupm_a', 'mcupm.img'],
+ ['fastboot', 'erase', 'mcupm_b'],
['fastboot', 'flash', 'mcupm_b', 'mcupm.img'],
+ ['fastboot', 'erase', 'medmcu_a'],
['fastboot', 'flash', 'medmcu_a', 'medmcu.img'],
+ ['fastboot', 'erase', 'medmcu_b'],
['fastboot', 'flash', 'medmcu_b', 'medmcu.img'],
+ ['fastboot', 'erase', 'sspm_a'],
['fastboot', 'flash', 'sspm_a', 'sspm.img'],
+ ['fastboot', 'erase', 'sspm_b'],
['fastboot', 'flash', 'sspm_b', 'sspm.img'],
+ ['fastboot', 'erase', 'dpm_a'],
['fastboot', 'flash', 'dpm_a', 'dpm.img'],
+ ['fastboot', 'erase', 'dpm_b'],
['fastboot', 'flash', 'dpm_b', 'dpm.img'],
+ ['fastboot', 'erase', 'userdata'],
['fastboot', 'flash', 'userdata', 'userdata.img'],
+ ['fastboot', 'erase', 'vbmeta_a'],
['fastboot', 'flash', 'vbmeta_a', 'vbmeta.img'],
+ ['fastboot', 'erase', 'vbmeta_b'],
['fastboot', 'flash', 'vbmeta_b', 'vbmeta.img'],
+ ['fastboot', 'erase', 'expdb'],
+ ['fastboot', 'erase', 'delta'],
+ ['fastboot', 'erase', 'secdata'],
+ ['fastboot', 'erase', 'oemdata'],
['fastboot', 'flash', 'oemdata', 'oemdata.img'],
+ ['fastboot', 'erase', 'oemapp_a'],
['fastboot', 'flash', 'oemapp_a', 'oemapp.img'],
+ ['fastboot', 'erase', 'oemapp_b'],
['fastboot', 'flash', 'oemapp_b', 'oemapp.img'],
+ ['fastboot', 'erase', 'oemapp2_a'],
['fastboot', 'flash', 'oemapp2_a', 'oemapp2.img'],
+ ['fastboot', 'erase', 'oemapp2_b'],
['fastboot', 'flash', 'oemapp2_b', 'oemapp2.img']]
}
@@ -92,8 +134,8 @@
['fbWait'],
['fastboot', 'flash', 'download:tz', 'tee.img'],
['fastboot', 'flash', 'download:bl33', 'bl33.img'],
- ['fastboot', 'flash', 'bl2', 'bl2.img'],
- ['fastboot', 'flash', 'bl33', 'bl33.img'],
+ ['fastboot', 'flash', 'bl2_a', 'bl2.img'],
+ ['fastboot', 'flash', 'bl33_a', 'bl33.img'],
['fastboot', 'flash', 'boot_a', 'boot.img'],
['fastboot', 'flash', 'tee_a', 'tee.img'],
['fastboot', 'oem', 'set_active', '0']]
@@ -112,8 +154,8 @@
['fastboot', 'flash', 'download:bl33', 'bl33.img'],
['fastboot', 'oem', 'continue'],
['fbWait'],
- ['fastboot', 'erase', 'bl2'],
- ['fastboot', 'flash', 'bl2', 'bl2.img'],
+ ['fastboot', 'erase', 'bl2_a'],
+ ['fastboot', 'flash', 'bl2_a', 'bl2.img'],
['fastboot', 'erase', 'bl2_b'],
['fastboot', 'flash', 'bl2_b', 'bl2.img'],
['fastboot', 'erase', 'bl33_a'],
@@ -193,8 +235,8 @@
['fastboot', 'flash', 'download:bl33', 'bl33.img'],
['fastboot', 'oem', 'continue'],
['fbWait'],
- ['fastboot', 'erase', 'bl2'],
- ['fastboot', 'flash', 'bl2', 'bl2.img'],
+ ['fastboot', 'erase', 'bl2_a'],
+ ['fastboot', 'flash', 'bl2_a', 'bl2.img'],
['fastboot', 'erase', 'bl2_b'],
['fastboot', 'flash', 'bl2_b', 'bl2.img'],
['fastboot', 'erase', 'bl33_a'],