diff --git a/Platform/Samsung/sm8550/FdtBlob_compat/dm1q.dtb b/Platform/Samsung/sm8550/FdtBlob_compat/dm1q.dtb new file mode 100644 index 000000000..d4feabfed Binary files /dev/null and b/Platform/Samsung/sm8550/FdtBlob_compat/dm1q.dtb differ diff --git a/Platform/Samsung/sm8550/dm1q.dsc b/Platform/Samsung/sm8550/dm1q.dsc new file mode 100644 index 000000000..87f565035 --- /dev/null +++ b/Platform/Samsung/sm8550/dm1q.dsc @@ -0,0 +1,28 @@ +[Defines] + VENDOR_NAME = Samsung + PLATFORM_NAME = dm1q + PLATFORM_GUID = 28f1a3bf-193a-47e3-a7b9-5a435eaab2ee + PLATFORM_VERSION = 0.1 + DSC_SPECIFICATION = 0x00010019 + OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME) + SUPPORTED_ARCHITECTURES = AARCH64 + BUILD_TARGETS = DEBUG|RELEASE + SKUID_IDENTIFIER = DEFAULT + FLASH_DEFINITION = Platform/Qualcomm/sm8550/sm8550.fdf + DEVICE_DXE_FV_COMPONENTS = Platform/Samsung/sm8550/dm1q.fdf.inc + +!include Platform/Qualcomm/sm8550/sm8550.dsc + +[BuildOptions.common] + GCC:*_*_AARCH64_CC_FLAGS = -DENABLE_SIMPLE_INIT + +[PcdsFixedAtBuild.common] + gQcomTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 + gQcomTokenSpaceGuid.PcdMipiFrameBufferHeight|2340 + + # Simple Init + gSimpleInitTokenSpaceGuid.PcdGuiDefaultDPI|480 + + gRenegadePkgTokenSpaceGuid.PcdDeviceVendor|"Samsung" + gRenegadePkgTokenSpaceGuid.PcdDeviceProduct|"Galaxy S23" + gRenegadePkgTokenSpaceGuid.PcdDeviceCodeName|"dm1q" diff --git a/Platform/Samsung/sm8550/dm1q.fdf.inc b/Platform/Samsung/sm8550/dm1q.fdf.inc new file mode 100644 index 000000000..f93ab8f24 --- /dev/null +++ b/Platform/Samsung/sm8550/dm1q.fdf.inc @@ -0,0 +1,24 @@ +// per-device BSP DXEs +# FILE DRIVER = 5bd181db-0487-4f1a-ae73-820e165611b3 { +# SECTION DXE_DEPEX = Platform/EFI_Binaries/Drivers/Devices/dm1q/ButtonsDxe/ButtonsDxe.depex +# SECTION PE32 = Platform/EFI_Binaries/Drivers/Devices/dm1q/ButtonsDxe/ButtonsDxe.efi +# SECTION UI = "ButtonsDxe" +# } + +// ACPI Tables +# FILE FREEFORM = 7E374E25-8E01-4FEE-87F2-390C23C606CD { +# SECTION RAW = Silicon/Qualcomm/sm8550/AcpiTables/DBG2.aml +# SECTION RAW = Platform/Samsung/sm8550/AcpiTables/dm1q/DSDT.AML +# SECTION RAW = Silicon/Qualcomm/sm8550/AcpiTables/MADT.aml +# SECTION RAW = Silicon/Qualcomm/sm8550/AcpiTables/FADT.aml +# SECTION RAW = Silicon/Qualcomm/sm8550/AcpiTables/GTDT.aml +# SECTION RAW = Silicon/Qualcomm/sm8550/AcpiTables/IORT.aml +# SECTION RAW = Silicon/Qualcomm/sm8550/AcpiTables/PPTT.aml +# SECTION UI = "AcpiTables" +# } + +// Mainline device tree blob +# FILE FREEFORM = 25462CDA-221F-47DF-AC1D-259CFAA4E326 { +# SECTION RAW = Platform/Qualcomm/sm8550/FdtBlob/sm8550-generic-msd.dtb +# } + diff --git a/configs/devices/dm1q.conf b/configs/devices/dm1q.conf new file mode 100644 index 000000000..d3afc1e1f --- /dev/null +++ b/configs/devices/dm1q.conf @@ -0,0 +1,7 @@ +SOC_PLATFORM="SM8550" +VENDOR_NAME="Samsung" +PLATFORM_NAME="dm1q" + +# mkbootimg config +BOOTIMG_OS_PATCH_LEVEL="2023-12" +BOOTIMG_OS_VERSION=14.0.0