]> git.proxmox.com Git - mirror_edk2.git/blame - BeagleBoardPkg/BeagleBoardPkg.fdf
ArmPlatformPkg/Documentation: Update ArmPLatformPkg documentation with PCD descriptio...
[mirror_edk2.git] / BeagleBoardPkg / BeagleBoardPkg.fdf
CommitLineData
2ef2b01e
A
1# FLASH layout file for Beagle board.
2#
1ebd6c11 3# Copyright (c) 2009, Apple Inc. All rights reserved.<BR>
2ef2b01e 4#
1ebd6c11 5# This program and the accompanying materials
2ef2b01e
A
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.BeagleBoard_EFI]
05d612fd 30####BaseAddress = 0x80208000|gEmbeddedTokenSpaceGuid.PcdEmbeddedFdBaseAddress #The base address of the FLASH Device.
2ef2b01e
A
31BaseAddress = 0x80008000|gEmbeddedTokenSpaceGuid.PcdEmbeddedFdBaseAddress #The base address of the FLASH Device.
32Size = 0x00080000|gEmbeddedTokenSpaceGuid.PcdEmbeddedFdSize #The size in bytes of the FLASH Device
33ErasePolarity = 1
785e5977 34BlockSize = 0x1
35NumBlocks = 0x80000
2ef2b01e
A
36
37################################################################################
38#
39# Following are lists of FD Region layout which correspond to the locations of different
40# images within the flash device.
41#
42# Regions must be defined in ascending order and may not overlap.
43#
44# A Layout Region start with a eight digit hex offset (leading "0x" required) followed by
45# the pipe "|" character, followed by the size of the region, also in hex with the leading
46# "0x" characters. Like:
47# Offset|Size
48# PcdOffsetCName|PcdSizeCName
49# RegionType <FV, DATA, or FILE>
50#
51################################################################################
52
53# 512 bytes of configuration header & 8 bytes of image header
540x00000000|0x00000208
55
785e5977 560x00000208|0x0007FDF8
2ef2b01e
A
57gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase|gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize
58FV = 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]
785e5977 72BlockSize = 0x1
8c3f387b 73NumBlocks = 0 # This FV gets compressed so make it just big enough
74FvAlignment = 8 # FV alignment and FV attributes setting.
2ef2b01e
A
75ERASE_POLARITY = 1
76MEMORY_MAPPED = TRUE
77STICKY_WRITE = TRUE
78LOCK_CAP = TRUE
79LOCK_STATUS = TRUE
80WRITE_DISABLED_CAP = TRUE
81WRITE_ENABLED_CAP = TRUE
82WRITE_STATUS = TRUE
83WRITE_LOCK_CAP = TRUE
84WRITE_LOCK_STATUS = TRUE
85READ_DISABLED_CAP = TRUE
86READ_ENABLED_CAP = TRUE
87READ_STATUS = TRUE
88READ_LOCK_CAP = TRUE
89READ_LOCK_STATUS = TRUE
90
8c3f387b 91 INF MdeModulePkg/Core/Dxe/DxeMain.inf
92
2ef2b01e
A
93 #
94 # PI DXE Drivers producing Architectural Protocols (EFI Services)
95 #
96 INF ArmPkg/Drivers/CpuDxe/CpuDxe.inf
97
98 INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
99 INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
100 INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
101 INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
102 INF MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
103 INF EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
104
105 INF EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf
106
107 INF EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
108 INF EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
47d5cc90 109 INF EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
2ef2b01e
A
110
111 #
112 # Semi-hosting filesystem
113 #
114 INF ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
115
116 #
117 # Nand Flash
118 #
cb0f9ff1 119 INF Omap35xxPkg/Flash/Flash.inf
2ef2b01e
A
120
121 #
122 # MMC/SD
123 #
cb0f9ff1 124 INF Omap35xxPkg/MMCHSDxe/MMCHS.inf
2ef2b01e
A
125
126 #
127 # I2C
128 #
cb0f9ff1 129 INF Omap35xxPkg/SmbusDxe/Smbus.inf
2ef2b01e
A
130
131 #
132 # SoC Drivers
133 #
cb0f9ff1 134 INF Omap35xxPkg/Gpio/Gpio.inf
135 INF Omap35xxPkg/InterruptDxe/InterruptDxe.inf
136 INF Omap35xxPkg/TimerDxe/TimerDxe.inf
2ef2b01e
A
137
138 #
139 # Power IC
140 #
cb0f9ff1 141 INF Omap35xxPkg/TPS65950Dxe/TPS65950.inf
2ef2b01e
A
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 # USB Support
153 #
154
cb0f9ff1 155 INF Omap35xxPkg/PciEmulation/PciEmulation.inf
2ef2b01e
A
156
157 #NOTE: Open source EHCI stack doesn't work on Beagleboard.
158 #NOTE: UsbBus and UsbMassStorage don't work using iPhond SDK tool chain.
9e04898b 159 INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
160 INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
161 INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
2ef2b01e
A
162
163 #
164 # UEFI application (Shell Embedded Boot Loader)
165 #
166 INF EmbeddedPkg/Ebl/Ebl.inf
2ef2b01e
A
167
168 #
169 # Bds
170 #
60884a0a 171 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
172 INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
173 INF ArmPlatformPkg/Bds/Bds.inf
2ef2b01e 174
2ef2b01e
A
175
176
177[FV.FVMAIN_COMPACT]
178FvAlignment = 8
179ERASE_POLARITY = 1
180MEMORY_MAPPED = TRUE
181STICKY_WRITE = TRUE
182LOCK_CAP = TRUE
183LOCK_STATUS = TRUE
184WRITE_DISABLED_CAP = TRUE
185WRITE_ENABLED_CAP = TRUE
186WRITE_STATUS = TRUE
187WRITE_LOCK_CAP = TRUE
188WRITE_LOCK_STATUS = TRUE
189READ_DISABLED_CAP = TRUE
190READ_ENABLED_CAP = TRUE
191READ_STATUS = TRUE
192READ_LOCK_CAP = TRUE
193READ_LOCK_STATUS = TRUE
194
195 INF BeagleBoardPkg/Sec/Sec.inf
2ef2b01e
A
196
197 FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
198 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
199 SECTION FV_IMAGE = FVMAIN
200 }
201 }
202
203
204################################################################################
205#
206# Rules are use with the [FV] section's module INF type to define
207# how an FFS file is created for a given INF file. The following Rule are the default
208# rules for the different module type. User can add the customized rules to define the
209# content of the FFS file.
210#
211################################################################################
212
213
214############################################################################
215# Example of a DXE_DRIVER FFS file with a Checksum encapsulation section #
216############################################################################
217#
218#[Rule.Common.DXE_DRIVER]
219# FILE DRIVER = $(NAMED_GUID) {
220# DXE_DEPEX DXE_DEPEX Optional |.depex
221# COMPRESS PI_STD {
222# GUIDED {
223# PE32 PE32 |.efi
224# UI STRING="$(MODULE_NAME)" Optional
225# VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
226# }
227# }
228# }
229#
230############################################################################
231
232[Rule.Common.SEC]
233 FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED {
234 TE TE Align = 8 |.efi
235 }
236
237[Rule.Common.PEI_CORE]
238 FILE PEI_CORE = $(NAMED_GUID) {
239 TE TE |.efi
240 UI STRING ="$(MODULE_NAME)" Optional
241 }
242
243[Rule.Common.PEIM]
244 FILE PEIM = $(NAMED_GUID) {
245 PEI_DEPEX PEI_DEPEX Optional |.depex
246 PE32 PE32 |.efi
247 UI STRING="$(MODULE_NAME)" Optional
248 }
249
250[Rule.Common.PEIM.TIANOCOMPRESSED]
251 FILE PEIM = $(NAMED_GUID) DEBUG_MYTOOLS_IA32 {
252 PEI_DEPEX PEI_DEPEX Optional |.depex
253 GUIDED A31280AD-481E-41B6-95E8-127F4C984779 PROCESSING_REQUIRED = TRUE {
254 PE32 PE32 |.efi
255 UI STRING="$(MODULE_NAME)" Optional
256 }
257 }
258
259[Rule.Common.DXE_CORE]
260 FILE DXE_CORE = $(NAMED_GUID) {
8c3f387b 261 PE32 PE32 |.efi
262 UI STRING="$(MODULE_NAME)" Optional
2ef2b01e
A
263 }
264
265
266[Rule.Common.UEFI_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_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.DXE_RUNTIME_DRIVER]
281 FILE DRIVER = $(NAMED_GUID) {
282 DXE_DEPEX DXE_DEPEX Optional |.depex
283 PE32 PE32 |.efi
284 UI STRING="$(MODULE_NAME)" Optional
285 }
286
287
288[Rule.Common.UEFI_APPLICATION]
289 FILE APPLICATION = $(NAMED_GUID) {
290 UI STRING ="$(MODULE_NAME)" Optional
291 PE32 PE32 |.efi
292 }