summaryrefslogtreecommitdiff
path: root/BoardConfigCommon.mk
diff options
context:
space:
mode:
authordianlujitao <dianlujitao@lineageos.org>2020-01-31 23:04:31 +0800
committerMichael Bestas <mkbestas@lineageos.org>2020-04-30 00:48:54 +0300
commitc76f291cd000a679058e4a591bef52ac420aafff (patch)
tree2b8c383caeb47cb9a2420412be1d147adaaa512f /BoardConfigCommon.mk
parent940297372c56d2be36a2fc9668f00f66994f774a (diff)
sdm660-common: Tweak mkbootimg options
* Align with CAF * Decommonize system/vendor partition size Change-Id: Ia12bc52e88aca0df1c5881a6d253d20fb76109b6
Diffstat (limited to 'BoardConfigCommon.mk')
-rw-r--r--BoardConfigCommon.mk12
1 files changed, 5 insertions, 7 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 013deaf..10bc242 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -58,8 +58,8 @@ BOARD_KERNEL_CMDLINE += firmware_class.path=/vendor/firmware_mnt/image
BOARD_KERNEL_CMDLINE += loop.max_part=7
BOARD_KERNEL_BASE := 0x00000000
BOARD_KERNEL_PAGESIZE := 4096
-BOARD_KERNEL_TAGS_OFFSET := 0x00000100
-BOARD_RAMDISK_OFFSET := 0x01000000
+BOARD_KERNEL_TAGS_OFFSET := 0x01E00000
+BOARD_RAMDISK_OFFSET := 0x02000000
BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb
TARGET_KERNEL_ARCH := arm64
TARGET_KERNEL_HEADER_ARCH := arm64
@@ -162,16 +162,14 @@ TARGET_RECOVERY_DEVICE_MODULES := libinit_sdm660
TARGET_PROVIDES_KEYMASTER := true
# Partitions
-BOARD_FLASH_BLOCK_SIZE := 262144
-BOARD_BOOTIMAGE_PARTITION_SIZE := 67108864
+BOARD_FLASH_BLOCK_SIZE := 131072 # (BOARD_KERNEL_PAGESIZE * 64)
+BOARD_BOOTIMAGE_PARTITION_SIZE := 0x04000000
ifneq ($(AB_OTA_UPDATER), true)
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456
endif
-BOARD_RECOVERYIMAGE_PARTITION_SIZE := 67108864
+BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x04000000
BOARD_SYSTEMIMAGE_PARTITION_TYPE := ext4
-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3221225472
-BOARD_VENDORIMAGE_PARTITION_SIZE := 2147483648
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
BOARD_ROOT_EXTRA_SYMLINKS := \