Skip to content

Commit

Permalink
Merge pull request #315 from N1kroks/main
Browse files Browse the repository at this point in the history
7125: miatoll: Update DSDT and more fixes
  • Loading branch information
sunflower2333 authored Jun 11, 2024
2 parents 2acb1d3 + eba1de5 commit 7b1a42d
Show file tree
Hide file tree
Showing 13 changed files with 37 additions and 6 deletions.
1 change: 1 addition & 0 deletions Platforms/AtollPkg/Atoll.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ GCC:*_*_AARCH64_CC_FLAGS = -DSILICON_PLATFORM=7125
!if $(USE_SIMPLEFBDXE) == TRUE
SurfaceDuoFamilyPkg/Driver/SimpleFbDxe/SimpleFbDxe.inf
!endif
SurfaceDuoFamilyPkg/Driver/GpioButtons/GpioButtons.inf

# Auto Memory Adder
SurfaceDuoFamilyPkg/Driver/RamPartitionDxe/RamPartitionDxe.inf
Expand Down
6 changes: 3 additions & 3 deletions Platforms/AtollPkg/Atoll.fdf
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ READ_LOCK_STATUS = TRUE
INF EmbeddedPkg/Drivers/VirtualKeyboardDxe/VirtualKeyboardDxe.inf

# BDS
# INF SurfaceDuoFamilyPkg/Driver/RamPartitionDxe/RamPartitionDxe.inf
INF SurfaceDuoFamilyPkg/Driver/RamPartitionDxe/RamPartitionDxe.inf
INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
INF MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
Expand Down Expand Up @@ -131,8 +131,8 @@ READ_LOCK_STATUS = TRUE
SECTION RAW = AtollPkg/Include/Resources/RegulatoryLogos.png
}

# INF SurfaceDuoFamilyPkg/UFP/ufpdevicefw.inf
# INF SurfaceDuoFamilyPkg/Driver/GpioButtons/GpioButtons.inf
INF SurfaceDuoFamilyPkg/UFP/ufpdevicefw.inf
INF SurfaceDuoFamilyPkg/Driver/GpioButtons/GpioButtons.inf

