From: BigfootACA Date: 星期六, 4 Sep 2021 16:21:16 +0000 (+0800) Subject: add new device Xiaomi MI8 UD (equuleus) X-Git-Tag: v1.0.3~3^2~1 X-Git-Url: https://git.renegade-project.org/?a=commitdiff_plain;h=3e416794ada7a9f7d19a5e340698ddb024d09ab1;p=edk2-sdm845.git add new device Xiaomi MI8 UD (equuleus) Signed-off-by: BigfootACA --- diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7155008..410c831 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: diff --git a/README.md b/README.md index 6124558..8a62c17 100644 --- 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 diff --git a/README.zh.md b/README.zh.md index 7fd9566..a08f6f6 100644 --- a/README.zh.md +++ b/README.zh.md @@ -47,6 +47,7 @@ QQ中文交流群: 697666196 (主群) 737223105 (Linux/edk2) 18. Vivo NEX 双屏版 (pd1821) 19. ayn odin handheld (ayn-odin) 20. 中兴天机Axon 9 Pro (akershus) +21. 小米8UD 屏幕指纹版 (equuleus) ## 依赖 diff --git a/build.sh b/build.sh index b2385ea..3a53300 100755 --- 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 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 index 0000000..33fada8 --- /dev/null +++ b/sdm845Pkg/Devices/equuleus.dsc @@ -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