-
Notifications
You must be signed in to change notification settings - Fork 46
/
Lumia950.fdf
207 lines (179 loc) · 7.94 KB
/
Lumia950.fdf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
[FD.MSM8992_EFI]
BaseAddress = 0x00200000|gArmTokenSpaceGuid.PcdFdBaseAddress #The base address of the FLASH Device.
Size = 0x00100000|gArmTokenSpaceGuid.PcdFdSize #The size in bytes of the FLASH Device
ErasePolarity = 1
BlockSize = 0x200
NumBlocks = 0x800
# 512 bytes of configuration header & 8 bytes of image header
0x00000000|0x00100000
gArmTokenSpaceGuid.PcdFvBaseAddress|gArmTokenSpaceGuid.PcdFvSize
FV = FVMAIN_COMPACT
[FV.FvMain]
FvNameGuid = 9a15aa37-d555-4a4e-b541-86391ff68164
BlockSize = 0x40
NumBlocks = 0 # This FV gets compressed so make it just big enough
FvAlignment = 8 # FV alignment and FV attributes setting.
ERASE_POLARITY = 1
MEMORY_MAPPED = TRUE
STICKY_WRITE = TRUE
LOCK_CAP = TRUE
LOCK_STATUS = TRUE
WRITE_DISABLED_CAP = TRUE
WRITE_ENABLED_CAP = TRUE
WRITE_STATUS = TRUE
WRITE_LOCK_CAP = TRUE
WRITE_LOCK_STATUS = TRUE
READ_DISABLED_CAP = TRUE
READ_ENABLED_CAP = TRUE
READ_STATUS = TRUE
READ_LOCK_CAP = TRUE
READ_LOCK_STATUS = TRUE
APRIORI DXE {
# First, install the PCD driver and call DxeInit
INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
# Next, install cpu protocol and enable the interrupt controller
INF ArmPkg/Drivers/CpuDxe/CpuDxe.inf
INF ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
}
# Architecture services (PI Stage)
INF MdeModulePkg/Core/Dxe/DxeMain.inf
INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
INF ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
# Core Drivers
INF ArmPkg/Drivers/CpuDxe/CpuDxe.inf
INF Lumia950XLPkg/Driver/TimerDxe/TimerDxe.inf
INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
INF EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
INF EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
INF EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
# SoC Drivers (Cross-referenced from EFIDroid)
INF Lumia950XLPkg/Driver/BamDxe/BamDxe.inf
INF Lumia950XLPkg/GPLDriver/GpioTlmmDxe/GpioTlmmDxe.inf
INF Lumia950XLPkg/GPLDriver/GpioTlmmInterruptDxe/GpioTlmmInterruptDxe.inf
INF Lumia950XLPkg/Driver/SpmiDxe/SpmiDxe.inf
INF Lumia950XLPkg/Driver/Pm8x41Dxe/Pm8x41Dxe.inf
INF Lumia950XLPkg/Driver/GenericKeypadDeviceDxe/GenericKeypadDeviceDxe.inf
INF Lumia950XLPkg/Driver/KeypadDxe/KeypadDxe.inf
INF Lumia950XLPkg/Driver/ClockDxe/ClockDxe.inf
INF Lumia950XLPkg/Driver/SdhciMMCHSDxe/SdhciMMCHS.inf
INF Lumia950XLPkg/Driver/I2cQupDxe/I2cQupDxe.inf
INF Lumia950XLPkg/Driver/SmemDxe/SmemDxe.inf
INF Lumia950XLPkg/Driver/SmemPtableDxe/SmemPtableDxe.inf
INF Lumia950XLPkg/Driver/SmdRpmDxe/RpmDxe.inf
INF Lumia950XLPkg/Driver/SsbiDxe/SsbiDxe.inf
INF Lumia950XLPkg/Driver/BoardDxe/BoardDxe.inf
INF Lumia950XLPkg/Driver/RuntimeMemoryConfigDxe/RuntimeMemoryConfigDxe.inf
INF Lumia950XLPkg/Driver/PCIExpressConfiguratorDxe/PCIExpressConfiguratorDxe.inf
# PreLoader checker
INF Lumia950XLPkg/Driver/PreLoaderDxe/PreLoaderDxe.inf
# Device Drivers
INF Lumia950XLPkg/Driver/SynapticsTouchDxe/SynapticsTouchDevice.inf
INF Lumia950XLPkg/Driver/SynapticsTouchDxe/SynapticsTouchDxe.inf
# Debug heartbeat
!if $(SEND_HEARTBEAT_TO_SERIAL) == 1
INF Lumia950XLPkg/Driver/HeartbeatDxe/HeartbeatDxe.inf
!endif
# Runtime Services
INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
# Variable Services
INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
# Security Stub
INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
# Secure Boot Key Enroll
!if $(SECURE_BOOT_ENABLE) == TRUE
INF SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
!endif
# Graphics
INF Lumia950XLPkg/Driver/SimpleFbDxe/SimpleFbDxe.inf
# Lattice UC120 Configuration
!if $(UC120_BITSTREAM_UPLOADER) == 1
INF Lumia950XLPkg/Driver/LiCE40SpiConfigDxe/LiCE40SpiConfigDxe.inf
!endif
INF Lumia950XLPkg/GPLDriver/QupSpiDxe/QupSpiDxe.inf
# BDS
INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
INF MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
INF Lumia950XLPkg/Application/BdsMenuApp/BdsMenuApp.inf
INF Lumia950XLPkg/Driver/LogoDxe/LogoDxe.inf
INF Lumia950XLPkg/Application/BootSplashApp/BootSplashApp.inf
# Disk IO
INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
INF FatPkg/EnhancedFatDxe/Fat.inf
INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
# ACPI and SMBIOS
INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
INF MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
INF MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
INF Lumia950XLPkg/Driver/SmBiosTableDxe/SmBiosTableDxe.inf
# ACPI Tables
FILE FREEFORM = 7E374E25-8E01-4FEE-87F2-390C23C606CD {
SECTION RAW = Lumia950XLPkg/AcpiTables/common/builtin/CSRT.aml
SECTION RAW = Lumia950XLPkg/AcpiTables/common/builtin/DBG2.aml
SECTION RAW = Lumia950XLPkg/AcpiTables/common/builtin/FACS.aml
SECTION RAW = Lumia950XLPkg/AcpiTables/common/builtin/FADT.PsciSmc.acpi
SECTION RAW = Lumia950XLPkg/AcpiTables/common/builtin/FPDT.aml
SECTION RAW = Lumia950XLPkg/AcpiTables/common/builtin/GTDT.aml
SECTION RAW = Lumia950XLPkg/AcpiTables/common/builtin/TPM2.aml
SECTION RAW = Lumia950XLPkg/AcpiTables/8992/builtin/DSDT.aml
SECTION RAW = Lumia950XLPkg/AcpiTables/8992/builtin/MADT.aml
SECTION RAW = Lumia950XLPkg/AcpiTables/8992/builtin/MCFG.aml
SECTION RAW = Lumia950XLPkg/AcpiTables/8992/builtin/PPTT.aml
SECTION RAW = Lumia950XLPkg/AcpiTables/8992/builtin/SSDT.aml
SECTION UI = "AcpiTables"
}
# PreLoader assets
FILE FREEFORM = 5fdf5e3c-6b70-4acc-8330-63a673924a46 {
SECTION RAW = Lumia950XLPkg/Driver/PreLoaderDxe/BootshimCheckFail.png
SECTION UI = "BootshimCheckFail"
}
# SplashApp assets
FILE FREEFORM = 5af45c60-a0cd-4aab-b6f4-b1c07c347ad7 {
SECTION RAW = Lumia950XLPkg/Application/BootSplashApp/BootPrompt.png
SECTION UI = "BootSplashPrompt"
}
FILE FREEFORM = 5af45c60-a0cd-4aab-b6f4-b1c07c347ad8 {
SECTION RAW = Lumia950XLPkg/Application/BootSplashApp/BootPromptClear.png
SECTION UI = "BootSplashPromptClear"
}
[FV.FVMAIN_COMPACT]
FvAlignment = 8
ERASE_POLARITY = 1
MEMORY_MAPPED = TRUE
STICKY_WRITE = TRUE
LOCK_CAP = TRUE
LOCK_STATUS = TRUE
WRITE_DISABLED_CAP = TRUE
WRITE_ENABLED_CAP = TRUE
WRITE_STATUS = TRUE
WRITE_LOCK_CAP = TRUE
WRITE_LOCK_STATUS = TRUE
READ_DISABLED_CAP = TRUE
READ_ENABLED_CAP = TRUE
READ_STATUS = TRUE
READ_LOCK_CAP = TRUE
READ_LOCK_STATUS = TRUE
INF Lumia950XLPkg/PrePi/PrePi.inf
FILE FREEFORM = a4c429b1-046a-4e7d-afbc-c6988e8fe7cc {
SECTION UI = "platform.json"
SECTION RAW = Lumia950XLPkg/Resources/Platform.8992.json
}
FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
SECTION FV_IMAGE = FVMAIN
}
}
!include Lumia950XL.fdf.inc