add new device Smartisan R1 (trident)
authorBigfootACA <bigfoot@classfun.cn>
星期天, 28 Mar 2021 13:08:22 +0000 (21:08 +0800)
committerBigfootACA <bigfoot@classfun.cn>
星期五, 2 Jul 2021 08:30:14 +0000 (16:30 +0800)
README.md
README.zh.md
build.sh
device_specific/trident.dtb [new file with mode: 0644]
sdm845Pkg/Devices/trident.dsc [new file with mode: 0644]

index 92f43be4c541568000b7158f096f74fe3f00be3a..b0a7845c3659c0d00055bddabb6eae23163484dd 100644 (file)
--- a/README.md
+++ b/README.md
@@ -41,6 +41,7 @@ QQ group: 697666196 (Never On-Topic)
 11. Samsung Galaxy S9+ (star2qltechn)
 12. Xiaomi MI 7        (dipper-old)
 13. OPPO Find X        (pafm00)
+14. Smartisan R1       (trident)
 
 ## Dependencies
 
index dea1a5c64f9952df5f9cec7b05ab23ea846dc6b4..f3eaee34f19de1c9774cba749ee71e404c331e95 100644 (file)
@@ -44,6 +44,7 @@ QQ交流群: 697666196
 11. 三星S9+         (star2qltechn)\r
 12. 小米7           (dipper-old)\r
 13. OPPO Find X     (pafm00)\r
+14. 锤子坚果R1      (trident)\r
 \r
 ## 依赖\r
 \r
index 129d978d9ea598b7a067dbab60bb43fbe5d44e65..4525cb3a6624abddd2e8acc418462db88b306f90 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -15,6 +15,7 @@ DEVICES=(
        star2qltechn
        dipper-old
        pafm00
+       trident
 )
 #####################################
 
diff --git a/device_specific/trident.dtb b/device_specific/trident.dtb
new file mode 100644 (file)
index 0000000..da4492d
Binary files /dev/null and b/device_specific/trident.dtb differ
diff --git a/sdm845Pkg/Devices/trident.dsc b/sdm845Pkg/Devices/trident.dsc
new file mode 100644 (file)
index 0000000..7fbe152
--- /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|1080
+  gsdm845PkgTokenSpaceGuid.PcdMipiFrameBufferHeight|2242