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