]> git.proxmox.com Git - mirror_edk2.git/blob - DuetPkg/DuetPkg.fdf
Add BlockSize declaration in FvMain section other tool would create a FV with blocksi...
[mirror_edk2.git] / DuetPkg / DuetPkg.fdf
1 ## @file
2 # This is DUET FDF file with UEFI HII features enabled
3 #
4 # Copyright (c) 2007 - 2010, Intel Corporation
5 #
6 # All rights reserved. This program and the accompanying materials
7 # are licensed and made available under the terms and conditions of the BSD License
8 # which accompanies this distribution. The full text of the license may be found at
9 # http://opensource.org/licenses/bsd-license.php
10 #
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 #
14
15 ################################################################################
16 #
17 # FD Section
18 # The [FD] Section is made up of the definition statements and a
19 # description of what goes into the Flash Device Image. Each FD section
20 # defines one flash "device" image. A flash device image may be one of
21 # the following: Removable media bootable image (like a boot floppy
22 # image,) an Option ROM image (that would be "flashed" into an add-in
23 # card,) a System "Flash" image (that would be burned into a system's
24 # flash) or an Update ("Capsule") image that will be used to update and
25 # existing system flash.
26 #
27 ################################################################################
28 [FD.DuetMainFd]
29 BaseAddress = 0x0 #The base address of the FLASH Device.
30 Size = 0x002a0000 #The size in bytes of the FLASH Device
31 ErasePolarity = 1
32 BlockSize = 0x10000
33 NumBlocks = 0x2a
34
35 0x00000000|0x002a0000
36
37 ################################################################################
38 #
39 # FV Section
40 #
41 # [FV] section is used to define what components or modules are placed within a flash
42 # device file. This section also defines order the components and modules are positioned
43 # within the image. The [FV] section consists of define statements, set statements and
44 # module statements.
45 #
46 ################################################################################
47 [FV.DuetEfiMainFv]
48 BlockSize = 0x100000
49 FvAlignment = 16 #FV alignment and FV attributes setting.
50 ERASE_POLARITY = 1
51 MEMORY_MAPPED = TRUE
52 STICKY_WRITE = TRUE
53 LOCK_CAP = TRUE
54 LOCK_STATUS = TRUE
55 WRITE_DISABLED_CAP = TRUE
56 WRITE_ENABLED_CAP = TRUE
57 WRITE_STATUS = TRUE
58 WRITE_LOCK_CAP = TRUE
59 WRITE_LOCK_STATUS = TRUE
60 READ_DISABLED_CAP = TRUE
61 READ_ENABLED_CAP = TRUE
62 READ_STATUS = TRUE
63 READ_LOCK_CAP = TRUE
64 READ_LOCK_STATUS = TRUE
65
66 INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
67 INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
68 INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
69 INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
70
71 INF DuetPkg/FSVariable/FSVariable.inf
72 INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
73 INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
74 INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
75 INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
76 INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
77 INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
78
79 INF IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
80 INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
81 INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
82 INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
83 INF DuetPkg/SmbiosGenDxe/SmbiosGen.inf
84 #INF DuetPkg/FvbRuntimeService/DUETFwh.inf
85 INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
86 INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
87 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
88 INF UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
89 INF DuetPkg/CpuDxe/Cpu.inf
90
91 INF PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
92 INF DuetPkg/AcpiResetDxe/Reset.inf
93 INF DuetPkg/LegacyMetronome/Metronome.inf
94 INF PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
95 INF PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
96 INF DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf
97 INF DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf
98 INF IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf
99 INF IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
100
101 # IDE Support
102 INF IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
103 INF PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf
104
105 # Usb Support
106 INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
107 INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
108 INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
109 INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
110 INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
111
112 # ISA Support
113 INF PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
114 INF IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
115 INF IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
116 INF IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
117 INF IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
118
119 INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
120 INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
121 INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
122 INF DuetPkg/BiosVideoThunkDxe/BiosVideo.inf
123
124 # Binary INF file to support toggle among different CPU architectures.
125 INF RuleOverride=BINARY FatBinPkg/EnhancedFatDxe/Fat.inf
126
127 FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {
128 SECTION RAW = MdeModulePkg/Logo/Logo.bmp
129 }
130
131 [Rule.Common.DXE_CORE]
132 FILE DXE_CORE = $(NAMED_GUID) {
133 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
134 }
135
136 [Rule.Common.UEFI_DRIVER]
137 FILE DRIVER = $(NAMED_GUID) {
138 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
139 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
140 }
141
142 [Rule.Common.DXE_DRIVER]
143 FILE DRIVER = $(NAMED_GUID) {
144 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
145 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
146 }
147
148 [Rule.Common.DXE_RUNTIME_DRIVER]
149 FILE DRIVER = $(NAMED_GUID) {
150 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
151 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
152 }
153
154 [Rule.Common.UEFI_APPLICATION]
155 FILE APPLICATION = $(NAMED_GUID) {
156 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
157 }
158
159 [Rule.Common.UEFI_DRIVER.BINARY]
160 FILE DRIVER = $(NAMED_GUID) {
161 DXE_DEPEX DXE_DEPEX Optional |.depex
162 PE32 PE32 |.efi
163 }
164