-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathLumia630.fdf
155 lines (136 loc) · 5.6 KB
/
Lumia630.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
[FD.MSM8226_EFI]
BaseAddress = 0x1CC00000|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 = f23b46dc-37b0-471e-b464-93dab4afee02
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 ArmPkg/Drivers/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 and Ben)
INF Lumia630Pkg/Driver/BamDxe/BamDxe.inf
INF Lumia630Pkg/GPLDriver/GpioTlmmDxe/GpioTlmmDxe.inf
INF Lumia630Pkg/GPLDriver/GpioTlmmInterruptDxe/GpioTlmmInterruptDxe.inf
INF Lumia630Pkg/Driver/SpmiDxe/SpmiDxe.inf
INF Lumia630Pkg/Driver/Pm8x41Dxe/Pm8x41Dxe.inf
INF Lumia630Pkg/Driver/GenericKeypadDeviceDxe/GenericKeypadDeviceDxe.inf
INF Lumia630Pkg/Driver/KeypadDxe/KeypadDxe.inf
INF Lumia630Pkg/Driver/ClockDxe/ClockDxe.inf
INF Lumia630Pkg/Driver/SdhciMMCHSDxe/SdhciMMCHS.inf
INF Lumia630Pkg/Driver/SmemDxe/SmemDxe.inf
INF Lumia630Pkg/Driver/SmdRpmDxe/RpmDxe.inf
# Runtime Services
INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
#INF MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
# Security Stub
INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
# Graphics
INF Lumia630Pkg/Driver/SimpleFbDxe/SimpleFbDxe.inf
# BDS
INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
INF Lumia630Pkg/Drivers/ConSplitterDxe/ConSplitterDxe.inf
INF Lumia630Pkg/Drivers/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 MdeModulePkg/Application/UiApp/UiApp.inf
INF Lumia630Pkg/Driver/LogoDxe/LogoDxe.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
# Networking
INF NetworkPkg/DpcDxe/DpcDxe.inf
INF NetworkPkg/ArpDxe/ArpDxe.inf
INF NetworkPkg/Dhcp4Dxe/Dhcp4Dxe.inf
INF NetworkPkg/Ip4Dxe/Ip4Dxe.inf
INF NetworkPkg/MnpDxe/MnpDxe.inf
INF NetworkPkg/VlanConfigDxe/VlanConfigDxe.inf
INF NetworkPkg/Mtftp4Dxe/Mtftp4Dxe.inf
INF NetworkPkg/TcpDxe/TcpDxe.inf
INF NetworkPkg/Udp4Dxe/Udp4Dxe.inf
#ACPI and SMBIOS
INF Lumia630Pkg/Driver/SmBiosTableDxe/SmBiosTableDxe.inf
# Shell
INF ShellPkg/Application/Shell/Shell.inf
[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 Lumia630Pkg/PrePi/PrePi.inf
#
# PI DXE Drivers producing Architectural Protocols (EFI Services)
#
FILE FREEFORM = a4c429b1-046a-4e7d-afbc-c6988e8fe7cc {
SECTION UI = "platform.json"
SECTION RAW = Lumia630Pkg/Resources/Platform.json
}
FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
SECTION FV_IMAGE = FVMAIN
}
}
!include Lumia630.fdf.inc