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

index 7155008439c186e7009ae6b23d77f75afd1d2454..410c83185d5b3816257f99a79b06af77c5fb4adb 100644 (file)
@@ -43,6 +43,7 @@ jobs:
           - pd1821
           - ayn-odin
           - akershus
+          - equuleus
 
     # Steps represent a sequence of tasks that will be executed as part of the job
     steps:
index 61245583aea85b8eff9ad04f7220e10601af8fe4..8a62c17fb171d21e216062c915379a917945b7e5 100644 (file)
--- a/README.md
+++ b/README.md
@@ -49,6 +49,7 @@ QQ chinese group: 697666196 (Main group)    737223105 (Linux/edk2)
 18. Vivo NEX Dual Display     (pd1821)
 19. ayn odin handheld         (ayn-odin)
 20. ZTE Axon 9 Pro            (akershus)
+21. Xiaomi MI 8 UD            (equuleus)
 
 ## Dependencies
 
index 7fd9566c95452dff4772326a5186deded0ce3200..a08f6f6e9b654470da6eda13b3c911d31f368cf6 100644 (file)
@@ -47,6 +47,7 @@ QQ中文交流群: 697666196 (主群)      737223105 (Linux/edk2)
 18. Vivo NEX 双屏版        (pd1821)\r
 19. ayn odin handheld      (ayn-odin)\r
 20. 中兴天机Axon 9 Pro     (akershus)\r
+21. 小米8UD 屏幕指纹版     (equuleus)\r
 \r
 ## 依赖\r
 \r
index b2385ea2f3faa9b4f9948bc0d40ac2ba24704225..3a5330008980e92fe5a46cfcf641f96ebc55f4c4 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -25,6 +25,7 @@ DEVICES=(
        pd1821
        ayn-odin
        akershus
+       equuleus
 )
 #####################################
 
diff --git a/device_specific/equuleus.dtb b/device_specific/equuleus.dtb
new file mode 100644 (file)
index 0000000..92c34b1
Binary files /dev/null and b/device_specific/equuleus.dtb differ
diff --git a/sdm845Pkg/Devices/equuleus.dsc b/sdm845Pkg/Devices/equuleus.dsc
new file mode 100644 (file)
index 0000000..33fada8
--- /dev/null
@@ -0,0 +1,22 @@
+[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/dipper.fdf
+
+!include sdm845Pkg/sdm845Pkg.dsc
+
+[BuildOptions.common]
+  GCC:*_*_AARCH64_CC_FLAGS = -DXIAOMI_PIL_FIXED=1
+
+[PcdsFixedAtBuild.common]
+  # System Memory (5GB)
+  gArmTokenSpaceGuid.PcdSystemMemorySize|0x15AE00000
+
+  gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080
+  gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2248