summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2023-05-12 11:01:58 +0800
committerYongqin Liu <yongqin.liu@linaro.org>2023-10-20 02:43:12 +0000
commitc1109ce1386408da1ccf5da3b5469ec1a79d3816 (patch)
tree1ea9d78749e547c90d852734bb42ebdcc55a9164
parent81dda7b637100caa0cddff64c52394cf3206d597 (diff)
downloadhikey-c1109ce1386408da1ccf5da3b5469ec1a79d3816.tar.gz
hikey: update the size for the partition of system and userdata
so that it could work with the newer version GSI images. Here are the size information for various GSI images: android11-gsi vendor build out/target/product/hikey/system.img 1281024448 5月 11 14:03 out/target/product/hikey/system.img aosp-android11-gsi/9942623/aosp_arm64-userdebug/aosp_arm64-img-9942623.zip 1451164060 2008-01-01 00:00 system.img aosp-android12-gsi/9942319/aosp_arm64-userdebug/aosp_arm64-img-9942319.zip 1783685120 2008-01-01 00:00 system.img aosp-android13-gsi/9954174/aosp_arm64-userdebug/aosp_arm64-img-9954174.zip 1909940224 2008-01-01 00:00 system.img aosp-master/9962505/aosp_arm64-userdebug/aosp_arm64-img-9962505.zip 1926410240 2008-01-01 00:00 system.img It also depends on the new ptable file which could be fetched from here: http://testdata.linaro.org/lkft/aosp-stable/reference-platform/components/uefi-staging/123/hikey/release/prm_ptable.img Test: booted to homescreen Change-Id: I0a49d4fb4aa1f2de03f736767445bb9b2462e838 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org> (cherry picked from commit 1e6f2272662dc6f3df38f189a0be8ed41d82e77b)
-rw-r--r--hikey/BoardConfig.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/hikey/BoardConfig.mk b/hikey/BoardConfig.mk
index 5f03ddb2..78a16d0f 100644
--- a/hikey/BoardConfig.mk
+++ b/hikey/BoardConfig.mk
@@ -22,14 +22,14 @@ BOARD_KERNEL_CMDLINE += printk.devkmsg=on
TARGET_NO_DTIMAGE := true
BOARD_BOOTIMAGE_PARTITION_SIZE := 67108864
-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1610612736
+BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2684354560
ifeq ($(TARGET_USERDATAIMAGE_4GB), true) # to build for aosp-4g partition table
-BOARD_USERDATAIMAGE_PARTITION_SIZE := 1595915776
+BOARD_USERDATAIMAGE_PARTITION_SIZE := 1488961024
else
ifeq ($(TARGET_WITH_SWAP), true) # to build for swap-8g partition table
BOARD_USERDATAIMAGE_PARTITION_SIZE := 4246715904
else
-BOARD_USERDATAIMAGE_PARTITION_SIZE := 5588893184
+BOARD_USERDATAIMAGE_PARTITION_SIZE := 4515151360
endif
endif
BOARD_FLASH_BLOCK_SIZE := 131072