forked from edk2-porting/edk2-msm
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
87e83e1
commit 7cb6496
Showing
4 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[Defines] | ||
PLATFORM_NAME = sagit | ||
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/msm8998/msm8998.fdf | ||
DEVICE_DXE_FV_COMPONENTS = Platform/Oneplus/msm8998/sagit.fdf.inc | ||
|
||
!include Platform/Qualcomm/msm8998/msm8998.dsc | ||
|
||
[BuildOptions.common] | ||
GCC:*_*_AARCH64_CC_FLAGS = -DENABLE_SIMPLE_INIT -DENABLE_LINUX_SIMPLE_MASS_STORAGE | ||
|
||
[PcdsFixedAtBuild.common] | ||
gQcomTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 | ||
gQcomTokenSpaceGuid.PcdMipiFrameBufferHeight|1920 | ||
|
||
# Simple Init | ||
gSimpleInitTokenSpaceGuid.PcdGuiDefaultDPI|300 | ||
|
||
gRenegadePkgTokenSpaceGuid.PcdDeviceVendor|"Xiaomi" | ||
gRenegadePkgTokenSpaceGuid.PcdDeviceProduct|"Mi 6" | ||
gRenegadePkgTokenSpaceGuid.PcdDeviceCodeName|"sagit" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// per-device BSP DXEs | ||
# FILE DRIVER = 5bd181db-0487-4f1a-ae73-820e165611b3 { | ||
# SECTION DXE_DEPEX = Platform/EFI_Binaries/sagit/ButtonsDxe/ButtonsDxe.depex | ||
# SECTION PE32 = Platform/EFI_Binaries/sagit/ButtonsDxe/ButtonsDxe.efi | ||
# SECTION UI = "ButtonsDxe" | ||
# } | ||
|
||
// ACPI Tables | ||
# FILE FREEFORM = 7E374E25-8E01-4FEE-87F2-390C23C606CD { | ||
# SECTION RAW = Silicon/Qualcomm/sdm845/AcpiTables/DBG2.aml | ||
# SECTION RAW = Platform/Xiaomi/sdm845/AcpiTables/polaris/DSDT.AML | ||
# SECTION RAW = Silicon/Qualcomm/sdm845/AcpiTables/MADT.aml | ||
# SECTION RAW = Silicon/Qualcomm/sdm845/AcpiTables/FADT.aml | ||
# SECTION RAW = Silicon/Qualcomm/sdm845/AcpiTables/GTDT.aml | ||
# SECTION RAW = Silicon/Qualcomm/sdm845/AcpiTables/IORT.aml | ||
# SECTION RAW = Silicon/Qualcomm/sdm845/AcpiTables/PPTT.aml | ||
# SECTION UI = "AcpiTables" | ||
# } | ||
|
||
// Mainline device tree blob | ||
#FILE FREEFORM = 25462CDA-221F-47DF-AC1D-259CFAA4E326 { | ||
# SECTION RAW = Platform/Oneplus/msm8998/FdtBlob/msm8998-xiaomi-sagit.dtb | ||
#} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
DSC_FILE="Platform/Oneplus/msm8998/sagit.dsc" | ||
DTB_FILE="Platform/Oneplus/msm8998/FdtBlob_compat/sagit.dtb" | ||
SOC_PLATFORM="MSM8998" | ||
|
||
# mkbootimg config | ||
BOOTIMG_OS_PATCH_LEVEL="2022-08" | ||
BOOTIMG_OS_VERSION=12.0.0 | ||
# LineageOS 19 config |