diff options
author | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2019-08-30 07:56:28 +0200 |
---|---|---|
committer | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2019-08-30 08:05:08 +0200 |
commit | 63f19057124b6def2af7233ea8158235e5c27705 (patch) | |
tree | 69a05e5966e8274be8232bb3c824863abb3b7600 /dragonboard820c | |
parent | 04008fd6570b566041e6ded5df738068416607e3 (diff) |
dragonboard*: partition.xml: try to write boot-erase to clear boot partition
When we reset the board with QDL and rescue package, we should clear
the boot partitions as well in case it contains a previous image.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'dragonboard820c')
-rw-r--r-- | dragonboard820c/aosp/partition.xml | 10 | ||||
-rw-r--r-- | dragonboard820c/linux/partition.xml | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/dragonboard820c/aosp/partition.xml b/dragonboard820c/aosp/partition.xml index b7d522d..ba51f54 100644 --- a/dragonboard820c/aosp/partition.xml +++ b/dragonboard820c/aosp/partition.xml @@ -42,11 +42,11 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. <!-- This is LUN 0 - HLOS LUN" --> <physical_partition> - <partition label="system" size_in_kb="4194304" type="97D7B011-54DA-4835-B3C4-917AD6E73D74" bootable="false" readonly="true" filename="system.img" sparse="true"/> - <partition label="cache" size_in_kb="1048576" type="5594C694-C871-4B5F-90B1-690A6F68E0F7" bootable="false" readonly="false" filename="cache.img" sparse="true"/> - <partition label="vendor" size_in_kb="2097152" type="9D72D4E4-9958-42DA-AC26-BEA7A90B0434" bootable="false" readonly="false" filename="vendor.img" /> + <partition label="system" size_in_kb="4194304" type="97D7B011-54DA-4835-B3C4-917AD6E73D74" bootable="false" readonly="true" filename="" /> + <partition label="cache" size_in_kb="1048576" type="5594C694-C871-4B5F-90B1-690A6F68E0F7" bootable="false" readonly="false" filename="" /> + <partition label="vendor" size_in_kb="2097152" type="9D72D4E4-9958-42DA-AC26-BEA7A90B0434" bootable="false" readonly="false" filename="" /> <partition label="swap" size_in_kb="2097152" type="5594C694-C871-4B5F-90B1-690A6F68E0F7" bootable="false" readonly="false" sparse="true"/> - <partition label="userdata" size_in_kb="12582912" type="1B81E7E6-F50D-419B-A739-2AEEF8DA3335" bootable="false" readonly="false" filename="userdata.img" sparse="true"/> + <partition label="userdata" size_in_kb="12582912" type="1B81E7E6-F50D-419B-A739-2AEEF8DA3335" bootable="false" readonly="false" filename="" /> </physical_partition> <!-- This is LUN 1 - Boot LUN A" --> @@ -85,7 +85,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. <partition label="mdtp" size_in_kb="32768" type="3878408A-E263-4B67-B878-6340B35B11E3" bootable="false" readonly="true" filename=""/> <partition label="aboot" size_in_kb="1024" type="400FFDCD-22E0-47E7-9A23-F16ED9382388" bootable="false" readonly="true" filename="emmc_appsboot.mbn"/> <partition label="abootbak" size_in_kb="1024" type="400FFDCD-22E0-47E7-9A23-F16ED9382388" bootable="false" readonly="true" filename="emmc_appsboot.mbn"/> - <partition label="boot" size_in_kb="65536" type="20117F86-E985-4357-B9EE-374BC1D8487D" bootable="false" readonly="true" filename="" /> + <partition label="boot" size_in_kb="65536" type="20117F86-E985-4357-B9EE-374BC1D8487D" bootable="false" readonly="true" filename="boot-erase.img" /> <partition label="devinfo" size_in_kb="1" type="65ADDCF4-0C5C-4D9A-AC2D-D90B5CBFCD03" bootable="false" readonly="true" filename=""/> <partition label="bluetooth" size_in_kb="1024" type="6cb747f1-c2ef-4092-add0-ca39f79c7af4" bootable="false" readonly="true" filename="BTFM.bin"/> <partition label="keymaster" size_in_kb="512" type="4F772165-0F3C-4BA3-BBCB-A829E9C969F9" bootable="false" readonly="true" filename="keymaster.mbn" /> diff --git a/dragonboard820c/linux/partition.xml b/dragonboard820c/linux/partition.xml index a3be54f..74fbe6f 100644 --- a/dragonboard820c/linux/partition.xml +++ b/dragonboard820c/linux/partition.xml @@ -42,7 +42,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. <!-- This is LUN 0 - HLOS LUN" --> <physical_partition> - <partition label="rootfs" size_in_kb="12582912" type="1B81E7E6-F50D-419B-A739-2AEEF8DA3335" bootable="false" readonly="false" filename="" sparse="true"/> + <partition label="rootfs" size_in_kb="12582912" type="1B81E7E6-F50D-419B-A739-2AEEF8DA3335" bootable="false" readonly="false" filename="" /> </physical_partition> <!-- This is LUN 1 - Boot LUN A" --> @@ -81,7 +81,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. <partition label="mdtp" size_in_kb="32768" type="3878408A-E263-4B67-B878-6340B35B11E3" bootable="false" readonly="true" filename=""/> <partition label="aboot" size_in_kb="1024" type="400FFDCD-22E0-47E7-9A23-F16ED9382388" bootable="false" readonly="true" filename="emmc_appsboot.mbn"/> <partition label="abootbak" size_in_kb="1024" type="400FFDCD-22E0-47E7-9A23-F16ED9382388" bootable="false" readonly="true" filename="emmc_appsboot.mbn"/> - <partition label="boot" size_in_kb="65536" type="20117F86-E985-4357-B9EE-374BC1D8487D" bootable="false" readonly="true" filename="" /> + <partition label="boot" size_in_kb="65536" type="20117F86-E985-4357-B9EE-374BC1D8487D" bootable="false" readonly="true" filename="boot-erase.img" /> <partition label="devinfo" size_in_kb="1" type="65ADDCF4-0C5C-4D9A-AC2D-D90B5CBFCD03" bootable="false" readonly="true" filename=""/> <partition label="bluetooth" size_in_kb="1024" type="6cb747f1-c2ef-4092-add0-ca39f79c7af4" bootable="false" readonly="true" filename="BTFM.bin"/> <partition label="keymaster" size_in_kb="512" type="4F772165-0F3C-4BA3-BBCB-A829E9C969F9" bootable="false" readonly="true" filename="keymaster.mbn" /> |