summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTianjie <xunchang@google.com>2021-03-18 12:01:47 -0700
committerTianjie <xunchang@google.com>2021-03-18 12:01:47 -0700
commit452dff0580985a36cf90ff0db4e60414d033ba3c (patch)
tree6b44345e40eab66a12c8b919d777c473be3952fe
parent8811fd3ab2bbffec09df45374e590b9bea7a1e1b (diff)
downloadhikey-452dff0580985a36cf90ff0db4e60414d033ba3c.tar.gz
Reserve space in super for dynamic partition metadata
The maximum size of all dynamic partition groups should not exceed the super size - DAP metadata size. Today the configuration of the device doesn't take the metadata into acount. Since we recommend 4M to partners, reserve 4M here. Bug: 182431975 Test: build Change-Id: I2feb06531bf0bbbff8845fa485b5b4917152bad6
-rw-r--r--hikey960/BoardConfig.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/hikey960/BoardConfig.mk b/hikey960/BoardConfig.mk
index b3a059fd..515cce6b 100644
--- a/hikey960/BoardConfig.mk
+++ b/hikey960/BoardConfig.mk
@@ -59,7 +59,7 @@ BOARD_BUILD_SUPER_IMAGE_BY_DEFAULT := true
BOARD_SUPER_PARTITION_SIZE := 4915724288
BOARD_SUPER_PARTITION_GROUPS := hikey960_dynamic_partitions
BOARD_HIKEY960_DYNAMIC_PARTITIONS_PARTITION_LIST := system vendor system_ext product
-BOARD_HIKEY960_DYNAMIC_PARTITIONS_SIZE := 4915724288
+BOARD_HIKEY960_DYNAMIC_PARTITIONS_SIZE := 4911529984 # Reserve 4M for DAP metadata
BOARD_SUPER_PARTITION_METADATA_DEVICE := super
BOARD_SUPER_IMAGE_IN_UPDATE_PACKAGE := true