From: BigfootACA Date: 星期六, 4 Sep 2021 16:10:28 +0000 (+0800) Subject: add new device ZTE Axon 9 Pro (akershus) X-Git-Tag: v1.0.3~3^2~2 X-Git-Url: https://git.renegade-project.org/?a=commitdiff_plain;h=2fd229a76d10cb7c1a187aa2b2b67d1dbed8053c;p=edk2-sdm845.git add new device ZTE Axon 9 Pro (akershus) Signed-off-by: BigfootACA --- diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 38e5c05..7155008 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: diff --git a/README.md b/README.md index 49091dc..6124558 100644 --- 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 diff --git a/README.zh.md b/README.zh.md index 8bb3bbb..7fd9566 100644 --- a/README.zh.md +++ b/README.zh.md @@ -46,6 +46,7 @@ QQ中文交流群: 697666196 (主群) 737223105 (Linux/edk2) 17. 华硕 ZenFone 5Z (draco) 18. Vivo NEX 双屏版 (pd1821) 19. ayn odin handheld (ayn-odin) +20. 中兴天机Axon 9 Pro (akershus) ## 依赖 diff --git a/build.sh b/build.sh index 2d6271f..b2385ea 100755 --- 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 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 index 0000000..0e863a8 --- /dev/null +++ b/sdm845Pkg/Devices/akershus.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/trident.fdf + +!include sdm845Pkg/sdm845Pkg.dsc + +[PcdsFixedAtBuild.common] + # System Memory (5GB) + gArmTokenSpaceGuid.PcdSystemMemorySize|0x15AE00000 + + gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080 + gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2248