From e088d86d5da456fb8119eb47b12b10136c182463 Mon Sep 17 00:00:00 2001 From: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com> Date: Sun, 15 Oct 2023 20:58:25 +0700 Subject: [PATCH] X6833B: Configure `odm_dlkm` partition * Also reorder `AB_OTA_PARTITIONS` and `BOARD_MTK_DYNAMIC_PARTITIONS_PARTITION_LIST` list while we're at it Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com> --- BoardConfig.mk | 5 ++++- device.mk | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index 61db801..abd329c 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -82,20 +82,23 @@ BOARD_VENDOR_BOOTIMAGE_PARTITION_SIZE := 67108864 BOARD_SUPER_PARTITION_SIZE := 9126805504 BOARD_SUPER_PARTITION_GROUPS := mtk_dynamic_partitions -BOARD_MTK_DYNAMIC_PARTITIONS_PARTITION_LIST := system system_ext vendor product vendor_dlkm +BOARD_MTK_DYNAMIC_PARTITIONS_PARTITION_LIST := odm_dlkm product system system_ext vendor vendor_dlkm BOARD_MTK_DYNAMIC_PARTITIONS_SIZE := 9122611200 BOARD_EROFS_PCLUSTER_SIZE := 262144 BOARD_USES_METADATA_PARTITION := true +BOARD_USES_ODM_DLKIMAGE := true BOARD_USES_VENDOR_DLKMIMAGE := true +BOARD_ODM_DLKMIMAGE_FILE_SYSTEM_TYPE := ext4 BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := erofs BOARD_SYSTEM_EXTIMAGE_FILE_SYSTEM_TYPE := erofs BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := erofs BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := erofs BOARD_VENDOR_DLKMIMAGE_FILE_SYSTEM_TYPE := ext4 +TARGET_COPY_OUT_ODM_DLKM := odm_dlkm TARGET_COPY_OUT_PRODUCT := product TARGET_COPY_OUT_SYSTEM_EXT := system_ext TARGET_COPY_OUT_VENDOR := vendor diff --git a/device.mk b/device.mk index 9f379b0..964bd5b 100644 --- a/device.mk +++ b/device.mk @@ -10,6 +10,7 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_ven AB_OTA_UPDATER := true AB_OTA_PARTITIONS := \ boot \ + odm_dlkm \ product \ system \ system_ext \