]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-MPCore.fdf
ArmPlatformPkg/ArmRealViewEb: Add support for PL111 Lcd controller
[mirror_edk2.git] / ArmPlatformPkg / ArmRealViewEbPkg / ArmRealViewEb-RTSM-MPCore.fdf
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]
30 BaseAddress = 0x40000000 # The base address of the FLASH Device.
31 Size = 0x00200000 # The size in bytes of the FLASH Device
32 ErasePolarity = 1
33 BlockSize = 0x00010000
34 NumBlocks = 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
52 0x00000000|0x00050000
53 gEmbeddedTokenSpaceGuid.PcdFlashFvSecBase|gEmbeddedTokenSpaceGuid.PcdFlashFvSecSize
54 FV = FVMAIN_SEC
55
56 0x00050000|0x00100000
57 gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase|gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize
58 FV = FVMAIN_COMPACT
59
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]
72 FvAlignment = 8
73 ERASE_POLARITY = 1
74 MEMORY_MAPPED = TRUE
75 STICKY_WRITE = TRUE
76 LOCK_CAP = TRUE
77 LOCK_STATUS = TRUE
78 WRITE_DISABLED_CAP = TRUE
79 WRITE_ENABLED_CAP = TRUE
80 WRITE_STATUS = TRUE
81 WRITE_LOCK_CAP = TRUE
82 WRITE_LOCK_STATUS = TRUE
83 READ_DISABLED_CAP = TRUE
84 READ_ENABLED_CAP = TRUE
85 READ_STATUS = TRUE
86 READ_LOCK_CAP = TRUE
87 READ_LOCK_STATUS = TRUE
88
89 INF ArmPlatformPkg/Sec/Sec.inf
90
91
92 [FV.FvMain]
93 BlockSize = 0x40
94 NumBlocks = 0 # This FV gets compressed so make it just big enough
95 FvAlignment = 8 # FV alignment and FV attributes setting.
96 ERASE_POLARITY = 1
97 MEMORY_MAPPED = TRUE
98 STICKY_WRITE = TRUE
99 LOCK_CAP = TRUE
100 LOCK_STATUS = TRUE
101 WRITE_DISABLED_CAP = TRUE
102 WRITE_ENABLED_CAP = TRUE
103 WRITE_STATUS = TRUE
104 WRITE_LOCK_CAP = TRUE
105 WRITE_LOCK_STATUS = TRUE
106 READ_DISABLED_CAP = TRUE
107 READ_ENABLED_CAP = TRUE
108 READ_STATUS = TRUE
109 READ_LOCK_CAP = TRUE
110 READ_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
122 INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
123 INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
124 INF EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
125 INF EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
126 INF EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
127 INF EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
128
129 INF ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf
130
131 INF EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf
132
133 INF ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf
134 INF ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf
135
136 INF ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf
137
138 #
139 # Semi-hosting filesystem
140 #
141 INF ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
142
143 #
144 # FAT filesystem + GPT/MBR partitioning
145 #
146 INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
147 INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
148 INF FatPkg/EnhancedFatDxe/Fat.inf
149 INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
150
151 #
152 # UEFI application (Shell Embedded Boot Loader)
153 #
154 INF EmbeddedPkg/Ebl/Ebl.inf
155
156
157 #
158 # Bds
159 #
160 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
161 INF ArmPlatformPkg/Bds/Bds.inf
162
163
164 [FV.FVMAIN_COMPACT]
165 FvAlignment = 8
166 ERASE_POLARITY = 1
167 MEMORY_MAPPED = TRUE
168 STICKY_WRITE = TRUE
169 LOCK_CAP = TRUE
170 LOCK_STATUS = TRUE
171 WRITE_DISABLED_CAP = TRUE
172 WRITE_ENABLED_CAP = TRUE
173 WRITE_STATUS = TRUE
174 WRITE_LOCK_CAP = TRUE
175 WRITE_LOCK_STATUS = TRUE
176 READ_DISABLED_CAP = TRUE
177 READ_ENABLED_CAP = TRUE
178 READ_STATUS = TRUE
179 READ_LOCK_CAP = TRUE
180 READ_LOCK_STATUS = TRUE
181
182 INF ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf
183 INF MdeModulePkg/Core/Pei/PeiMain.inf
184 INF ArmPlatformPkg/PlatformPei/PlatformPei.inf
185 INF ArmPlatformPkg/MemoryInitPei/MemoryInitPei.inf
186 INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
187 INF IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
188 INF MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
189 INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
190
191 FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
192 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
193 SECTION FV_IMAGE = FVMAIN
194 }
195 }
196
197
198 ################################################################################
199 #
200 # Rules are use with the [FV] section's module INF type to define
201 # how an FFS file is created for a given INF file. The following Rule are the default
202 # rules for the different module type. User can add the customized rules to define the
203 # content of the FFS file.
204 #
205 ################################################################################
206
207
208 ############################################################################
209 # Example of a DXE_DRIVER FFS file with a Checksum encapsulation section #
210 ############################################################################
211 #
212 #[Rule.Common.DXE_DRIVER]
213 # FILE DRIVER = $(NAMED_GUID) {
214 # DXE_DEPEX DXE_DEPEX Optional |.depex
215 # COMPRESS PI_STD {
216 # GUIDED {
217 # PE32 PE32 |.efi
218 # UI STRING="$(MODULE_NAME)" Optional
219 # VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
220 # }
221 # }
222 # }
223 #
224 ############################################################################
225
226 [Rule.Common.SEC]
227 FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED {
228 TE TE Align = 32 |.efi
229 }
230
231 [Rule.Common.PEI_CORE]
232 FILE PEI_CORE = $(NAMED_GUID) {
233 TE TE |.efi
234 UI STRING ="$(MODULE_NAME)" Optional
235 }
236
237 [Rule.Common.PEIM]
238 FILE PEIM = $(NAMED_GUID) {
239 PEI_DEPEX PEI_DEPEX Optional |.depex
240 TE TE |.efi
241 UI STRING="$(MODULE_NAME)" Optional
242 }
243
244 [Rule.Common.PEIM.TIANOCOMPRESSED]
245 FILE PEIM = $(NAMED_GUID) DEBUG_MYTOOLS_IA32 {
246 PEI_DEPEX PEI_DEPEX Optional |.depex
247 GUIDED A31280AD-481E-41B6-95E8-127F4C984779 PROCESSING_REQUIRED = TRUE {
248 PE32 PE32 |.efi
249 UI STRING="$(MODULE_NAME)" Optional
250 }
251 }
252
253 [Rule.Common.DXE_CORE]
254 FILE DXE_CORE = $(NAMED_GUID) {
255 PE32 PE32 |.efi
256 UI STRING="$(MODULE_NAME)" Optional
257 }
258
259 [Rule.Common.UEFI_DRIVER]
260 FILE DRIVER = $(NAMED_GUID) {
261 DXE_DEPEX DXE_DEPEX Optional |.depex
262 PE32 PE32 |.efi
263 UI STRING="$(MODULE_NAME)" Optional
264 }
265
266 [Rule.Common.DXE_DRIVER]
267 FILE DRIVER = $(NAMED_GUID) {
268 DXE_DEPEX DXE_DEPEX Optional |.depex
269 PE32 PE32 |.efi
270 UI STRING="$(MODULE_NAME)" Optional
271 }
272
273 [Rule.Common.DXE_RUNTIME_DRIVER]
274 FILE DRIVER = $(NAMED_GUID) {
275 DXE_DEPEX DXE_DEPEX Optional |.depex
276 PE32 PE32 |.efi
277 UI STRING="$(MODULE_NAME)" Optional
278 }
279
280 [Rule.Common.UEFI_APPLICATION]
281 FILE APPLICATION = $(NAMED_GUID) {
282 UI STRING ="$(MODULE_NAME)" Optional
283 PE32 PE32 |.efi
284 }