BaseTools/Capsule: Do not support -o with --dump-info
[mirror_edk2.git] / CorebootPayloadPkg / CorebootPayloadPkg.fdf
CommitLineData
9c228fb0
MM
1## @file\r
2# Coreboot Payload Package\r
3#\r
1fee349a 4# Provides drivers and definitions to create uefi payload for coreboot.\r
9c228fb0 5#\r
72d6520e 6# Copyright (c) 2014 - 2017, Intel Corporation. All rights reserved.<BR>\r
1fee349a
LL
7# This program and the accompanying materials are licensed and made available under\r
8# the terms and conditions of the BSD License that accompanies this distribution.\r
9c228fb0 9# The full text of the license may be found at\r
1fee349a
LL
10# http://opensource.org/licenses/bsd-license.php.\r
11#\r
12# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
9c228fb0
MM
14#\r
15##\r
16\r
17################################################################################\r
18[FD.UefiPayload]\r
19BaseAddress = 0x800000|gUefiCorebootModulePkgTokenSpaceGuid.PcdPayloadFdMemBase\r
08e9b6f7 20Size = 0x410000|gUefiCorebootModulePkgTokenSpaceGuid.PcdPayloadFdMemSize\r
9c228fb0
MM
21ErasePolarity = 1\r
22BlockSize = 0x1000\r
08e9b6f7 23NumBlocks = 0x410\r
9c228fb0 24\r
08e9b6f7 250x00000000|0x030000\r
9c228fb0
MM
26FV = PEIFV\r
27\r
08e9b6f7 280x00030000|0x3E0000\r
9c228fb0
MM
29FV = DXEFV\r
30\r
31################################################################################\r
32[FV.PEIFV]\r
33BlockSize = 0x1000\r
34FvAlignment = 16\r
35ERASE_POLARITY = 1\r
36MEMORY_MAPPED = TRUE\r
37STICKY_WRITE = TRUE\r
38LOCK_CAP = TRUE\r
39LOCK_STATUS = TRUE\r
40WRITE_DISABLED_CAP = TRUE\r
41WRITE_ENABLED_CAP = TRUE\r
42WRITE_STATUS = TRUE\r
43WRITE_LOCK_CAP = TRUE\r
44WRITE_LOCK_STATUS = TRUE\r
45READ_DISABLED_CAP = TRUE\r
46READ_ENABLED_CAP = TRUE\r
47READ_STATUS = TRUE\r
48READ_LOCK_CAP = TRUE\r
49READ_LOCK_STATUS = TRUE\r
50\r
51INF CorebootModulePkg/SecCore/SecCore.inf\r
52\r
53INF MdeModulePkg/Core/Pei/PeiMain.inf\r
54INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf\r
200eaa3d
MM
55INF MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei.inf\r
56INF MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf\r
9c228fb0
MM
57INF CorebootModulePkg/CbSupportPei/CbSupportPei.inf\r
58INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf\r
59\r
60################################################################################\r
61\r
62[FV.DXEFV]\r
63BlockSize = 0x1000\r
937f5cb6 64FvForceRebase = FALSE\r
9c228fb0
MM
65FvAlignment = 16\r
66ERASE_POLARITY = 1\r
67MEMORY_MAPPED = TRUE\r
68STICKY_WRITE = TRUE\r
69LOCK_CAP = TRUE\r
70LOCK_STATUS = TRUE\r
71WRITE_DISABLED_CAP = TRUE\r
72WRITE_ENABLED_CAP = TRUE\r
73WRITE_STATUS = TRUE\r
74WRITE_LOCK_CAP = TRUE\r
75WRITE_LOCK_STATUS = TRUE\r
76READ_DISABLED_CAP = TRUE\r
77READ_ENABLED_CAP = TRUE\r
78READ_STATUS = TRUE\r
79READ_LOCK_CAP = TRUE\r
80READ_LOCK_STATUS = TRUE\r
81\r
6157f650
MM
82APRIORI DXE {\r
83 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf\r
84 INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
85 INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r
86}\r
87\r
9c228fb0
MM
88#\r
89# DXE Phase modules\r
90#\r
91INF MdeModulePkg/Core/Dxe/DxeMain.inf\r
92INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf\r
200eaa3d
MM
93INF MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe.inf\r
94INF MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf\r
9c228fb0
MM
95\r
96INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r
97INF UefiCpuPkg/CpuDxe/CpuDxe.inf\r
d5f85e3f
MM
98INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf\r
99INF MdeModulePkg/Application/UiApp/UiApp.inf\r
1399565a
MM
100!if $(USE_HPET_TIMER) == TRUE\r
101INF PcAtChipsetPkg/HpetTimerDxe/HpetTimerDxe.inf\r
102!else\r
9c228fb0 103INF PcAtChipsetPkg/8254TimerDxe/8254Timer.inf\r
1399565a 104!endif\r
9c228fb0
MM
105INF MdeModulePkg/Universal/Metronome/Metronome.inf\r
106INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r
107INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r
108INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r
109INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf\r
1fee349a
LL
110INF MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf\r
111INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf\r
9c228fb0
MM
112INF MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf\r
113\r
114INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf\r
115INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
116INF MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf\r
1fee349a 117INF PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf\r
9c228fb0 118INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r
1fee349a 119INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
9c228fb0 120INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
1fee349a 121INF CorebootModulePkg/CbSupportDxe/CbSupportDxe.inf\r
9c228fb0
MM
122\r
123INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf\r
124#\r
125# PCI Support\r
126#\r
69787a9d
MM
127INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf\r
128INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf\r
9c228fb0
MM
129\r
130#\r
131# ISA Support\r
132#\r
aa52bace 133INF MdeModulePkg/Universal/SerialDxe/SerialDxe.inf\r
9c228fb0
MM
134\r
135#\r
136# Console Support\r
137#\r
138INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r
139INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r
140INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r
141INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r
142\r
143#\r
144# SCSI/ATA/IDE/DISK Support\r
145#\r
146INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r
147INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r
148INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
1fee349a 149INF CorebootModulePkg/SataControllerDxe/SataControllerDxe.inf\r
9c228fb0
MM
150INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf\r
151INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf\r
152INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
153INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
154\r
1fee349a 155INF FatPkg/EnhancedFatDxe/Fat.inf\r
9c228fb0
MM
156\r
157#\r
0c986eaf
LL
158# SD/eMMC Support\r
159#\r
160INF MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.inf\r
161INF MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.inf\r
162INF MdeModulePkg/Bus/Sd/SdDxe/SdDxe.inf\r
163\r
164#\r
9c228fb0
MM
165# Usb Support\r
166#\r
167INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
168INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf\r
169INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf\r
170INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r
171INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf\r
172INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r
173\r
0c986eaf
LL
174#\r
175# OHCI Support\r
176#\r
177INF QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/OhciDxe.inf\r
178\r
9c228fb0
MM
179#\r
180# Shell\r
181#\r
1fee349a 182!if $(SHELL_TYPE) == BUILD_SHELL\r
72d6520e
RN
183INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf\r
184INF ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf\r
1fee349a
LL
185INF ShellPkg/Application/Shell/Shell.inf\r
186!endif\r
187\r
188!if $(SHELL_TYPE) == FULL_BIN\r
9c228fb0
MM
189!if $(ARCH) == IA32\r
190INF RuleOverride = BINARY USE = IA32 EdkShellBinPkg/FullShell/FullShell.inf\r
191!else\r
192INF RuleOverride = BINARY USE = X64 EdkShellBinPkg/FullShell/FullShell.inf\r
193!endif\r
1fee349a
LL
194!endif\r
195\r
196!if $(SHELL_TYPE) == MIN_BIN\r
197!if $(ARCH) == IA32\r
198INF RuleOverride = BINARY USE = IA32 ShellBinPkg/MinUefiShell/MinUefiShell.inf\r
199!else\r
200INF RuleOverride = BINARY USE = X64 ShellBinPkg/MinUefiShell/MinUefiShell.inf\r
201!endif\r
202!endif\r
203\r
204!if $(SHELL_TYPE) == UEFI_BIN\r
205!if $(ARCH) == IA32\r
206INF RuleOverride = BINARY USE = IA32 ShellBinPkg/UefiShell/UefiShell.inf\r
207!else\r
208INF RuleOverride = BINARY USE = X64 ShellBinPkg/UefiShell/UefiShell.inf\r
209!endif\r
210!endif\r
9c228fb0
MM
211\r
212FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {\r
213 SECTION RAW = MdeModulePkg/Logo/Logo.bmp\r
214}\r
215\r
216#\r
1fee349a 217# Framebuffer Gop\r
9c228fb0
MM
218#\r
219INF CorebootPayloadPkg/FbGop/FbGop.inf\r
220\r
221################################################################################\r
222#\r
223# Rules are use with the [FV] section's module INF type to define\r
224# how an FFS file is created for a given INF file. The following Rule are the default\r
225# rules for the different module type. User can add the customized rules to define the\r
226# content of the FFS file.\r
227#\r
228################################################################################\r
229\r
230[Rule.Common.SEC]\r
231 FILE SEC = $(NAMED_GUID) {\r
232 PE32 PE32 Align=32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
233 }\r
234\r
235[Rule.Common.PEI_CORE]\r
236 FILE PEI_CORE = $(NAMED_GUID) {\r
efe3f009 237 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi\r
9c228fb0
MM
238 UI STRING ="$(MODULE_NAME)" Optional\r
239 VERSION STRING ="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
240 }\r
241\r
242[Rule.Common.PEIM]\r
243 FILE PEIM = $(NAMED_GUID) {\r
244 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex\r
efe3f009 245 PE32 PE32 Align=Auto $(INF_OUTPUT)/$(MODULE_NAME).efi\r
9c228fb0
MM
246 UI STRING="$(MODULE_NAME)" Optional\r
247 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
248 }\r
249\r
250[Rule.Common.DXE_CORE]\r
251 FILE DXE_CORE = $(NAMED_GUID) {\r
252 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
253 UI STRING="$(MODULE_NAME)" Optional\r
254 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
255 }\r
256\r
257[Rule.Common.DXE_DRIVER]\r
258 FILE DRIVER = $(NAMED_GUID) {\r
259 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex\r
260 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
261 UI STRING="$(MODULE_NAME)" Optional\r
262 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
263 }\r
264\r
265[Rule.Common.DXE_RUNTIME_DRIVER]\r
266 FILE DRIVER = $(NAMED_GUID) {\r
267 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex\r
268 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
269 UI STRING="$(MODULE_NAME)" Optional\r
270 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
271 }\r
272\r
273[Rule.Common.UEFI_DRIVER]\r
274 FILE DRIVER = $(NAMED_GUID) {\r
275 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex\r
276 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
277 UI STRING="$(MODULE_NAME)" Optional\r
278 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
279 }\r
280\r
281[Rule.Common.UEFI_DRIVER.BINARY]\r
282 FILE DRIVER = $(NAMED_GUID) {\r
283 DXE_DEPEX DXE_DEPEX Optional |.depex\r
284 PE32 PE32 |.efi\r
285 UI STRING="$(MODULE_NAME)" Optional\r
286 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
287 }\r
288\r
289[Rule.Common.UEFI_APPLICATION]\r
290 FILE APPLICATION = $(NAMED_GUID) {\r
291 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi\r
292 UI STRING="$(MODULE_NAME)" Optional\r
293 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
294 }\r
295\r
296[Rule.Common.UEFI_APPLICATION.BINARY]\r
297 FILE APPLICATION = $(NAMED_GUID) {\r
298 PE32 PE32 |.efi\r
299 UI STRING="$(MODULE_NAME)" Optional\r
300 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)\r
301 }\r
302\r
303[Rule.Common.USER_DEFINED.ACPITABLE]\r
304 FILE FREEFORM = $(NAMED_GUID) {\r
305 RAW ACPI |.acpi\r
306 RAW ASL |.aml\r
307 }\r
308\r
309[Rule.Common.USER_DEFINED.CSM]\r
310 FILE FREEFORM = $(NAMED_GUID) {\r
311 RAW BIN |.bin\r
312 }\r
313\r
314[Rule.Common.SEC.RESET_VECTOR]\r
315 FILE RAW = $(NAMED_GUID) {\r
316 RAW RAW |.raw\r
317 }\r