]> git.proxmox.com Git - mirror_edk2.git/blame - BeagleBoardPkg/BeagleBoardPkg.fdf
Add Socket Library applications.
[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################################################################################
63cea7c1 52!if $(EDK2_SECOND_STAGE_BOOTOLADER) == 1
530x00000000|0x00080000
54!else
2ef2b01e
A
55# 512 bytes of configuration header & 8 bytes of image header
560x00000000|0x00000208
57
785e5977 580x00000208|0x0007FDF8
63cea7c1 59!endif
2ef2b01e
A
60gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase|gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize
61FV = FVMAIN_COMPACT
62
63################################################################################
64#
65# FV Section
66#
67# [FV] section is used to define what components or modules are placed within a flash
68# device file. This section also defines order the components and modules are positioned
69# within the image. The [FV] section consists of define statements, set statements and
70# module statements.
71#
72################################################################################
73
74[FV.FvMain]
785e5977 75BlockSize = 0x1
8c3f387b 76NumBlocks = 0 # This FV gets compressed so make it just big enough
77FvAlignment = 8 # FV alignment and FV attributes setting.
2ef2b01e
A
78ERASE_POLARITY = 1
79MEMORY_MAPPED = TRUE
80STICKY_WRITE = TRUE
81LOCK_CAP = TRUE
82LOCK_STATUS = TRUE
83WRITE_DISABLED_CAP = TRUE
84WRITE_ENABLED_CAP = TRUE
85WRITE_STATUS = TRUE
86WRITE_LOCK_CAP = TRUE
87WRITE_LOCK_STATUS = TRUE
88READ_DISABLED_CAP = TRUE
89READ_ENABLED_CAP = TRUE
90READ_STATUS = TRUE
91READ_LOCK_CAP = TRUE
92READ_LOCK_STATUS = TRUE
93
8c3f387b 94 INF MdeModulePkg/Core/Dxe/DxeMain.inf
95
2ef2b01e
A
96 #
97 # PI DXE Drivers producing Architectural Protocols (EFI Services)
98 #
99 INF ArmPkg/Drivers/CpuDxe/CpuDxe.inf
100
101 INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
102 INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
103 INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
104 INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
105 INF MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
106 INF EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
107
108 INF EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf
109
110 INF EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
111 INF EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
47d5cc90 112 INF EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
2ef2b01e
A
113
114 #
115 # Semi-hosting filesystem
116 #
117 INF ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
118
119 #
120 # Nand Flash
121 #
cb0f9ff1 122 INF Omap35xxPkg/Flash/Flash.inf
2ef2b01e
A
123
124 #
125 # MMC/SD
126 #
cb0f9ff1 127 INF Omap35xxPkg/MMCHSDxe/MMCHS.inf
2ef2b01e
A
128
129 #
130 # I2C
131 #
cb0f9ff1 132 INF Omap35xxPkg/SmbusDxe/Smbus.inf
2ef2b01e
A
133
134 #
135 # SoC Drivers
136 #
cb0f9ff1 137 INF Omap35xxPkg/Gpio/Gpio.inf
138 INF Omap35xxPkg/InterruptDxe/InterruptDxe.inf
139 INF Omap35xxPkg/TimerDxe/TimerDxe.inf
2ef2b01e
A
140
141 #
142 # Power IC
143 #
cb0f9ff1 144 INF Omap35xxPkg/TPS65950Dxe/TPS65950.inf
2ef2b01e
A
145
146 #
147 # FAT filesystem + GPT/MBR partitioning
148 #
149 INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
150 INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
151 INF FatPkg/EnhancedFatDxe/Fat.inf
152 INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
153
154 #
155 # USB Support
156 #
157
cb0f9ff1 158 INF Omap35xxPkg/PciEmulation/PciEmulation.inf
2ef2b01e
A
159
160 #NOTE: Open source EHCI stack doesn't work on Beagleboard.
161 #NOTE: UsbBus and UsbMassStorage don't work using iPhond SDK tool chain.
9e04898b 162 INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
163 INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
164 INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
2ef2b01e
A
165
166 #
167 # UEFI application (Shell Embedded Boot Loader)
168 #
169 INF EmbeddedPkg/Ebl/Ebl.inf
2ef2b01e
A
170
171 #
172 # Bds
173 #
60884a0a 174 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
175 INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
176 INF ArmPlatformPkg/Bds/Bds.inf
2ef2b01e 177
2ef2b01e
A
178
179
180[FV.FVMAIN_COMPACT]
181FvAlignment = 8
182ERASE_POLARITY = 1
183MEMORY_MAPPED = TRUE
184STICKY_WRITE = TRUE
185LOCK_CAP = TRUE
186LOCK_STATUS = TRUE
187WRITE_DISABLED_CAP = TRUE
188WRITE_ENABLED_CAP = TRUE
189WRITE_STATUS = TRUE
190WRITE_LOCK_CAP = TRUE
191WRITE_LOCK_STATUS = TRUE
192READ_DISABLED_CAP = TRUE
193READ_ENABLED_CAP = TRUE
194READ_STATUS = TRUE
195READ_LOCK_CAP = TRUE
196READ_LOCK_STATUS = TRUE
197
198 INF BeagleBoardPkg/Sec/Sec.inf
2ef2b01e
A
199
200 FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
201 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
202 SECTION FV_IMAGE = FVMAIN
203 }
204 }
205
206
207################################################################################
208#
209# Rules are use with the [FV] section's module INF type to define
210# how an FFS file is created for a given INF file. The following Rule are the default
211# rules for the different module type. User can add the customized rules to define the
212# content of the FFS file.
213#
214################################################################################
215
216
217############################################################################
218# Example of a DXE_DRIVER FFS file with a Checksum encapsulation section #
219############################################################################
220#
221#[Rule.Common.DXE_DRIVER]
222# FILE DRIVER = $(NAMED_GUID) {
223# DXE_DEPEX DXE_DEPEX Optional |.depex
224# COMPRESS PI_STD {
225# GUIDED {
226# PE32 PE32 |.efi
227# UI STRING="$(MODULE_NAME)" Optional
228# VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
229# }
230# }
231# }
232#
233############################################################################
234
235[Rule.Common.SEC]
236 FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED {
237 TE TE Align = 8 |.efi
238 }
239
240[Rule.Common.PEI_CORE]
241 FILE PEI_CORE = $(NAMED_GUID) {
242 TE TE |.efi
243 UI STRING ="$(MODULE_NAME)" Optional
244 }
245
246[Rule.Common.PEIM]
247 FILE PEIM = $(NAMED_GUID) {
248 PEI_DEPEX PEI_DEPEX Optional |.depex
249 PE32 PE32 |.efi
250 UI STRING="$(MODULE_NAME)" Optional
251 }
252
253[Rule.Common.PEIM.TIANOCOMPRESSED]
254 FILE PEIM = $(NAMED_GUID) DEBUG_MYTOOLS_IA32 {
255 PEI_DEPEX PEI_DEPEX Optional |.depex
256 GUIDED A31280AD-481E-41B6-95E8-127F4C984779 PROCESSING_REQUIRED = TRUE {
257 PE32 PE32 |.efi
258 UI STRING="$(MODULE_NAME)" Optional
259 }
260 }
261
262[Rule.Common.DXE_CORE]
263 FILE DXE_CORE = $(NAMED_GUID) {
8c3f387b 264 PE32 PE32 |.efi
265 UI STRING="$(MODULE_NAME)" Optional
2ef2b01e
A
266 }
267
268
269[Rule.Common.UEFI_DRIVER]
270 FILE DRIVER = $(NAMED_GUID) {
271 DXE_DEPEX DXE_DEPEX Optional |.depex
272 PE32 PE32 |.efi
273 UI STRING="$(MODULE_NAME)" Optional
274 }
275
276[Rule.Common.DXE_DRIVER]
277 FILE DRIVER = $(NAMED_GUID) {
278 DXE_DEPEX DXE_DEPEX Optional |.depex
279 PE32 PE32 |.efi
280 UI STRING="$(MODULE_NAME)" Optional
281 }
282
283[Rule.Common.DXE_RUNTIME_DRIVER]
284 FILE DRIVER = $(NAMED_GUID) {
285 DXE_DEPEX DXE_DEPEX Optional |.depex
286 PE32 PE32 |.efi
287 UI STRING="$(MODULE_NAME)" Optional
288 }
289
290
291[Rule.Common.UEFI_APPLICATION]
292 FILE APPLICATION = $(NAMED_GUID) {
293 UI STRING ="$(MODULE_NAME)" Optional
294 PE32 PE32 |.efi
295 }