-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathbareBoot.fdf
213 lines (186 loc) · 6.62 KB
/
bareBoot.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
208
209
210
211
212
213
## @file
# This is bareBoot FDF file
#
################################################################################
#
# FV Section
#
# [FV] section is used to define what components or modules are placed within a flash
# device file. This section also defines order the components and modules are positioned
# within the image. The [FV] section consists of define statements, set statements and
# module statements.
#
################################################################################
[FV.bareBootEfiMainFv]
BlockSize = 0x10000
NumBlocks = 0x40
FvAlignment = 16 #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 {
INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
INF PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
}
INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
INF MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
#INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
INF GraphicsConsoleDxe/GraphicsConsoleDxe.inf
INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
!ifdef DUETSTUFF
INF DuetPkg/SmbiosGenDxe/SmbiosGen.inf
!else
INF SmbiosGenDxe/SmbiosGen.inf
!endif
INF Library/BdsDxe/BdsDxe.inf
#INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
!ifdef EDK2CPUDXE
INF UefiCpuPkg/CpuDxe/CpuDxe.inf
!else
INF Cpu/CpuDxe/Cpu.inf
!endif
INF AcpiResetDxe/Reset.inf
INF MdeModulePkg/Universal/Metronome/Metronome.inf
INF PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
INF PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
INF LegacyRegion2Dxe/LegacyRegion2Dxe.inf
!ifdef DUETSTUFF
INF DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf
INF DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf
!else
INF PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf
INF PciBusNoEnumerationDxe/PciBusNoEnumeration.inf
!endif
# IDE/AHCI Support
#INF IntelFrameworkModulePkg/Csm/BiosThunk/BlockIoDxe/BlockIoDxe.inf
!ifdef BLOCKIO
INF BlockIoDxe/BlockIoDxe.inf
!else
INF MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
!endif
# Usb Support
!ifdef SPEEDUP
INF Speedup/Bus/Pci/UhciDxe/UhciDxe.inf
INF Speedup/Bus/Pci/EhciDxe/EhciDxe.inf
INF Speedup/Bus/Pci/XhciDxe/XhciDxe.inf
INF Speedup/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
INF Speedup/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
INF Speedup/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
!else
!ifndef NO_OHCI
INF QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/OhciDxe.inf
!endif
!ifndef NO_UHCI
INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
!endif
INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
!ifndef NO_XHCI
INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
!endif
INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
!endif
!ifndef NO_ISA
# ISA Support
INF PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
INF IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
!ifdef PS2
INF IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
!endif
!endif
!ifndef NO_BIOSKBD
INF BiosKeyboard/KeyboardDxe.inf
!endif
INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
!ifdef EDK2PART
INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
!else
INF PartitionDxe/PartitionDxe.inf
!endif
INF BiosVideoThunkDxe/BiosVideo.inf
INF IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
INF RuleOverride=BINARY FatBinPkg/EnhancedFatDxe/Fat.inf
!ifdef VBOXHFS
INF VBoxFsDxe/VBoxHfs.inf
!else
INF RuleOverride=BINARY HFSPlus/HFSPlus.inf
!endif
#INF RuleOverride=BINARY XhciDxe/XhciDxe.inf
!ifdef ION
# Binary INF file to support toggle among different CPU architectures.
INF RuleOverride=BINARY ION/IONDxe.inf
!endif
!ifndef NO_LOGO
FILE FREEFORM = PCD(gEfiBareBootPkgGuid.PcdAppleGrayLogoFile) {
SECTION RAW = Logo/appleLogo_apple_gray.png
}
FILE FREEFORM = PCD(gEfiBareBootPkgGuid.PcdAppleWhiteLogoFile) {
SECTION RAW = Logo/appleLogo_apple_white.png
}
FILE FREEFORM = PCD(gEfiBareBootPkgGuid.PcdBBLogoFile) {
SECTION RAW = Logo/Logo.bmp
}
!endif
!ifndef NO_FONT
FILE FREEFORM = PCD(gEfiBareBootPkgGuid.PcdFontsFile) {
SECTION RAW = Fonts/Monaco16.png
}
!endif
[Rule.Common.DXE_CORE]
FILE DXE_CORE = $(NAMED_GUID) {
PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
}
[Rule.Common.UEFI_DRIVER]
FILE DRIVER = $(NAMED_GUID) {
DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
}
[Rule.Common.DXE_DRIVER]
FILE DRIVER = $(NAMED_GUID) {
DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
}
[Rule.Common.DXE_RUNTIME_DRIVER]
FILE DRIVER = $(NAMED_GUID) {
DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
}
[Rule.Common.UEFI_APPLICATION]
FILE APPLICATION = $(NAMED_GUID) {
PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
}
[Rule.Common.UEFI_DRIVER.BINARY]
FILE DRIVER = $(NAMED_GUID) {
DXE_DEPEX DXE_DEPEX Optional |.depex
PE32 PE32 |.efi
}