add new device ayn odin handheld (ayn-odin)
authorBigfootACA <bigfoot@classfun.cn>
星期四, 26 Aug 2021 13:14:57 +0000 (21:14 +0800)
committerBigfootACA <bigfoot@classfun.cn>
星期四, 26 Aug 2021 13:14:57 +0000 (21:14 +0800)
Signed-off-by: BigfootACA <bigfoot@classfun.cn>
.github/workflows/main.yml
README.md
README.zh.md
build.sh
device_specific/ayn-odin.dtb [new file with mode: 0644]
sdm845Pkg/Devices/ayn-odin.dsc [new file with mode: 0644]

index 1af685ef1aa3f730a9018f63490e78a9b150fc37..38e5c05174a554a4868529738948381faa390d20 100644 (file)
@@ -41,6 +41,7 @@ jobs:
           - trident
           - draco
           - pd1821
+          - ayn-odin
 
     # Steps represent a sequence of tasks that will be executed as part of the job
     steps:
index 8d3ae4a968f33d6468748eb14e60fcbc09d28a19..0a65b04257e10a5e518d9c4f0fe57ed78ad270f5 100644 (file)
--- a/README.md
+++ b/README.md
@@ -47,6 +47,7 @@ QQ chinese group: 697666196 (Main group)    737223105 (Linux/edk2)
 16. Nokia9 PureView           (olympic)
 17. ASUS ZenFone 5Z           (draco)
 18. Vivo NEX Dual Display     (pd1821)
+19. ayn odin handheld         (ayn-odin)
 
 ## Dependencies
 
index 05441876c2f9dd33cc2c2580f8232c826ac77a62..be3652015074bdbe5ca1d1e7c798a852d89e0dc2 100644 (file)
@@ -45,6 +45,7 @@ QQ中文交流群: 697666196 (主群)      737223105 (Linux/edk2)
 16. 诺基亚9 PureView       (olympic)\r
 17. 华硕 ZenFone 5Z        (draco)\r
 18. Vivo NEX 双屏版        (pd1821)\r
+19. ayn odin handheld      (ayn-odin)\r
 \r
 ## 依赖\r
 \r
index 278ee046dd955c83b9dc4ee40ab5e9ffd58b83ca..9453635901464e05c2676cfee8eef4e76f7cc328 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -23,6 +23,7 @@ DEVICES=(
        olympic
        draco
        pd1821
+       ayn-odin
 )
 #####################################
 
diff --git a/device_specific/ayn-odin.dtb b/device_specific/ayn-odin.dtb
new file mode 100644 (file)
index 0000000..40e0cd1
Binary files /dev/null and b/device_specific/ayn-odin.dtb differ
diff --git a/sdm845Pkg/Devices/ayn-odin.dsc b/sdm845Pkg/Devices/ayn-odin.dsc
new file mode 100644 (file)
index 0000000..d55bcd4
--- /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|0x15AE00000
+
+  gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1080
+  gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|1920