From: BigfootACA Date: 星期天, 28 Mar 2021 13:08:22 +0000 (+0800) Subject: add new device Smartisan R1 (trident) X-Git-Tag: v0.2.2~9 X-Git-Url: https://git.renegade-project.org/?a=commitdiff_plain;h=2ed9af8b5ed0e416fc975b6cb7b36bc7c3fc39d7;p=edk2-sdm845.git add new device Smartisan R1 (trident) --- diff --git a/README.md b/README.md index 92f43be..b0a7845 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,7 @@ QQ group: 697666196 (Never On-Topic) 11. Samsung Galaxy S9+ (star2qltechn) 12. Xiaomi MI 7 (dipper-old) 13. OPPO Find X (pafm00) +14. Smartisan R1 (trident) ## Dependencies diff --git a/README.zh.md b/README.zh.md index dea1a5c..f3eaee3 100644 --- a/README.zh.md +++ b/README.zh.md @@ -44,6 +44,7 @@ QQ交流群: 697666196 11. 三星S9+ (star2qltechn) 12. 小米7 (dipper-old) 13. OPPO Find X (pafm00) +14. 锤子坚果R1 (trident) ## 依赖 diff --git a/build.sh b/build.sh index 129d978..4525cb3 100755 --- a/build.sh +++ b/build.sh @@ -15,6 +15,7 @@ DEVICES=( star2qltechn dipper-old pafm00 + trident ) ##################################### diff --git a/device_specific/trident.dtb b/device_specific/trident.dtb new file mode 100644 index 0000000..da4492d Binary files /dev/null and b/device_specific/trident.dtb differ diff --git a/sdm845Pkg/Devices/trident.dsc b/sdm845Pkg/Devices/trident.dsc new file mode 100644 index 0000000..7fbe152 --- /dev/null +++ b/sdm845Pkg/Devices/trident.dsc @@ -0,0 +1,19 @@ +[Defines] + PLATFORM_NAME = sdm845Pkg + 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 = sdm845Pkg/Devices/845.fdf + +!include sdm845Pkg/sdm845Pkg.dsc + +[PcdsFixedAtBuild.common] + # System Memory (5GB) + gArmTokenSpaceGuid.PcdSystemMemorySize|0x140000000 + + gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 + gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2242