dm3q -> pa3q: use S23 Ultra device-tree as base. Still some things to-do
This commit is contained in:
@@ -5,24 +5,43 @@
|
||||
#
|
||||
|
||||
# Include the common OEM chipset BoardConfig.
|
||||
include device/samsung/sm8550-common/BoardConfigCommon.mk
|
||||
# include device/samsung/sm8750-common/BoardConfigCommon.mk
|
||||
|
||||
DEVICE_PATH := device/samsung/dm3q
|
||||
DEVICE_PATH := device/samsung/pa3q
|
||||
|
||||
# A/B
|
||||
AB_OTA_UPDATER := true
|
||||
AB_OTA_PARTITIONS += \
|
||||
init_boot \
|
||||
vendor \
|
||||
vbmeta \
|
||||
system \
|
||||
odm \
|
||||
vbmeta_system \
|
||||
boot \
|
||||
product \
|
||||
dtbo \
|
||||
system_ext \
|
||||
vendor_dlkm \
|
||||
vendor_boot \
|
||||
system_dlkm
|
||||
BOARD_USES_RECOVERY_AS_BOOT := true
|
||||
|
||||
# Assert
|
||||
TARGET_OTA_ASSERT_DEVICE := dm3q
|
||||
TARGET_OTA_ASSERT_DEVICE := pa3q
|
||||
|
||||
# Display
|
||||
TARGET_SCREEN_DENSITY := 450
|
||||
TARGET_USES_VULKAN := true
|
||||
|
||||
# Kernel
|
||||
TARGET_KERNEL_CONFIG := dm3q_defconfig
|
||||
TARGET_KERNEL_CONFIG := pa3q_defconfig
|
||||
|
||||
# Kernel Modules
|
||||
BOARD_RECOVERY_RAMDISK_KERNEL_MODULES_LOAD := $(strip $(shell cat $(DEVICE_PATH)/modules.load.recovery))
|
||||
BOARD_SYSTEM_KERNEL_MODULES_LOAD := $(strip $(shell cat $(DEVICE_PATH)/modules.load.system_dlkm))
|
||||
BOARD_SYSTEM_KERNEL_MODULES_BLOCKLIST_FILE := $(TARGET_KERNEL_SOURCE)/modules.systemdlkm_blocklist.msm.kalama
|
||||
BOARD_VENDOR_KERNEL_MODULES_BLOCKLIST_FILE := $(TARGET_KERNEL_SOURCE)/modules.vendor_blocklist.msm.kalama
|
||||
BOARD_SYSTEM_KERNEL_MODULES_BLOCKLIST_FILE :=
|
||||
BOARD_VENDOR_KERNEL_MODULES_BLOCKLIST_FILE := $(TARGET_KERNEL_SOURCE)/modules.vendor_blocklist.msm.sun
|
||||
BOARD_VENDOR_KERNEL_MODULES_LOAD := $(strip $(shell cat $(DEVICE_PATH)/modules.load))
|
||||
BOARD_VENDOR_RAMDISK_KERNEL_MODULES_BLOCKLIST_FILE := $(BOARD_VENDOR_KERNEL_MODULES_BLOCKLIST_FILE)
|
||||
BOARD_VENDOR_RAMDISK_KERNEL_MODULES_LOAD := $(strip $(shell cat $(DEVICE_PATH)/modules.load.vendor_boot))
|
||||
@@ -31,13 +50,17 @@ BOOT_KERNEL_MODULES := $(strip $(shell cat $(DEVICE_PATH)/modules.load.recovery
|
||||
RECOVERY_KERNEL_MODULES := $(BOARD_RECOVERY_RAMDISK_KERNEL_MODULES_LOAD)
|
||||
SYSTEM_KERNEL_MODULES := $(strip $(shell cat $(DEVICE_PATH)/modules.include.system_dlkm))
|
||||
|
||||
TARGET_KERNEL_EXT_MODULE_ROOT := kernel/samsung/sm8750-modules
|
||||
TARGET_KERNEL_EXT_MODULES := \
|
||||
qcom/opensource/mmrm-driver \
|
||||
qcom/opensource/mm-drivers/hw_fence \
|
||||
qcom/opensource/mm-drivers/msm_ext_display \
|
||||
qcom/opensource/mm-drivers/sync_fence \
|
||||
qcom/opensource/securemsm-kernel \
|
||||
qcom/opensource/audio-kernel \
|
||||
qcom/opensource/synx-kernel \
|
||||
qcom/opensource/camera-kernel \
|
||||
qcom/opensource/datarmnet-ext/mem \
|
||||
qcom/opensource/dataipa/drivers/platform/msm \
|
||||
qcom/opensource/datarmnet/core \
|
||||
qcom/opensource/datarmnet-ext/aps \
|
||||
@@ -47,20 +70,24 @@ TARGET_KERNEL_EXT_MODULES := \
|
||||
qcom/opensource/datarmnet-ext/perf_tether \
|
||||
qcom/opensource/datarmnet-ext/sch \
|
||||
qcom/opensource/datarmnet-ext/wlan \
|
||||
qcom/opensource/securemsm-kernel \
|
||||
qcom/opensource/display-drivers/msm \
|
||||
qcom/opensource/dsp-kernel \
|
||||
qcom/opensource/eva-kernel \
|
||||
qcom/opensource/video-driver \
|
||||
qcom/opensource/graphics-kernel \
|
||||
qcom/opensource/wlan/platform \
|
||||
qcom/opensource/wlan/qcacld-3.0/.kiwi_v2 \
|
||||
qcom/opensource/bt-kernel
|
||||
qcom/opensource/wlan/qcacld-3.0 \
|
||||
qcom/opensource/bt-kernel \
|
||||
qcom/opensource/spu-kernel \
|
||||
qcom/opensource/mm-sys-kernel/ubwcp \
|
||||
qcom/opensource/touch-drivers \
|
||||
nxp/opensource/driver
|
||||
|
||||
# Partitions
|
||||
BOARD_SUPER_PARTITION_SIZE := 12392071168
|
||||
BOARD_SUPER_PARTITION_SIZE := 19398656000
|
||||
|
||||
# Vendor props
|
||||
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
|
||||
|
||||
# Include the proprietary files BoardConfig.
|
||||
include vendor/samsung/dm3q/BoardConfigVendor.mk
|
||||
include vendor/samsung/pa3q/BoardConfigVendor.mk
|
||||
|
Reference in New Issue
Block a user