blob: dfc04e1bfa0ea32aac37224f618ac20a6132a9cc [file] [log] [blame]
Amit Pundirfb9cf9b2022-03-27 21:52:15 +05301include device/generic/sdm845/shared/BoardConfig.mk
Alexander Martinz38bb8252022-01-07 17:16:46 +01002
3# Board Information
4TARGET_BOOTLOADER_BOARD_NAME := axolotl
5TARGET_BOARD_PLATFORM := axolotl
6
7# Kernel/boot.img Configuration
8BOARD_KERNEL_CMDLINE += androidboot.hardware=axolotl
9
10##### Partition handling
11
12BOARD_DYNAMIC_PARTITION_ENABLE := true
13TARGET_USE_DYNAMIC_PARTITIONS := true
14
15# Define the Dynamic Partition sizes and groups.
16BOARD_SUPER_PARTITION_SIZE := 12884901888
17BOARD_SUPER_PARTITION_GROUPS := axolotl_dynamic_partitions
18BOARD_AXOLOTL_DYNAMIC_PARTITIONS_SIZE := 6438256640
19BOARD_AXOLOTL_DYNAMIC_PARTITIONS_PARTITION_LIST := \
20 product \
21 system \
22 system_ext \
23 vendor \
24
25# Set error limit to BOARD_SUPER_PARTITON_SIZE - 500MB
26BOARD_SUPER_PARTITION_ERROR_LIMIT := 12360613888
27
28# boot.img
29BOARD_BOOTIMAGE_PARTITION_SIZE := 0x04000000
30
31# metadata.img
32BOARD_METADATAIMAGE_PARTITION_SIZE := 16777216
33BOARD_USES_METADATA_PARTITION := true
34
35# product.img
36BOARD_USES_PRODUCTIMAGE := true
37BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := ext4
38TARGET_COPY_OUT_PRODUCT := product
39
40# recovery.img
41BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x06000000
42
43# super.img
44BOARD_BUILD_SUPER_IMAGE_BY_DEFAULT := true
45
46# system_ext.img
47BOARD_SYSTEM_EXTIMAGE_FILE_SYSTEM_TYPE := ext4
48TARGET_COPY_OUT_SYSTEM_EXT := system_ext
49
50# userdata.img
51BOARD_USERDATAIMAGE_PARTITION_SIZE := 10737418240
52# Stock ships with F2FS but we force it to ext4
53BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE := ext4
54#BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE := f2fs