]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-MPCore.fdf
ArmPlatformPkg: Clean DSC files
[mirror_edk2.git] / ArmPlatformPkg / ArmRealViewEbPkg / ArmRealViewEb-RTSM-MPCore.fdf
CommitLineData
1d5d0ae9 1# FLASH layout file for ARM VE.
2#
3# Copyright (c) 2011, ARM Limited. All rights reserved.
4#
5# This program and the accompanying materials
6# are licensed and made available under the terms and conditions of the BSD License
7# which accompanies this distribution. The full text of the license may be found at
8# http://opensource.org/licenses/bsd-license.php
9#
10# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12#
13
14################################################################################
15#
16# FD Section
17# The [FD] Section is made up of the definition statements and a
18# description of what goes into the Flash Device Image. Each FD section
19# defines one flash "device" image. A flash device image may be one of
20# the following: Removable media bootable image (like a boot floppy
21# image,) an Option ROM image (that would be "flashed" into an add-in
22# card,) a System "Flash" image (that would be burned into a system's
23# flash) or an Update ("Capsule") image that will be used to update and
24# existing system flash.
25#
26################################################################################
27
28
29[FD.ArmRealViewEb_EFI]
30BaseAddress = 0x40000000 # The base address of the FLASH Device.
31Size = 0x00200000 # The size in bytes of the FLASH Device
32ErasePolarity = 1
33BlockSize = 0x00010000
34NumBlocks = 0x20
35
36################################################################################
37#
38# Following are lists of FD Region layout which correspond to the locations of different
39# images within the flash device.
40#
41# Regions must be defined in ascending order and may not overlap.
42#
43# A Layout Region start with a eight digit hex offset (leading "0x" required) followed by
44# the pipe "|" character, followed by the size of the region, also in hex with the leading
45# "0x" characters. Like:
46# Offset|Size
47# PcdOffsetCName|PcdSizeCName
48# RegionType <FV, DATA, or FILE>
49#
50################################################################################
51
520x00000000|0x00050000
53gEmbeddedTokenSpaceGuid.PcdFlashFvSecBase|gEmbeddedTokenSpaceGuid.PcdFlashFvSecSize
54FV = FVMAIN_SEC
55
560x00050000|0x00100000
57gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase|gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize
58FV = FVMAIN_COMPACT
59
1d5d0ae9 60################################################################################
61#
62# FV Section
63#
64# [FV] section is used to define what components or modules are placed within a flash
65# device file. This section also defines order the components and modules are positioned
66# within the image. The [FV] section consists of define statements, set statements and
67# module statements.
68#
69################################################################################
70
71[FV.FVMAIN_SEC]
72FvAlignment = 8
73ERASE_POLARITY = 1
74MEMORY_MAPPED = TRUE
75STICKY_WRITE = TRUE
76LOCK_CAP = TRUE
77LOCK_STATUS = TRUE
78WRITE_DISABLED_CAP = TRUE
79WRITE_ENABLED_CAP = TRUE
80WRITE_STATUS = TRUE
81WRITE_LOCK_CAP = TRUE
82WRITE_LOCK_STATUS = TRUE
83READ_DISABLED_CAP = TRUE
84READ_ENABLED_CAP = TRUE
85READ_STATUS = TRUE
86READ_LOCK_CAP = TRUE
87READ_LOCK_STATUS = TRUE
88
89 INF ArmPlatformPkg/Sec/Sec.inf
90
91
92[FV.FvMain]
93BlockSize = 0x40
94NumBlocks = 0 # This FV gets compressed so make it just big enough
95FvAlignment = 8 # FV alignment and FV attributes setting.
96ERASE_POLARITY = 1
97MEMORY_MAPPED = TRUE
98STICKY_WRITE = TRUE
99LOCK_CAP = TRUE
100LOCK_STATUS = TRUE
101WRITE_DISABLED_CAP = TRUE
102WRITE_ENABLED_CAP = TRUE
103WRITE_STATUS = TRUE
104WRITE_LOCK_CAP = TRUE
105WRITE_LOCK_STATUS = TRUE
106READ_DISABLED_CAP = TRUE
107READ_ENABLED_CAP = TRUE
108READ_STATUS = TRUE
109READ_LOCK_CAP = TRUE
110READ_LOCK_STATUS = TRUE
111
112 INF MdeModulePkg/Core/Dxe/DxeMain.inf
113
114 #
115 # PI DXE Drivers producing Architectural Protocols (EFI Services)
116 #
117 INF ArmPkg/Drivers/CpuDxe/CpuDxe.inf
118 INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
119 INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
120 INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
121 INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
a89cb4b7 122 INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
123 INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
1d5d0ae9 124 INF EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
125 INF EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
126 INF EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
127 INF EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
9bc6ef02 128
936eff09 129 INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
9bc6ef02 130 INF ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf
936eff09 131
132 #
133 # Multiple Console IO support
134 #
135 INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
136 INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
137 INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
138 INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
139 INF EmbeddedPkg/SerialDxe/SerialDxe.inf
1d5d0ae9 140
55fad965 141 INF ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf
1d5d0ae9 142 INF ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf
a89cb4b7 143
144 INF ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf
1d5d0ae9 145
146 #
147 # Semi-hosting filesystem
148 #
149 INF ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
150
151 #
152 # FAT filesystem + GPT/MBR partitioning
153 #
154 INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
155 INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
156 INF FatPkg/EnhancedFatDxe/Fat.inf
157 INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
158
159 #
160 # UEFI application (Shell Embedded Boot Loader)
161 #
162 INF EmbeddedPkg/Ebl/Ebl.inf
163
164
165 #
166 # Bds
167 #
168 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
169 INF ArmPlatformPkg/Bds/Bds.inf
170
171
172[FV.FVMAIN_COMPACT]
173FvAlignment = 8
174ERASE_POLARITY = 1
175MEMORY_MAPPED = TRUE
176STICKY_WRITE = TRUE
177LOCK_CAP = TRUE
178LOCK_STATUS = TRUE
179WRITE_DISABLED_CAP = TRUE
180WRITE_ENABLED_CAP = TRUE
181WRITE_STATUS = TRUE
182WRITE_LOCK_CAP = TRUE
183WRITE_LOCK_STATUS = TRUE
184READ_DISABLED_CAP = TRUE
185READ_ENABLED_CAP = TRUE
186READ_STATUS = TRUE
187READ_LOCK_CAP = TRUE
188READ_LOCK_STATUS = TRUE
189
190 INF ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf
191 INF MdeModulePkg/Core/Pei/PeiMain.inf
192 INF ArmPlatformPkg/PlatformPei/PlatformPei.inf
193 INF ArmPlatformPkg/MemoryInitPei/MemoryInitPei.inf
194 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
195 INF IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
196 INF MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
197 INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
198
199 FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
200 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
201 SECTION FV_IMAGE = FVMAIN
202 }
203 }
204
205
206################################################################################
207#
208# Rules are use with the [FV] section's module INF type to define
209# how an FFS file is created for a given INF file. The following Rule are the default
210# rules for the different module type. User can add the customized rules to define the
211# content of the FFS file.
212#
213################################################################################
214
215
216############################################################################
217# Example of a DXE_DRIVER FFS file with a Checksum encapsulation section #
218############################################################################
219#
220#[Rule.Common.DXE_DRIVER]
221# FILE DRIVER = $(NAMED_GUID) {
222# DXE_DEPEX DXE_DEPEX Optional |.depex
223# COMPRESS PI_STD {
224# GUIDED {
225# PE32 PE32 |.efi
226# UI STRING="$(MODULE_NAME)" Optional
227# VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
228# }
229# }
230# }
231#
232############################################################################
233
234[Rule.Common.SEC]
235 FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED {
95650ced 236 TE TE Align = 32 |.efi
1d5d0ae9 237 }
238
239[Rule.Common.PEI_CORE]
240 FILE PEI_CORE = $(NAMED_GUID) {
241 TE TE |.efi
242 UI STRING ="$(MODULE_NAME)" Optional
243 }
244
245[Rule.Common.PEIM]
246 FILE PEIM = $(NAMED_GUID) {
247 PEI_DEPEX PEI_DEPEX Optional |.depex
248 TE TE |.efi
249 UI STRING="$(MODULE_NAME)" Optional
250 }
251
252[Rule.Common.PEIM.TIANOCOMPRESSED]
253 FILE PEIM = $(NAMED_GUID) DEBUG_MYTOOLS_IA32 {
254 PEI_DEPEX PEI_DEPEX Optional |.depex
255 GUIDED A31280AD-481E-41B6-95E8-127F4C984779 PROCESSING_REQUIRED = TRUE {
256 PE32 PE32 |.efi
257 UI STRING="$(MODULE_NAME)" Optional
258 }
259 }
260
261[Rule.Common.DXE_CORE]
262 FILE DXE_CORE = $(NAMED_GUID) {
263 PE32 PE32 |.efi
264 UI STRING="$(MODULE_NAME)" Optional
265 }
266
267[Rule.Common.UEFI_DRIVER]
268 FILE DRIVER = $(NAMED_GUID) {
269 DXE_DEPEX DXE_DEPEX Optional |.depex
270 PE32 PE32 |.efi
271 UI STRING="$(MODULE_NAME)" Optional
272 }
273
274[Rule.Common.DXE_DRIVER]
275 FILE DRIVER = $(NAMED_GUID) {
276 DXE_DEPEX DXE_DEPEX Optional |.depex
277 PE32 PE32 |.efi
278 UI STRING="$(MODULE_NAME)" Optional
279 }
280
281[Rule.Common.DXE_RUNTIME_DRIVER]
282 FILE DRIVER = $(NAMED_GUID) {
283 DXE_DEPEX DXE_DEPEX Optional |.depex
284 PE32 PE32 |.efi
285 UI STRING="$(MODULE_NAME)" Optional
286 }
287
288[Rule.Common.UEFI_APPLICATION]
289 FILE APPLICATION = $(NAMED_GUID) {
290 UI STRING ="$(MODULE_NAME)" Optional
291 PE32 PE32 |.efi
292 }