gts3l: fs: Recalculate partition size and use Samsung mkbootimg.mk back

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ic403f5b210c31db34d4adb829e0d76025b3c9715
This commit is contained in:
Deokgyu Yang 2021-06-03 02:37:14 +09:00
parent ae814817b9
commit 81446e223f

View file

@ -52,6 +52,8 @@ BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive
BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb
BOARD_KERNEL_PAGESIZE := 4096 BOARD_KERNEL_PAGESIZE := 4096
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x02200000 --tags_offset 0x02000000 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_ARCH := arm64
TARGET_KERNEL_SOURCE := kernel/samsung/msm8996 TARGET_KERNEL_SOURCE := kernel/samsung/msm8996
TARGET_KERNEL_CONFIG := lineageos_gts3llte_defconfig TARGET_KERNEL_CONFIG := lineageos_gts3llte_defconfig
@ -156,14 +158,13 @@ DEVICE_MATRIX_FILE := $(DEVICE_PATH)/compatibility_matrix.xml
# Partitions # Partitions
BOARD_BOOTIMAGE_PARTITION_SIZE := 79691776 BOARD_BOOTIMAGE_PARTITION_SIZE := 79691776
BOARD_CACHEIMAGE_PARTITION_SIZE := 209715200 BOARD_CACHEIMAGE_PARTITION_SIZE := 186351616
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := f2fs BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := f2fs
BOARD_PERSISTIMAGE_PARTITION_SIZE := 33554432 BOARD_PERSISTIMAGE_PARTITION_SIZE := 28811264
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 79691776 BOARD_RECOVERYIMAGE_PARTITION_SIZE := 79691776
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3072000000 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 4061331456
#BOARD_SYSTEMIMAGE_PARTITION_SIZE := 4194304000 BOARD_USERDATAIMAGE_PARTITION_SIZE := 25680748544
BOARD_USERDATAIMAGE_PARTITION_SIZE := 26226982912 BOARD_FLASH_BLOCK_SIZE := 131072 # (BOARD_KERNEL_PAGESIZE * 64)
BOARD_FLASH_BLOCK_SIZE := 131072
BOARD_ROOT_EXTRA_SYMLINKS := \ BOARD_ROOT_EXTRA_SYMLINKS := \
/mnt/vendor/persist:/persist \ /mnt/vendor/persist:/persist \
/mnt/vendor/efs:/efs \ /mnt/vendor/efs:/efs \