add new device Samsung S9+ (star2qltechn) 12/head
authorsunshuyu <1582956180@qq.com>
星期四, 18 Mar 2021 02:18:56 +0000 (10:18 +0800)
committersunshuyu <1582956180@qq.com>
星期四, 18 Mar 2021 02:18:56 +0000 (10:18 +0800)
README.md
README.zh.md
build.sh
device_specific/star2qltechn.dtb [new file with mode: 0644]
sdm845Pkg/Devices/star2qltechn.dsc [new file with mode: 0644]

index 4c270874204ba625891f33660b2be3856a3e14ec..94b5606ea80e7e6da84db04828691a12a1256963 100644 (file)
--- a/README.md
+++ b/README.md
@@ -33,6 +33,7 @@ QQ group: 697666196 (Never On-Topic)
 8. Meizu 16th          (m1882)
 9. BlackShark One      (skr-a0)
 10. LG G7              (judyln)
+11. Samsung S9+        (star2qltechn)
 
 ## Dependencies
 
index 8223ad6be6bc29ce4f412bd948e884d2270210d9..aa32c3fa0237fc218d6af1527749742041d14b84 100644 (file)
@@ -34,6 +34,7 @@ QQ交流群: 697666196
 8. 魅族16th         (m1882)\r
 9. 黑鲨手机一代     (skr-a0)\r
 10. LG G7           (judyln)\r
+11. 三星S9+         (star2qltechn)\r
 \r
 ## 依赖\r
 \r
index 2afb350c8a956eeb704a5595660caa5ea365810b..7ea0f027700e69a6cf272cbadc48051d6e3fa4e6 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -11,6 +11,7 @@ DEVICES=(
        m1882
        skr-a0
        judyln
+       star2qltechn
 )
 #####################################
 function _help(){
diff --git a/device_specific/star2qltechn.dtb b/device_specific/star2qltechn.dtb
new file mode 100644 (file)
index 0000000..03daa2f
Binary files /dev/null and b/device_specific/star2qltechn.dtb differ
diff --git a/sdm845Pkg/Devices/star2qltechn.dsc b/sdm845Pkg/Devices/star2qltechn.dsc
new file mode 100644 (file)
index 0000000..6da2508
--- /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|0x140000000
+
+  gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferWidth|1440
+  gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2960