INF AdvLoggerPkg/AdvancedFileLogger/AdvancedFileLogger.inf
INF ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
Expand Down
Binary file modified Platforms/AtollPkg/Device/xiaomi-miatoll/ACPI/DSDT.aml
Binary file not shown.
Binary file not shown.
5 changes: 3 additions & 2 deletions Platforms/AtollPkg/Device/xiaomi-miatoll/APRIORI.inc
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ APRIORI DXE {
INF FatPkg/EnhancedFatDxe/Fat.inf

# INF AtollPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/VerifiedBootDxe/VerifiedBootDxe.inf
INF SurfaceDuoFamilyPkg/Driver/SimpleFbDxe/SimpleFbDxe.inf
# INF AtollPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/DisplayDxe/DisplayDxe.inf
# INF SurfaceDuoFamilyPkg/Driver/SimpleFbDxe/SimpleFbDxe.inf
INF AtollPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/DisplayDxe/DisplayDxe.inf
INF SurfaceDuoFamilyPkg/Driver/DisplayCallerDxe/DisplayCallerDxe.inf

INF Rennell/BOOT.XF.3.1.1-00014-SC7180XWZB-1/QcomPkg/Drivers/DppDxe/DppDxe.inf
INF Rennell/BOOT.XF.3.1.1-00014-SC7180XWZB-1/QcomPkg/Drivers/RawFileSystemDxe/RawFileSystemDxe.inf
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PanelName>FT8756 Video</PanelName>
<PanelDescription>FT8756 video mode dsi huaxing panel</PanelDescription>
<PanelId>0x8756</PanelId>
<Group id="Active Timing">
<HorizontalActive>1080</HorizontalActive>
<HorizontalFrontPorch>20</HorizontalFrontPorch>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PanelName>NT36675 Video</PanelName>
<PanelDescription>NT36675 video mode dsi tianma panel</PanelDescription>
<PanelId>0x36675</PanelId>
<Group id="Active Timing">
<HorizontalActive>1080</HorizontalActive>
<HorizontalFrontPorch>20</HorizontalFrontPorch>
Expand Down
2 changes: 2 additions & 0 deletions Platforms/AtollPkg/Device/xiaomi-miatoll/DXE.dsc.inc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Rennell/BOOT.XF.3.1.1-00014-SC7180XWZB-1/QcomPkg/Drivers/UsbfnDwc3Dxe/UsbfnDwc3D
#Rennell/BOOT.XF.3.1.1-00014-SC7180XWZB-1/QcomPkg/Drivers/TrEEDxe/TpmDxe.inf
#Rennell/BOOT.XF.3.1.1-00014-SC7180XWZB-1/QcomPkg/Drivers/TrEEDxe/TrEEDxe.inf
#Rennell/BOOT.XF.3.1.1-00014-SC7180XWZB-1/QcomPkg/Drivers/SecurityDxe/SecurityDxe.inf
SurfaceDuoFamilyPkg/Driver/DisplayCallerDxe/DisplayCallerDxe.inf

AtollPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/VibratorDxe/VibratorDxe.inf
#AtollPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/MinidumpTADxe/MinidumpTADxe.inf
Expand Down Expand Up @@ -93,6 +94,7 @@ AtollPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Application/QcomChargerApp/Qco
# Device Specific Patched DXE
AtollPkg/Device/$(TARGET_DEVICE)/PatchedBinaries/ButtonsDxe.inf
AtollPkg/Device/$(TARGET_DEVICE)/PatchedBinaries/UFSDxe.inf
AtollPkg/Device/$(TARGET_DEVICE)/PatchedBinaries/DisplayDxe.inf
# Platform Specific Patched DXE
QcomPkg/PatchedBinaries/EnvDxe.inf
QcomPkg/PatchedBinaries/HALIOMMUDxe.inf
Expand Down
4 changes: 3 additions & 1 deletion Platforms/AtollPkg/Device/xiaomi-miatoll/DXE.inc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ INF Rennell/BOOT.XF.3.1.1-00014-SC7180XWZB-1/QcomPkg/Drivers/UsbfnChgDxe/UsbfnCh
INF Rennell/BOOT.XF.3.1.1-00014-SC7180XWZB-1/QcomPkg/Drivers/UsbConfigDxe/UsbConfigDxe.inf
INF Rennell/BOOT.XF.3.1.1-00014-SC7180XWZB-1/QcomPkg/Drivers/UsbfnDwc3Dxe/UsbfnDwc3Dxe.inf
#INF Rennell/BOOT.XF.3.1.1-00014-SC7180XWZB-1/QcomPkg/Drivers/SecurityDxe/SecurityDxe.inf
INF SurfaceDuoFamilyPkg/Driver/SimpleFbDxe/SimpleFbDxe.inf
#INF SurfaceDuoFamilyPkg/Driver/SimpleFbDxe/SimpleFbDxe.inf
INF SurfaceDuoFamilyPkg/Driver/DisplayCallerDxe/DisplayCallerDxe.inf

INF AtollPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Drivers/VibratorDxe/VibratorDxe.inf

Expand Down Expand Up @@ -104,6 +105,7 @@ INF AtollPkg/Device/$(TARGET_DEVICE)/Binaries/QcomPkg/Application/QcomChargerApp
# Device Specific Patched DXE
INF AtollPkg/Device/$(TARGET_DEVICE)/PatchedBinaries/ButtonsDxe.inf
INF AtollPkg/Device/$(TARGET_DEVICE)/PatchedBinaries/UFSDxe.inf
INF AtollPkg/Device/$(TARGET_DEVICE)/PatchedBinaries/DisplayDxe.inf
# Platform Specific Patched DXE
INF QcomPkg/PatchedBinaries/EnvDxe.inf
INF QcomPkg/PatchedBinaries/HALIOMMUDxe.inf
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
E\z�!�C�|�/�_�iv� �zH��(�{E��A|�[`�[C�[<>�+�Q-����l�H�U��B��O�f�l�MB�b�ӵ����GoUiB�(.��욭�{ H��00�=���z�>M�\�m�����$_�lO��Ž�y��
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# ****************************************************************************
# AUTOGENERATED BY UEFIReader
# AUTOGENED AS DisplayDxe.inf
# DO NOT MODIFY
# GENERATED ON: 2023-04-03 17:36:36Z

[Defines]
INF_VERSION = 0x0001001B
BASE_NAME = DisplayDxe
FILE_GUID = 4138022F-06C7-4F79-9C94-7E33B511A4E7
MODULE_TYPE = DXE_DRIVER
VERSION_STRING = 1.0
ENTRY_POINT = EfiEntry

[Binaries.AARCH64]
DXE_DEPEX|DisplayDxe.depex|*
PE32|DisplayDxe.efi|*

[Depex]
TRUE
# AUTOGEN ENDS
# ****************************************************************************

0 comments on commit 7b1a42d

Please sign in to comment.