add new device ZTE Axon 9 Pro (akershus)
authorBigfootACA <bigfoot@classfun.cn>
星期六, 4 Sep 2021 16:10:28 +0000 (00:10 +0800)
committerBigfootACA <bigfoot@classfun.cn>
星期六, 4 Sep 2021 16:10:28 +0000 (00:10 +0800)
Signed-off-by: BigfootACA <bigfoot@classfun.cn>
.github/workflows/main.yml
README.md
README.zh.md
build.sh
device_specific/akershus.dtb [new file with mode: 0644]
sdm845Pkg/Devices/akershus.dsc [new file with mode: 0644]

index 38e5c05174a554a4868529738948381faa390d20..7155008439c186e7009ae6b23d77f75afd1d2454 100644 (file)
@@ -42,6 +42,7 @@ jobs:
           - draco
           - pd1821
           - ayn-odin
+          - akershus
 
     # Steps represent a sequence of tasks that will be executed as part of the job
     steps:
index 49091dc522a1839ee4b07bcab6212b67387efaa9..61245583aea85b8eff9ad04f7220e10601af8fe4 100644 (file)
--- a/README.md
+++ b/README.md
@@ -48,6 +48,7 @@ QQ chinese group: 697666196 (Main group)    737223105 (Linux/edk2)
 17. ASUS ZenFone 5Z           (draco)
 18. Vivo NEX Dual Display     (pd1821)
 19. ayn odin handheld         (ayn-odin)
+20. ZTE Axon 9 Pro            (akershus)
 
 ## Dependencies
 
index 8bb3bbb5fac72f0b4066e7434ac91e63247b0765..7fd9566c95452dff4772326a5186deded0ce3200 100644 (file)
@@ -46,6 +46,7 @@ QQ中文交流群: 697666196 (主群)      737223105 (Linux/edk2)
 17. 华硕 ZenFone 5Z        (draco)\r
 18. Vivo NEX 双屏版        (pd1821)\r
 19. ayn odin handheld      (ayn-odin)\r
+20. 中兴天机Axon 9 Pro     (akershus)\r
 \r
 ## 依赖\r
 \r
index 2d6271f44b170a02d6d1d7c420d3e18fb4202091..b2385ea2f3faa9b4f9948bc0d40ac2ba24704225 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -24,6 +24,7 @@ DEVICES=(
        draco
        pd1821
        ayn-odin
+       akershus
 )
 #####################################
 
diff --git a/device_specific/akershus.dtb b/device_specific/akershus.dtb
new file mode 100644 (file)
index 0000000..77be732
Binary files /dev/null and b/device_specific/akershus.dtb differ
diff --git a/sdm845Pkg/Devices/akershus.dsc b/sdm845Pkg/Devices/akershus.dsc
new file mode 100644 (file)
index 0000000..0e863a8
--- /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/trident.fdf
+
+!include sdm845Pkg/sdm845Pkg.dsc
+
+[PcdsFixedAtBuild.common]
+  # System Memory (5GB)
+  gArmTokenSpaceGuid.PcdSystemMemorySize|0x15AE00000
+
+  gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080
+  gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2248