add new device Xiaomi MI 7 (dipper-old)
authorBigfootACA <bigfoot@classfun.cn>
星期天, 21 Mar 2021 11:13:28 +0000 (19:13 +0800)
committerBigfootACA <bigfoot@classfun.cn>
星期天, 21 Mar 2021 11:13:28 +0000 (19:13 +0800)
README.md
README.zh.md
build.sh
device_specific/dipper-old.dtb [new file with mode: 0644]
sdm845Pkg/Devices/dipper-old.dsc [new file with mode: 0644]

index b47b6eb4a10ec5e00042914254b96620c1aef389..0b2a97ee34ec3dcdc53feb033b54a2c0e5540da1 100644 (file)
--- a/README.md
+++ b/README.md
@@ -36,6 +36,7 @@ QQ group: 697666196 (Never On-Topic)
 9. BlackShark One      (skr-a0)
 10. LG G7              (judyln)
 11. Samsung Galaxy S9+ (star2qltechn)
+12. Xiaomi MI 7        (dipper-old)
 
 ## Dependencies
 
index ebaf6113531faac6cc4deee0378f15b934b7b295..d7dd038298cc2141f7e81bce6e962b5d85215729 100644 (file)
@@ -37,6 +37,7 @@ QQ交流群: 697666196
 9. 黑鲨手机一代     (skr-a0)\r
 10. LG G7           (judyln)\r
 11. 三星S9+         (star2qltechn)\r
+12. 小米7           (dipper-old)\r
 \r
 ## 依赖\r
 \r
index 511eea01b567debe8e10e3dc85c33cb33ba63eac..70bef8b8be9a66bdcaf5c170249257668e4555d1 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -13,6 +13,7 @@ DEVICES=(
        skr-a0
        judyln
        star2qltechn
+       dipper-old
 )
 #####################################
 
diff --git a/device_specific/dipper-old.dtb b/device_specific/dipper-old.dtb
new file mode 100644 (file)
index 0000000..9f8ef29
Binary files /dev/null and b/device_specific/dipper-old.dtb differ
diff --git a/sdm845Pkg/Devices/dipper-old.dsc b/sdm845Pkg/Devices/dipper-old.dsc
new file mode 100644 (file)
index 0000000..18ba6b2
--- /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|2160