1 # FLASH layout file for Beagle board.
3 # Copyright (c) 2009, Apple Inc. All rights reserved.<BR>
4 # Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.<BR>
5 # Copyright (c) 2016, Linaro, Ltd. All rights reserved.<BR>
7 # This program and the accompanying materials
8 # are licensed and made available under the terms and conditions of the BSD License
9 # which accompanies this distribution. The full text of the license may be found at
10 # http://opensource.org/licenses/bsd-license.php
12 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 ################################################################################
19 # The [FD] Section is made up of the definition statements and a
20 # description of what goes into the Flash Device Image. Each FD section
21 # defines one flash "device" image. A flash device image may be one of
22 # the following: Removable media bootable image (like a boot floppy
23 # image,) an Option ROM image (that would be "flashed" into an add-in
24 # card,) a System "Flash" image (that would be burned into a system's
25 # flash) or an Update ("Capsule") image that will be used to update and
26 # existing system flash.
28 ################################################################################
32 BaseAddress = 0x80007DF8|gArmTokenSpaceGuid.PcdFdBaseAddress #The base address of the FLASH Device.
33 Size = 0x000B0000|gArmTokenSpaceGuid.PcdFdSize #The size in bytes of the FLASH Device
38 ################################################################################
40 # Following are lists of FD Region layout which correspond to the locations of different
41 # images within the flash device.
43 # Regions must be defined in ascending order and may not overlap.
45 # A Layout Region start with a eight digit hex offset (leading "0x" required) followed by
46 # the pipe "|" character, followed by the size of the region, also in hex with the leading
47 # "0x" characters. Like:
49 # PcdOffsetCName|PcdSizeCName
50 # RegionType <FV, DATA, or FILE>
52 ################################################################################
54 FILE = BeagleBoardPkg/ConfigurationHeader.bin
58 0xF8, 0xFD, 0x0A, 0x00, # image size: 0xB0000 - 0x208 == 0xAFDF8
59 0x00, 0x80, 0x00, 0x80 # entry point: 0x80008000
63 gArmTokenSpaceGuid.PcdFvBaseAddress|gArmTokenSpaceGuid.PcdFvSize
66 ################################################################################
70 # [FV] section is used to define what components or modules are placed within a flash
71 # device file. This section also defines order the components and modules are positioned
72 # within the image. The [FV] section consists of define statements, set statements and
75 ################################################################################
79 NumBlocks = 0 # This FV gets compressed so make it just big enough
80 FvAlignment = 8 # FV alignment and FV attributes setting.
86 WRITE_DISABLED_CAP = TRUE
87 WRITE_ENABLED_CAP = TRUE
90 WRITE_LOCK_STATUS = TRUE
91 READ_DISABLED_CAP = TRUE
92 READ_ENABLED_CAP = TRUE
95 READ_LOCK_STATUS = TRUE
96 FvNameGuid = d0dd3e90-343d-4cb3-8f69-772214989282
98 INF MdeModulePkg/Core/Dxe/DxeMain.inf
101 # PI DXE Drivers producing Architectural Protocols (EFI Services)
103 INF ArmPkg/Drivers/CpuDxe/CpuDxe.inf
105 INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
106 INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
107 INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
108 INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
109 INF MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
110 INF EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
112 INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
113 INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
114 INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
115 INF MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
116 INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
118 INF MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
119 INF EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
120 INF EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
122 !if $(TARGET) == RELEASE
124 # Semi-hosting filesystem
126 INF ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
132 INF Omap35xxPkg/Flash/Flash.inf
137 INF EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
138 INF Omap35xxPkg/MmcHostDxe/MmcHostDxe.inf
143 INF Omap35xxPkg/SmbusDxe/Smbus.inf
148 INF Omap35xxPkg/Gpio/Gpio.inf
149 INF Omap35xxPkg/InterruptDxe/InterruptDxe.inf
150 INF Omap35xxPkg/TimerDxe/TimerDxe.inf
151 INF Omap35xxPkg/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.inf
156 INF Omap35xxPkg/TPS65950Dxe/TPS65950.inf
159 # FAT filesystem + GPT/MBR partitioning
161 INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
162 INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
163 INF FatPkg/EnhancedFatDxe/Fat.inf
164 INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
170 INF Omap35xxPkg/PciEmulation/PciEmulation.inf
171 INF MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceDxe.inf
173 INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
174 INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
175 INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
178 # UEFI application (Shell Embedded Boot Loader)
180 INF ShellPkg/Application/Shell/Shell.inf
181 INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
186 INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
187 INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
188 INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
189 INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
190 INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
191 INF MdeModulePkg/Application/UiApp/UiApp.inf
201 WRITE_DISABLED_CAP = TRUE
202 WRITE_ENABLED_CAP = TRUE
204 WRITE_LOCK_CAP = TRUE
205 WRITE_LOCK_STATUS = TRUE
206 READ_DISABLED_CAP = TRUE
207 READ_ENABLED_CAP = TRUE
210 READ_LOCK_STATUS = TRUE
212 INF BeagleBoardPkg/PrePi/PeiUniCore.inf
214 FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
215 SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
216 SECTION FV_IMAGE = FVMAIN
221 ################################################################################
223 # Rules are use with the [FV] section's module INF type to define
224 # how an FFS file is created for a given INF file. The following Rule are the default
225 # rules for the different module type. User can add the customized rules to define the
226 # content of the FFS file.
228 ################################################################################
231 ############################################################################
232 # Example of a DXE_DRIVER FFS file with a Checksum encapsulation section #
233 ############################################################################
235 #[Rule.Common.DXE_DRIVER]
236 # FILE DRIVER = $(NAMED_GUID) {
237 # DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
240 # PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
241 # UI STRING="$(MODULE_NAME)" Optional
242 # VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
247 ############################################################################
250 FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED {
251 TE TE Align = 32 $(INF_OUTPUT)/$(MODULE_NAME).efi
254 [Rule.Common.PEI_CORE]
255 FILE PEI_CORE = $(NAMED_GUID) {
256 TE TE $(INF_OUTPUT)/$(MODULE_NAME).efi
257 UI STRING ="$(MODULE_NAME)" Optional
261 FILE PEIM = $(NAMED_GUID) {
262 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
263 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
264 UI STRING="$(MODULE_NAME)" Optional
267 [Rule.Common.PEIM.TIANOCOMPRESSED]
268 FILE PEIM = $(NAMED_GUID) DEBUG_MYTOOLS_IA32 {
269 PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
270 GUIDED A31280AD-481E-41B6-95E8-127F4C984779 PROCESSING_REQUIRED = TRUE {
271 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
272 UI STRING="$(MODULE_NAME)" Optional
276 [Rule.Common.DXE_CORE]
277 FILE DXE_CORE = $(NAMED_GUID) {
278 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
279 UI STRING="$(MODULE_NAME)" Optional
283 [Rule.Common.UEFI_DRIVER]
284 FILE DRIVER = $(NAMED_GUID) {
285 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
286 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
287 UI STRING="$(MODULE_NAME)" Optional
290 [Rule.Common.DXE_DRIVER]
291 FILE DRIVER = $(NAMED_GUID) {
292 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
293 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
294 UI STRING="$(MODULE_NAME)" Optional
297 [Rule.Common.DXE_RUNTIME_DRIVER]
298 FILE DRIVER = $(NAMED_GUID) {
299 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
300 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
301 UI STRING="$(MODULE_NAME)" Optional
304 [Rule.Common.UEFI_APPLICATION]
305 FILE APPLICATION = $(NAMED_GUID) {
306 UI STRING ="$(MODULE_NAME)" Optional
307 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
310 [Rule.Common.UEFI_DRIVER.BINARY]
311 FILE DRIVER = $(NAMED_GUID) {
312 DXE_DEPEX DXE_DEPEX Optional |.depex
314 UI STRING="$(MODULE_NAME)" Optional
315 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
318 [Rule.Common.UEFI_APPLICATION.BINARY]
319 FILE APPLICATION = $(NAMED_GUID) {
321 UI STRING="$(MODULE_NAME)" Optional
322 VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)