From 81446e223f18c19906fab472d0cc2294099b7f80 Mon Sep 17 00:00:00 2001 From: Deokgyu Yang Date: Thu, 3 Jun 2021 02:37:14 +0900 Subject: [PATCH] gts3l: fs: Recalculate partition size and use Samsung mkbootimg.mk back Signed-off-by: Deokgyu Yang Change-Id: Ic403f5b210c31db34d4adb829e0d76025b3c9715 --- BoardConfig.mk | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index 3bdbe48..d340583 100755 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -52,6 +52,8 @@ BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb BOARD_KERNEL_PAGESIZE := 4096 BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x02200000 --tags_offset 0x02000000 +BOARD_CUSTOM_BOOTIMG := true +BOARD_CUSTOM_BOOTIMG_MK := hardware/samsung/mkbootimg.mk TARGET_KERNEL_ARCH := arm64 TARGET_KERNEL_SOURCE := kernel/samsung/msm8996 TARGET_KERNEL_CONFIG := lineageos_gts3llte_defconfig @@ -156,14 +158,13 @@ DEVICE_MATRIX_FILE := $(DEVICE_PATH)/compatibility_matrix.xml # Partitions BOARD_BOOTIMAGE_PARTITION_SIZE := 79691776 -BOARD_CACHEIMAGE_PARTITION_SIZE := 209715200 +BOARD_CACHEIMAGE_PARTITION_SIZE := 186351616 BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := f2fs -BOARD_PERSISTIMAGE_PARTITION_SIZE := 33554432 +BOARD_PERSISTIMAGE_PARTITION_SIZE := 28811264 BOARD_RECOVERYIMAGE_PARTITION_SIZE := 79691776 -BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3072000000 -#BOARD_SYSTEMIMAGE_PARTITION_SIZE := 4194304000 -BOARD_USERDATAIMAGE_PARTITION_SIZE := 26226982912 -BOARD_FLASH_BLOCK_SIZE := 131072 +BOARD_SYSTEMIMAGE_PARTITION_SIZE := 4061331456 +BOARD_USERDATAIMAGE_PARTITION_SIZE := 25680748544 +BOARD_FLASH_BLOCK_SIZE := 131072 # (BOARD_KERNEL_PAGESIZE * 64) BOARD_ROOT_EXTRA_SYMLINKS := \ /mnt/vendor/persist:/persist \ /mnt/vendor/efs:/efs \