blob: 7cea376b444bd261fd90643b26501c8fe095af30 [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
Luca Weiss0c2db532022-06-18 17:20:08 +02006TARGET_SCREEN_DENSITY := 400
Alexander Martinz38bb8252022-01-07 17:16:46 +01007
8# Kernel/boot.img Configuration
9BOARD_KERNEL_CMDLINE += androidboot.hardware=axolotl
10
11##### Partition handling
12
13BOARD_DYNAMIC_PARTITION_ENABLE := true
14TARGET_USE_DYNAMIC_PARTITIONS := true
15
16# Define the Dynamic Partition sizes and groups.
17BOARD_SUPER_PARTITION_SIZE := 12884901888
18BOARD_SUPER_PARTITION_GROUPS := axolotl_dynamic_partitions
19BOARD_AXOLOTL_DYNAMIC_PARTITIONS_SIZE := 6438256640
20BOARD_AXOLOTL_DYNAMIC_PARTITIONS_PARTITION_LIST := \
21 product \
22 system \
23 system_ext \
24 vendor \
25
26# Set error limit to BOARD_SUPER_PARTITON_SIZE - 500MB
27BOARD_SUPER_PARTITION_ERROR_LIMIT := 12360613888
28
29# boot.img
30BOARD_BOOTIMAGE_PARTITION_SIZE := 0x04000000
31
32# metadata.img
33BOARD_METADATAIMAGE_PARTITION_SIZE := 16777216
34BOARD_USES_METADATA_PARTITION := true
35
36# product.img
37BOARD_USES_PRODUCTIMAGE := true
38BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := ext4
39TARGET_COPY_OUT_PRODUCT := product
40
41# recovery.img
42BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x06000000
43
44# super.img
45BOARD_BUILD_SUPER_IMAGE_BY_DEFAULT := true
46
47# system_ext.img
48BOARD_SYSTEM_EXTIMAGE_FILE_SYSTEM_TYPE := ext4
49TARGET_COPY_OUT_SYSTEM_EXT := system_ext
50
51# userdata.img
52BOARD_USERDATAIMAGE_PARTITION_SIZE := 10737418240
53# Stock ships with F2FS but we force it to ext4
54BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE := ext4
55#BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE := f2fs