linaro_swr: Sync-up with recent db845c-userdebug fixes
We failed to update linaro_swr build target for recent dlkm
and partition size fixes, and it is causing fatal mount/boot
regressions like:
init: DM_DEV_STATUS failed for system_dlkm_a: No such device or address
init: Failed to mount /system_dlkm: No such device or address
Fixes: 2207bfb40ab1 ("dlkm_loader: Enable vendor_dlkm partition support")
Fixes: b8380ce0182b ("dragonboards: fix boot and vendor_boot partition sizes")
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Change-Id: I3a86ec11c06873681d750677d75397db8c78f57d
diff --git a/linaro_swr/BoardConfig.mk b/linaro_swr/BoardConfig.mk
index c57a9cc..9676554 100644
--- a/linaro_swr/BoardConfig.mk
+++ b/linaro_swr/BoardConfig.mk
@@ -27,8 +27,8 @@
BOARD_BOOTCONFIG += androidboot.verifiedbootstate=orange
# Image Configuration
-BOARD_BOOTIMAGE_PARTITION_SIZE := 103079215104 #96M
-BOARD_VENDOR_BOOTIMAGE_PARTITION_SIZE := 103079215104 #96M
+BOARD_BOOTIMAGE_PARTITION_SIZE := 100663296 #96M
+BOARD_VENDOR_BOOTIMAGE_PARTITION_SIZE := 100663296 #96M
BOARD_USERDATAIMAGE_PARTITION_SIZE := 21474836480 #20G
BOARD_FLASH_BLOCK_SIZE := 4096
# Super partition
@@ -36,8 +36,11 @@
BOARD_DB_DYNAMIC_PARTITIONS_SIZE := 12433031168 # Reserve 4M for DAP metadata
BOARD_SUPER_PARTITION_METADATA_DEVICE := super
BOARD_SUPER_IMAGE_IN_UPDATE_PACKAGE := true
-# dlkm partition
+BOARD_DB_DYNAMIC_PARTITIONS_PARTITION_LIST := system vendor system_ext product
+
+# dlkm partitions
include device/linaro/dragonboard/shared/utils/dlkm_loader/BoardConfig.mk
+BOARD_DB_DYNAMIC_PARTITIONS_PARTITION_LIST += system_dlkm vendor_dlkm
BOARD_SEPOLICY_DIRS += device/linaro/dragonboard/shared/utils/dlkm_loader/sepolicy/
# Graphics