]> git.proxmox.com Git - mirror_edk2.git/blame - BeagleBoardPkg/BeagleBoardPkg.fdf
Remove bad comment
[mirror_edk2.git] / BeagleBoardPkg / BeagleBoardPkg.fdf
CommitLineData
2ef2b01e
A
1# FLASH layout file for Beagle board.
2#
3# Copyright (c) 2009, Apple Inc. All rights reserved.
4#
5# All rights reserved. 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.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
34BlockSize = 0x40
35NumBlocks = 0x2000
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
560x00000208|0x0007FDF8
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]
72BlockSize = 0x40
73NumBlocks = 0x9000
74FvAlignment = 8 #FV alignment and FV attributes setting.
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
91 #
92 # PI DXE Drivers producing Architectural Protocols (EFI Services)
93 #
94 INF ArmPkg/Drivers/CpuDxe/CpuDxe.inf
95
96 INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
97 INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
98 INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
99 INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
100 INF MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
101 INF EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
102
103 INF EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf
104
105 INF EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
106 INF EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
107 INF EmbeddedPkg/TemplateMetronomeDxe/TemplateMetronomeDxe.inf
108
109 #
110 # Semi-hosting filesystem
111 #
112 INF ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
113
114 #
115 # Nand Flash
116 #
117 INF BeagleBoardPkg/Flash/Flash.inf
118
119 #
120 # MMC/SD
121 #
122 INF BeagleBoardPkg/MMCHSDxe/MMCHS.inf
123
124 #
125 # I2C
126 #
127 INF BeagleBoardPkg/SmbusDxe/Smbus.inf
128
129 #
130 # SoC Drivers
131 #
132 INF BeagleBoardPkg/Gpio/Gpio.inf
133 INF BeagleBoardPkg/InterruptDxe/InterruptDxe.inf
134 INF BeagleBoardPkg/TimerDxe/TimerDxe.inf
135
136 #
137 # Power IC
138 #
139 INF BeagleBoardPkg/TPS65950Dxe/TPS65950.inf
140
141 #
142 # FAT filesystem + GPT/MBR partitioning
143 #
144 INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
145 INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
146 INF FatPkg/EnhancedFatDxe/Fat.inf
147 INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
148
149 #
150 # USB Support
151 #
152
153 INF BeagleBoardPkg/PciEmulation/PciEmulation.inf
154
155 #NOTE: Open source EHCI stack doesn't work on Beagleboard.
156 #NOTE: UsbBus and UsbMassStorage don't work using iPhond SDK tool chain.
157 INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
158 INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
159 INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
160
161 #
162 # UEFI application (Shell Embedded Boot Loader)
163 #
164 INF EmbeddedPkg/Ebl/Ebl.inf
165
166
167 #
168 # Bds
169 #
170 INF BeagleBoardPkg/Bds/Bds.inf
171
172 #
173 # Gdb Stub
174 #
175 #INF ArmPkg/Drivers/DebugSupportDxe/DebugSupportDxe.inf
2ef2b01e
A
176
177
178[FV.FVMAIN_COMPACT]
179FvAlignment = 8
180ERASE_POLARITY = 1
181MEMORY_MAPPED = TRUE
182STICKY_WRITE = TRUE
183LOCK_CAP = TRUE
184LOCK_STATUS = TRUE
185WRITE_DISABLED_CAP = TRUE
186WRITE_ENABLED_CAP = TRUE
187WRITE_STATUS = TRUE
188WRITE_LOCK_CAP = TRUE
189WRITE_LOCK_STATUS = TRUE
190READ_DISABLED_CAP = TRUE
191READ_ENABLED_CAP = TRUE
192READ_STATUS = TRUE
193READ_LOCK_CAP = TRUE
194READ_LOCK_STATUS = TRUE
195
196 INF BeagleBoardPkg/Sec/Sec.inf
197 INF MdeModulePkg/Core/Dxe/DxeMain.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 {
236 TE TE Align = 8 |.efi
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 PE32 PE32 |.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 GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
264 PE32 PE32 |.efi
265 UI STRING="$(MODULE_NAME)" Optional
266 }
267 }
268
269
270[Rule.Common.UEFI_DRIVER]
271 FILE DRIVER = $(NAMED_GUID) {
272 DXE_DEPEX DXE_DEPEX Optional |.depex
273 PE32 PE32 |.efi
274 UI STRING="$(MODULE_NAME)" Optional
275 }
276
277[Rule.Common.DXE_DRIVER]
278 FILE DRIVER = $(NAMED_GUID) {
279 DXE_DEPEX DXE_DEPEX Optional |.depex
280 PE32 PE32 |.efi
281 UI STRING="$(MODULE_NAME)" Optional
282 }
283
284[Rule.Common.DXE_RUNTIME_DRIVER]
285 FILE DRIVER = $(NAMED_GUID) {
286 DXE_DEPEX DXE_DEPEX Optional |.depex
287 PE32 PE32 |.efi
288 UI STRING="$(MODULE_NAME)" Optional
289 }
290
291
292[Rule.Common.UEFI_APPLICATION]
293 FILE APPLICATION = $(NAMED_GUID) {
294 UI STRING ="$(MODULE_NAME)" Optional
295 PE32 PE32 |.efi
296 }