This commit is contained in:
Xilin Wu 2021-07-14 09:56:39 +08:00
commit 0a3468b7b6
11 changed files with 93 additions and 45 deletions

13
.github/ISSUE_TEMPLATE.md vendored Normal file
View File

@ -0,0 +1,13 @@
### Prerequisites
* [ ] Have you read the readme?
* [ ] Do you (want to) have your device in the supported list?
* [ ] Does the device have a Snapdragon 845 SOC?
### Description
[Description of the bug or feature]
**Expected behavior:** [What you expected to happen]
**Actual behavior:** [What actually happened]

View File

@ -37,6 +37,7 @@ jobs:
- pafm00
- trident
- draco
- pd1821
# Steps represent a sequence of tasks that will be executed as part of the job
steps:

6
.gitmodules vendored
View File

@ -1,9 +1,9 @@
[submodule "sdm845Pkg/Binary"]
path = sdm845Pkg/Binary
url = https://git.renegade-project.org/edk2-sdm845-binary.git
[submodule "edk2"]
path = edk2
url = https://github.com/tianocore/edk2.git
[submodule "edk2-platforms"]
path = edk2-platforms
url = https://github.com/tianocore/edk2-platforms.git
[submodule "sdm845Pkg/Binary"]
path = sdm845Pkg/Binary
url = https://git.renegade-project.org/edk2-sdm845-binary.git

View File

@ -9,15 +9,17 @@ EDK2 implementation for Snapdragon 845 platform.
## Resources
[Telegram group (recommended)](https://t.me/joinchat/MNjTmBqHIokjweeN0SpoyA)
[Telegram group](https://t.me/joinchat/MNjTmBqHIokjweeN0SpoyA)
[Discord group](https://discord.gg/XXBWfag)
QQ group: 697666196 (Main group) 737223105 (Linux/edk2)
QQ chinese group: 697666196 (Main group) 737223105 (Linux/edk2)
[Windows Drivers](https://github.com/edk2-porting/WOA-Drivers)
[Project website](https://renegade-project.org/))
[Project website](https://renegade-project.org/)
[Project forum](https://forum.renegade-project.org/)
## WARNING
@ -27,23 +29,24 @@ QQ group: 697666196 (Main group) 737223105 (Linux/edk2)
## Supported devices
1. OnePlus 6 (enchilada)
2. OnePlus 6T (fajita)
3. Xiaomi MIX 3 (perseus)
4. Xiaomi PocoPhone F1 (beryllium)
5. Meizu 16th (m1882)
6. Meizu 16th Plus (m1892)
7. Smartisan R1 (trident)
8. BlackShark One (skr-a0)
9. OPPO Find X (pafm00)
10. Xiaomi MIX 2S (polaris)
11. LG G7 (judyln)
12. Samsung Galaxy S9+ (star2qltechn)
13. Xiaomi MI 7 (dipper-old)
14. Xiaomi MI 8 (dipper)
15. Nubia X (nx616j)
16. Nokia9 PureView (olympic)
17. ASUS ZenFone 5Z (draco)
1. OnePlus 6 (enchilada)
2. OnePlus 6T (fajita)
3. Xiaomi MIX 3 (perseus)
4. Xiaomi PocoPhone F1 (beryllium)
5. Meizu 16th (m1882)
6. Meizu 16th Plus (m1892)
7. Smartisan R1 (trident)
8. BlackShark One (skr-a0)
9. OPPO Find X (pafm00)
10. Xiaomi MIX 2S (polaris)
11. LG G7 (judyln)
12. Samsung Galaxy S9+ (star2qltechn)
13. Xiaomi MI 7 (dipper-old)
14. Xiaomi MI 8 (dipper)
15. Nubia X (nx616j)
16. Nokia9 PureView (olympic)
17. ASUS ZenFone 5Z (draco)
18. Vivo NEX Dual Display (pd1821)
## Dependencies

View File

@ -7,16 +7,18 @@
## 资源
[Telegram交流群](https://t.me/joinchat/MNjTmBqHIokjweeN0SpoyA)
[Telegram英语交流群](https://t.me/joinchat/MNjTmBqHIokjweeN0SpoyA)
[Discord交流群](https://discord.gg/XXBWfag)
[Discord英语交流群](https://discord.gg/XXBWfag)
QQ交流群: 697666196 (主群) 737223105 (Linux/edk2)
QQ中文交流群: 697666196 (主群) 737223105 (Linux/edk2)
[Windows 驱动](https://github.com/edk2-porting/WOA-Drivers)
[项目官网](https://renegade-project.org/)
[项目论坛](https://forum.renegade-project.org/)
## 警告
**请勿尝试移植到任何索尼和谷歌设备上**
@ -25,23 +27,24 @@ QQ交流群: 697666196 (主群) 737223105 (Linux/edk2)
## 已支持的设备
1. 一加6 (enchilada)
2. 一加6T (fajita)
3. 小米MIX3 (perseus)
4. 小米PocoPhone F1 (beryllium)
5. 魅族16th (m1882)
6. 魅族16th Plus (m1892)
7. 锤子坚果R1 (trident)
8. 黑鲨手机一代 (skr-a0)
9. OPPO Find X (pafm00)
10. 小米MIX2S (polaris)
11. LG G7 (judyln)
12. 三星S9+ (star2qltechn)
13. 小米7工程机 (dipper-old)
14. 小米8 (dipper)
15. 努比亚X (nx616j)
16. 诺基亚9 PureView(olympic)
17. 华硕 ZenFone 5Z (draco)
1. 一加6 (enchilada)
2. 一加6T (fajita)
3. 小米MIX3 (perseus)
4. 小米PocoPhone F1 (beryllium)
5. 魅族16th (m1882)
6. 魅族16th Plus (m1892)
7. 锤子坚果R1 (trident)
8. 黑鲨手机一代 (skr-a0)
9. OPPO Find X (pafm00)
10. 小米MIX2S (polaris)
11. LG G7 (judyln)
12. 三星S9+ (star2qltechn)
13. 小米7工程机 (dipper-old)
14. 小米8 (dipper)
15. 努比亚X (nx616j)
16. 诺基亚9 PureView (olympic)
17. 华硕 ZenFone 5Z (draco)
18. Vivo NEX 双屏版 (pd1821)
## 依赖

View File

@ -19,6 +19,7 @@ DEVICES=(
trident
olympic
draco
pd1821
)
#####################################

BIN
device_specific/pd1821.dtb Normal file

Binary file not shown.

2
edk2

@ -1 +1 @@
Subproject commit 3a3713e62cfad00d78bb938b0d9fb1eedaeff314
Subproject commit fea7901dba72eeac526f3ef12a4ad4c539622373

@ -1 +1 @@
Subproject commit cfdc7f907d545b14302295b819ea078bc36c6a40
Subproject commit 086a3a3ce6c42c859ee5943eb2c4b6edcefdc241

View File

@ -13,6 +13,8 @@
#
#
!include MdePkg/MdeLibs.dsc.inc
[LibraryClasses.common]
!if $(TARGET) == RELEASE
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
@ -30,6 +32,8 @@
PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
@ -215,6 +219,9 @@
!if $(TARGET) != RELEASE
DebugLib|MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf
!endif
#
VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
#
[LibraryClasses.AARCH64]
ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf
@ -327,3 +334,4 @@
[PcdsDynamicHii.common.DEFAULT]
gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|0 # Variable: L"Timeout"

View File

@ -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|2340