Added support for Vivo Nex Dual Display Edition (pd1821)
authorBigfootACA <bigfoot@classfun.cn>
星期二, 13 Jul 2021 05:25:28 +0000 (13:25 +0800)
committerBigfootACA <bigfoot@classfun.cn>
星期二, 13 Jul 2021 05:25:28 +0000 (13:25 +0800)
Signed-off-by: BigfootACA <bigfoot@classfun.cn>
.github/workflows/main.yml
README.md
README.zh.md
build.sh
device_specific/pd1821.dtb [new file with mode: 0644]
sdm845Pkg/Devices/pd1821.dsc [new file with mode: 0644]

index 9171fa3ec7d19000607c5cac9fa09b223d857a04..074a5c9cfb21edb03faf619efaee9b85e0003f79 100644 (file)
@@ -37,6 +37,7 @@ jobs:
           - pafm00
           - trident
           - draco
+          - pd1821
 
     # Steps represent a sequence of tasks that will be executed as part of the job
     steps:
index 716886f7162f5bf322a6d7e7de0f66160a0ca6f0..1b59f369fbaf7cd133faf105231958ff06b1613b 100644 (file)
--- a/README.md
+++ b/README.md
@@ -46,6 +46,7 @@ QQ chinese group: 697666196 (Main group)    737223105 (Linux/edk2)
 15. Nubia X                   (nx616j)
 16. Nokia9 PureView           (olympic)
 17. ASUS ZenFone 5Z           (draco)
+18. Vivo NEX Dual Display     (pd1821)
 
 ## Dependencies
 
index 6dfa0684fc2e41e220c47f269b907f07c5ab761f..c0626e84de7d7296d0737d7efde951f514c33173 100644 (file)
@@ -44,6 +44,7 @@ QQ中文交流群: 697666196 (主群)      737223105 (Linux/edk2)
 15. 努比亚X                (nx616j)\r
 16. 诺基亚9 PureView       (olympic)\r
 17. 华硕 ZenFone 5Z        (draco)\r
+18. Vivo NEX 双屏版        (pd1821)\r
 \r
 ## 依赖\r
 \r
index b527a5f8d0a5c2d355df8e6927b1a9cfc8dcf8c5..01c5d25c5757e4df229c1f8be3d0456e89364b22 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -19,6 +19,7 @@ DEVICES=(
        trident
        olympic
        draco
+       pd1821
 )
 #####################################
 
diff --git a/device_specific/pd1821.dtb b/device_specific/pd1821.dtb
new file mode 100644 (file)
index 0000000..446d35b
Binary files /dev/null and b/device_specific/pd1821.dtb differ
diff --git a/sdm845Pkg/Devices/pd1821.dsc b/sdm845Pkg/Devices/pd1821.dsc
new file mode 100644 (file)
index 0000000..633545d
--- /dev/null
@@ -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|2340