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>2024-01-30 04:08:59 +0000
commit3f1b5d4e73dd95d043cae956ae4be1ced77cb23d (patch)
tree18e8c61ef205907b319b7a2ec1f61391f8df38be
parent15438faf1a659787d01e49deb26eca63ba65839c (diff)
downloadhikey-linaro-lkft-android12-hikey960.tar.gz
hikey: update the size for the partition of system and userdatalinaro-lkft-android12-hikey960
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 b30c3287..442871f5 100644
--- a/hikey/BoardConfig.mk
+++ b/hikey/BoardConfig.mk
@@ -35,14 +35,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