ArmPlatformPkg/ArmVExpressPkg: HiiDatabaseDxe driver was missing

UefiHiiServicesLib requires an implementation of gEfiHiiDatabaseProtocolGuid.




git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12479 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
oliviermartin 2011-09-29 20:44:16 +00:00
parent 839864b216
commit 66f530edfa
2 changed files with 638 additions and 634 deletions

View File

@ -1,297 +1,299 @@
# #
# Copyright (c) 2011, ARM Limited. All rights reserved. # Copyright (c) 2011, ARM Limited. All rights reserved.
# #
# This program and the accompanying materials # This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License # are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at # which accompanies this distribution. The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php # http://opensource.org/licenses/bsd-license.php
# #
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
# #
# #
################################################################################ ################################################################################
# #
# Defines Section - statements that will be processed to create a Makefile. # Defines Section - statements that will be processed to create a Makefile.
# #
################################################################################ ################################################################################
[Defines] [Defines]
PLATFORM_NAME = ArmVExpressPkg-CTA9x4 PLATFORM_NAME = ArmVExpressPkg-CTA9x4
PLATFORM_GUID = eb2bd5ff-2379-4a06-9c12-db905cdee9ea PLATFORM_GUID = eb2bd5ff-2379-4a06-9c12-db905cdee9ea
PLATFORM_VERSION = 0.1 PLATFORM_VERSION = 0.1
DSC_SPECIFICATION = 0x00010005 DSC_SPECIFICATION = 0x00010005
!ifdef $(EDK2_ARMVE_STANDALONE) !ifdef $(EDK2_ARMVE_STANDALONE)
OUTPUT_DIRECTORY = Build/ArmVExpress-CTA9x4-Standalone OUTPUT_DIRECTORY = Build/ArmVExpress-CTA9x4-Standalone
!else !else
OUTPUT_DIRECTORY = Build/ArmVExpress-CTA9x4 OUTPUT_DIRECTORY = Build/ArmVExpress-CTA9x4
!endif !endif
SUPPORTED_ARCHITECTURES = ARM SUPPORTED_ARCHITECTURES = ARM
BUILD_TARGETS = DEBUG|RELEASE BUILD_TARGETS = DEBUG|RELEASE
SKUID_IDENTIFIER = DEFAULT SKUID_IDENTIFIER = DEFAULT
FLASH_DEFINITION = ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-CTA9x4.fdf FLASH_DEFINITION = ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-CTA9x4.fdf
!include ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc !include ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc
[LibraryClasses.common] [LibraryClasses.common]
ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA9Lib/ArmCortexA9Lib.inf ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA9Lib/ArmCortexA9Lib.inf
ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA9x4/ArmVExpressLib.inf ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA9x4/ArmVExpressLib.inf
ArmTrustZoneLib|ArmPkg/Library/ArmTrustZoneLib/ArmTrustZoneLib.inf ArmTrustZoneLib|ArmPkg/Library/ArmTrustZoneLib/ArmTrustZoneLib.inf
# ARM PL310 L2 Cache Driver # ARM PL310 L2 Cache Driver
L2X0CacheLib|ArmPlatformPkg/Drivers/PL310L2Cache/PL310L2CacheSec.inf L2X0CacheLib|ArmPlatformPkg/Drivers/PL310L2Cache/PL310L2CacheSec.inf
# ARM PL354 SMC Driver # ARM PL354 SMC Driver
PL35xSmcLib|ArmPlatformPkg/Drivers/PL35xSmc/PL35xSmc.inf PL35xSmcLib|ArmPlatformPkg/Drivers/PL35xSmc/PL35xSmc.inf
# ARM PL341 DMC Driver # ARM PL341 DMC Driver
PL341DmcLib|ArmPlatformPkg/Drivers/PL34xDmc/PL341Dmc.inf PL341DmcLib|ArmPlatformPkg/Drivers/PL34xDmc/PL341Dmc.inf
# ARM PL301 Axi Driver # ARM PL301 Axi Driver
PL301AxiLib|ArmPlatformPkg/Drivers/PL301Axi/PL301Axi.inf PL301AxiLib|ArmPlatformPkg/Drivers/PL301Axi/PL301Axi.inf
ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf
NorFlashPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpressLib.inf NorFlashPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpressLib.inf
LcdPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/PL111LcdArmVExpressLib/PL111LcdArmVExpressLib.inf LcdPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/PL111LcdArmVExpressLib/PL111LcdArmVExpressLib.inf
[LibraryClasses.common.SEC] [LibraryClasses.common.SEC]
ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibSec.inf
ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA9x4/ArmVExpressSecLib.inf ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA9x4/ArmVExpressSecLib.inf
# Uncomment to turn on GDB stub in SEC. # Uncomment to turn on GDB stub in SEC.
#DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf #DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf
# ARM PL390 General Interrupt Driver in Secure and Non-secure # ARM PL390 General Interrupt Driver in Secure and Non-secure
ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicSecLib.inf
ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf ArmGicLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
[BuildOptions] [BuildOptions]
RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A9 -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4 RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A9 -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4
GCC:*_*_ARM_PLATFORM_FLAGS == -mcpu=cortex-a9 -mfpu=neon -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4 GCC:*_*_ARM_PLATFORM_FLAGS == -mcpu=cortex-a9 -mfpu=neon -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4
XCODE:*_*_ARM_PLATFORM_FLAGS == -mcpu=cortex-a9 -mfpu=neon -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4 XCODE:*_*_ARM_PLATFORM_FLAGS == -mcpu=cortex-a9 -mfpu=neon -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include -I$(WORKSPACE)/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4
################################################################################ ################################################################################
# #
# Pcd Section - list of all EDK II PCD Entries defined by this Platform # Pcd Section - list of all EDK II PCD Entries defined by this Platform
# #
################################################################################ ################################################################################
[PcdsFeatureFlag.common] [PcdsFeatureFlag.common]
!ifdef $(EDK2_ARMVE_STANDALONE) !ifdef $(EDK2_ARMVE_STANDALONE)
gArmPlatformTokenSpaceGuid.PcdStandalone|TRUE gArmPlatformTokenSpaceGuid.PcdStandalone|TRUE
!else !else
gArmPlatformTokenSpaceGuid.PcdStandalone|FALSE gArmPlatformTokenSpaceGuid.PcdStandalone|FALSE
gArmPlatformTokenSpaceGuid.PcdSystemMemoryInitializeInSec|TRUE gArmPlatformTokenSpaceGuid.PcdSystemMemoryInitializeInSec|TRUE
gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores|TRUE gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores|TRUE
!endif !endif
!ifdef $(EDK2_SKIP_PEICORE) !ifdef $(EDK2_SKIP_PEICORE)
gArmPlatformTokenSpaceGuid.PcdSystemMemoryInitializeInSec|TRUE gArmPlatformTokenSpaceGuid.PcdSystemMemoryInitializeInSec|TRUE
gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores|TRUE gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores|TRUE
!endif !endif
## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe. ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
# It could be set FALSE to save size. # It could be set FALSE to save size.
gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
[PcdsFixedAtBuild.common] [PcdsFixedAtBuild.common]
gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Versatile Express" gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Versatile Express"
gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmVExpress" gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmVExpress"
# #
# NV Storage PCDs. Use base of 0x43FC0000 for NOR0 or 0x47FC0000 for NOR1 on Versatile Express # NV Storage PCDs. Use base of 0x43FC0000 for NOR0 or 0x47FC0000 for NOR1 on Versatile Express
# #
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x47FC0000 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x47FC0000
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x00010000 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x00010000
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x47FD0000 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x47FD0000
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x00010000 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x00010000
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x47FE0000 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x47FE0000
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00010000 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00010000
gArmTokenSpaceGuid.PcdVFPEnabled|1 gArmTokenSpaceGuid.PcdVFPEnabled|1
# Stacks for MPCores in Secure World # Stacks for MPCores in Secure World
gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0x49E00000 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecStackBase|0x49E00000
# Stacks for MPCores in Monitor Mode # Stacks for MPCores in Monitor Mode
gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0x49D00000 gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0x49D00000
# Stacks for MPCores in Normal World # Stacks for MPCores in Normal World
gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x48000000 gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x48000000
# System Memory (1GB) # System Memory (1GB)
gArmTokenSpaceGuid.PcdSystemMemoryBase|0x60000000 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x60000000
gArmTokenSpaceGuid.PcdSystemMemorySize|0x40000000 gArmTokenSpaceGuid.PcdSystemMemorySize|0x40000000
# #
# ARM Pcds # ARM Pcds
# #
gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000
# #
# ARM PrimeCell # ARM PrimeCell
# #
## SP804 Timer ## SP804 Timer
gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|1000000 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|1000000
gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000 # expressed in 100ns units, 100,000 x 100 ns = 10,000,000 ns = 10 ms gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000 # expressed in 100ns units, 100,000 x 100 ns = 10,000,000 ns = 10 ms
gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicInterruptNum|34 gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicInterruptNum|34
gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicBase|0x10011000 gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicBase|0x10011000
gArmPlatformTokenSpaceGuid.PcdSP804TimerPerformanceBase|0x10011020 gArmPlatformTokenSpaceGuid.PcdSP804TimerPerformanceBase|0x10011020
gArmPlatformTokenSpaceGuid.PcdSP804TimerMetronomeBase|0x10012020 gArmPlatformTokenSpaceGuid.PcdSP804TimerMetronomeBase|0x10012020
## SP805 Watchdog - Motherboard Watchdog ## SP805 Watchdog - Motherboard Watchdog
gArmPlatformTokenSpaceGuid.PcdSP805WatchdogBase|0x1000F000 gArmPlatformTokenSpaceGuid.PcdSP805WatchdogBase|0x1000F000
## SP805 Watchdog - CoreTile Watchdog ## SP805 Watchdog - CoreTile Watchdog
#gArmPlatformTokenSpaceGuid.PcdSP805WatchdogBase|0x100E5000 #gArmPlatformTokenSpaceGuid.PcdSP805WatchdogBase|0x100E5000
## PL011 - Serial Terminal ## PL011 - Serial Terminal
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x10009000 gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x10009000
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|38400 gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|38400
## PL031 RealTimeClock ## PL031 RealTimeClock
gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x10017000 gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x10017000
## PL111 Lcd ## PL111 Lcd
# PL111 CoreTile or Tuscan Standalone controller # PL111 CoreTile or Tuscan Standalone controller
gArmPlatformTokenSpaceGuid.PcdPL111LcdBase|0x10020000 gArmPlatformTokenSpaceGuid.PcdPL111LcdBase|0x10020000
# PL111 Versatile Express Motherboard controller # PL111 Versatile Express Motherboard controller
#gArmPlatformTokenSpaceGuid.PcdPL111LcdBase|0x1001F000 #gArmPlatformTokenSpaceGuid.PcdPL111LcdBase|0x1001F000
## PL180 MMC/SD card controller ## PL180 MMC/SD card controller
gArmPlatformTokenSpaceGuid.PcdPL180SysMciRegAddress|0x10000048 gArmPlatformTokenSpaceGuid.PcdPL180SysMciRegAddress|0x10000048
gArmPlatformTokenSpaceGuid.PcdPL180MciBaseAddress|0x10005000 gArmPlatformTokenSpaceGuid.PcdPL180MciBaseAddress|0x10005000
# #
# ARM PL390 General Interrupt Controller # ARM PL390 General Interrupt Controller
# #
gArmTokenSpaceGuid.PcdGicDistributorBase|0x1e001000 gArmTokenSpaceGuid.PcdGicDistributorBase|0x1e001000
gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x1e000100 gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x1e000100
# #
# ARM OS Loader # ARM OS Loader
# #
# Versatile Express machine type (ARM VERSATILE EXPRESS = 2272) required for ARM Linux: # Versatile Express machine type (ARM VERSATILE EXPRESS = 2272) required for ARM Linux:
gArmTokenSpaceGuid.PcdArmMachineType|2272 gArmTokenSpaceGuid.PcdArmMachineType|2272
gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"NorFlash" gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"NorFlash"
gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(1F15DA3C-37FF-4070-B471-BB4AF12A724A)/MemoryMapped(0x0,0x46000000,0x46400000)" gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(1F15DA3C-37FF-4070-B471-BB4AF12A724A)/MemoryMapped(0x0,0x46000000,0x46400000)"
gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|"" gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|""
gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1 gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1
# Use the serial console (ConIn & ConOut) and the Graphic driver (ConOut) # Use the serial console (ConIn & ConOut) and the Graphic driver (ConOut)
gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi();VenHw(407B4008-BF5B-11DF-9547-CF16E0D72085)" gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi();VenHw(407B4008-BF5B-11DF-9547-CF16E0D72085)"
gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi()" gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcAnsi()"
# #
# ARM L2x0 PCDs # ARM L2x0 PCDs
# #
gArmTokenSpaceGuid.PcdL2x0ControllerBase|0x1E00A000 gArmTokenSpaceGuid.PcdL2x0ControllerBase|0x1E00A000
################################################################################ ################################################################################
# #
# Components Section - list of all EDK II Modules needed by this Platform # Components Section - list of all EDK II Modules needed by this Platform
# #
################################################################################ ################################################################################
[Components.common] [Components.common]
# #
# SEC # SEC
# #
ArmPlatformPkg/Sec/Sec.inf ArmPlatformPkg/Sec/Sec.inf
# #
# PEI Phase modules # PEI Phase modules
# #
!ifdef $(EDK2_SKIP_PEICORE) !ifdef $(EDK2_SKIP_PEICORE)
ArmPlatformPkg/PrePi/PeiMPCore.inf { ArmPlatformPkg/PrePi/PeiMPCore.inf {
<LibraryClasses> <LibraryClasses>
ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA9x4/ArmVExpressLib.inf ArmPlatformLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibCTA9x4/ArmVExpressLib.inf
ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf
} }
!else !else
ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf { ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf {
<LibraryClasses> <LibraryClasses>
ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf ArmGicSecLib|ArmPkg/Drivers/PL390Gic/PL390GicLib.inf
ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Pei/PeiArmPlatformGlobalVariableLib.inf
} }
MdeModulePkg/Core/Pei/PeiMain.inf MdeModulePkg/Core/Pei/PeiMain.inf
MdeModulePkg/Universal/PCD/Pei/Pcd.inf { MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
<LibraryClasses> <LibraryClasses>
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
} }
ArmPlatformPkg/PlatformPei/PlatformPeim.inf ArmPlatformPkg/PlatformPei/PlatformPeim.inf
ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
ArmPkg/Drivers/CpuPei/CpuPei.inf ArmPkg/Drivers/CpuPei/CpuPei.inf
IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
Nt32Pkg/BootModePei/BootModePei.inf Nt32Pkg/BootModePei/BootModePei.inf
MdeModulePkg/Universal/Variable/Pei/VariablePei.inf MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf { MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
<LibraryClasses> <LibraryClasses>
NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
} }
!endif !endif
# #
# DXE # DXE
# #
MdeModulePkg/Core/Dxe/DxeMain.inf { MdeModulePkg/Core/Dxe/DxeMain.inf {
<LibraryClasses> <LibraryClasses>
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
} }
# #
# Architectural Protocols # Architectural Protocols
# #
ArmPkg/Drivers/CpuDxe/CpuDxe.inf ArmPkg/Drivers/CpuDxe/CpuDxe.inf
MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
EmbeddedPkg/SerialDxe/SerialDxe.inf EmbeddedPkg/SerialDxe/SerialDxe.inf
ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf
ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf
ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf
ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805WatchdogDxe.inf ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf
ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf
# ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805WatchdogDxe.inf
# Semi-hosting filesystem
# #
ArmPkg/Filesystem/SemihostFs/SemihostFs.inf # Semi-hosting filesystem
#
# ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
# Multimedia Card Interface
# #
EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf # Multimedia Card Interface
ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf #
EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
# ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf
# FAT filesystem + GPT/MBR partitioning
# #
MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf # FAT filesystem + GPT/MBR partitioning
MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf #
FatPkg/EnhancedFatDxe/Fat.inf MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
FatPkg/EnhancedFatDxe/Fat.inf
# MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
# Application
# #
EmbeddedPkg/Ebl/Ebl.inf # Application
#
# EmbeddedPkg/Ebl/Ebl.inf
# Bds
# #
MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf # Bds
ArmPlatformPkg/Bds/Bds.inf #
MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
ArmPlatformPkg/Bds/Bds.inf

View File

@ -1,337 +1,339 @@
# FLASH layout file for ARM VE. # FLASH layout file for ARM VE.
# #
# Copyright (c) 2011, ARM Limited. All rights reserved. # Copyright (c) 2011, ARM Limited. All rights reserved.
# #
# This program and the accompanying materials # This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License # are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at # which accompanies this distribution. The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php # http://opensource.org/licenses/bsd-license.php
# #
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
# #
################################################################################ ################################################################################
# #
# FD Section # FD Section
# The [FD] Section is made up of the definition statements and a # The [FD] Section is made up of the definition statements and a
# description of what goes into the Flash Device Image. Each FD section # description of what goes into the Flash Device Image. Each FD section
# defines one flash "device" image. A flash device image may be one of # defines one flash "device" image. A flash device image may be one of
# the following: Removable media bootable image (like a boot floppy # the following: Removable media bootable image (like a boot floppy
# image,) an Option ROM image (that would be "flashed" into an add-in # image,) an Option ROM image (that would be "flashed" into an add-in
# card,) a System "Flash" image (that would be burned into a system's # card,) a System "Flash" image (that would be burned into a system's
# flash) or an Update ("Capsule") image that will be used to update and # flash) or an Update ("Capsule") image that will be used to update and
# existing system flash. # existing system flash.
# #
################################################################################ ################################################################################
[FD.Sec_ArmVExpress_EFI] [FD.Sec_ArmVExpress_EFI]
BaseAddress = 0x44000000|gArmTokenSpaceGuid.PcdSecureFdBaseAddress #The base address of the Secure FLASH Device. BaseAddress = 0x44000000|gArmTokenSpaceGuid.PcdSecureFdBaseAddress #The base address of the Secure FLASH Device.
Size = 0x00080000|gArmTokenSpaceGuid.PcdSecureFdSize #The size in bytes of the Secure FLASH Device Size = 0x00080000|gArmTokenSpaceGuid.PcdSecureFdSize #The size in bytes of the Secure FLASH Device
ErasePolarity = 1 ErasePolarity = 1
BlockSize = 0x00001000 BlockSize = 0x00001000
NumBlocks = 0x80 NumBlocks = 0x80
################################################################################ ################################################################################
# #
# Following are lists of FD Region layout which correspond to the locations of different # Following are lists of FD Region layout which correspond to the locations of different
# images within the flash device. # images within the flash device.
# #
# Regions must be defined in ascending order and may not overlap. # Regions must be defined in ascending order and may not overlap.
# #
# A Layout Region start with a eight digit hex offset (leading "0x" required) followed by # A Layout Region start with a eight digit hex offset (leading "0x" required) followed by
# the pipe "|" character, followed by the size of the region, also in hex with the leading # the pipe "|" character, followed by the size of the region, also in hex with the leading
# "0x" characters. Like: # "0x" characters. Like:
# Offset|Size # Offset|Size
# PcdOffsetCName|PcdSizeCName # PcdOffsetCName|PcdSizeCName
# RegionType <FV, DATA, or FILE> # RegionType <FV, DATA, or FILE>
# #
################################################################################ ################################################################################
0x00000000|0x00080000 0x00000000|0x00080000
gArmTokenSpaceGuid.PcdSecureFvBaseAddress|gArmTokenSpaceGuid.PcdSecureFvBaseSize gArmTokenSpaceGuid.PcdSecureFvBaseAddress|gArmTokenSpaceGuid.PcdSecureFvBaseSize
FV = FVMAIN_SEC FV = FVMAIN_SEC
[FD.ArmVExpress_EFI] [FD.ArmVExpress_EFI]
!if $(EDK2_ARMVE_STANDALONE) == 1 !if $(EDK2_ARMVE_STANDALONE) == 1
BaseAddress = 0x45000000|gArmTokenSpaceGuid.PcdFdBaseAddress # The base address of the Firmware in NOR Flash. BaseAddress = 0x45000000|gArmTokenSpaceGuid.PcdFdBaseAddress # The base address of the Firmware in NOR Flash.
!else !else
BaseAddress = 0x80000000|gArmTokenSpaceGuid.PcdFdBaseAddress # The base address of the Firmware in remapped DRAM. BaseAddress = 0x80000000|gArmTokenSpaceGuid.PcdFdBaseAddress # The base address of the Firmware in remapped DRAM.
!endif !endif
Size = 0x00200000|gArmTokenSpaceGuid.PcdFdSize # The size in bytes of the FLASH Device Size = 0x00200000|gArmTokenSpaceGuid.PcdFdSize # The size in bytes of the FLASH Device
ErasePolarity = 1 ErasePolarity = 1
# This one is tricky, it must be: BlockSize * NumBlocks = Size # This one is tricky, it must be: BlockSize * NumBlocks = Size
BlockSize = 0x00001000 BlockSize = 0x00001000
NumBlocks = 0x200 NumBlocks = 0x200
################################################################################ ################################################################################
# #
# Following are lists of FD Region layout which correspond to the locations of different # Following are lists of FD Region layout which correspond to the locations of different
# images within the flash device. # images within the flash device.
# #
# Regions must be defined in ascending order and may not overlap. # Regions must be defined in ascending order and may not overlap.
# #
# A Layout Region start with a eight digit hex offset (leading "0x" required) followed by # A Layout Region start with a eight digit hex offset (leading "0x" required) followed by
# the pipe "|" character, followed by the size of the region, also in hex with the leading # the pipe "|" character, followed by the size of the region, also in hex with the leading
# "0x" characters. Like: # "0x" characters. Like:
# Offset|Size # Offset|Size
# PcdOffsetCName|PcdSizeCName # PcdOffsetCName|PcdSizeCName
# RegionType <FV, DATA, or FILE> # RegionType <FV, DATA, or FILE>
# #
################################################################################ ################################################################################
0x00000000|0x00200000 0x00000000|0x00200000
gArmTokenSpaceGuid.PcdFvBaseAddress|gArmTokenSpaceGuid.PcdFvBaseSize gArmTokenSpaceGuid.PcdFvBaseAddress|gArmTokenSpaceGuid.PcdFvBaseSize
FV = FVMAIN_COMPACT FV = FVMAIN_COMPACT
################################################################################ ################################################################################
# #
# FV Section # FV Section
# #
# [FV] section is used to define what components or modules are placed within a flash # [FV] section is used to define what components or modules are placed within a flash
# device file. This section also defines order the components and modules are positioned # device file. This section also defines order the components and modules are positioned
# within the image. The [FV] section consists of define statements, set statements and # within the image. The [FV] section consists of define statements, set statements and
# module statements. # module statements.
# #
################################################################################ ################################################################################
[FV.FVMAIN_SEC] [FV.FVMAIN_SEC]
FvAlignment = 8 FvAlignment = 8
ERASE_POLARITY = 1 ERASE_POLARITY = 1
MEMORY_MAPPED = TRUE MEMORY_MAPPED = TRUE
STICKY_WRITE = TRUE STICKY_WRITE = TRUE
LOCK_CAP = TRUE LOCK_CAP = TRUE
LOCK_STATUS = TRUE LOCK_STATUS = TRUE
WRITE_DISABLED_CAP = TRUE WRITE_DISABLED_CAP = TRUE
WRITE_ENABLED_CAP = TRUE WRITE_ENABLED_CAP = TRUE
WRITE_STATUS = TRUE WRITE_STATUS = TRUE
WRITE_LOCK_CAP = TRUE WRITE_LOCK_CAP = TRUE
WRITE_LOCK_STATUS = TRUE WRITE_LOCK_STATUS = TRUE
READ_DISABLED_CAP = TRUE READ_DISABLED_CAP = TRUE
READ_ENABLED_CAP = TRUE READ_ENABLED_CAP = TRUE
READ_STATUS = TRUE READ_STATUS = TRUE
READ_LOCK_CAP = TRUE READ_LOCK_CAP = TRUE
READ_LOCK_STATUS = TRUE READ_LOCK_STATUS = TRUE
INF ArmPlatformPkg/Sec/Sec.inf INF ArmPlatformPkg/Sec/Sec.inf
[FV.FvMain] [FV.FvMain]
BlockSize = 0x40 BlockSize = 0x40
NumBlocks = 0 # This FV gets compressed so make it just big enough NumBlocks = 0 # This FV gets compressed so make it just big enough
FvAlignment = 8 # FV alignment and FV attributes setting. FvAlignment = 8 # FV alignment and FV attributes setting.
ERASE_POLARITY = 1 ERASE_POLARITY = 1
MEMORY_MAPPED = TRUE MEMORY_MAPPED = TRUE
STICKY_WRITE = TRUE STICKY_WRITE = TRUE
LOCK_CAP = TRUE LOCK_CAP = TRUE
LOCK_STATUS = TRUE LOCK_STATUS = TRUE
WRITE_DISABLED_CAP = TRUE WRITE_DISABLED_CAP = TRUE
WRITE_ENABLED_CAP = TRUE WRITE_ENABLED_CAP = TRUE
WRITE_STATUS = TRUE WRITE_STATUS = TRUE
WRITE_LOCK_CAP = TRUE WRITE_LOCK_CAP = TRUE
WRITE_LOCK_STATUS = TRUE WRITE_LOCK_STATUS = TRUE
READ_DISABLED_CAP = TRUE READ_DISABLED_CAP = TRUE
READ_ENABLED_CAP = TRUE READ_ENABLED_CAP = TRUE
READ_STATUS = TRUE READ_STATUS = TRUE
READ_LOCK_CAP = TRUE READ_LOCK_CAP = TRUE
READ_LOCK_STATUS = TRUE READ_LOCK_STATUS = TRUE
INF MdeModulePkg/Core/Dxe/DxeMain.inf INF MdeModulePkg/Core/Dxe/DxeMain.inf
# #
# PI DXE Drivers producing Architectural Protocols (EFI Services) # PI DXE Drivers producing Architectural Protocols (EFI Services)
# #
INF ArmPkg/Drivers/CpuDxe/CpuDxe.inf INF ArmPkg/Drivers/CpuDxe/CpuDxe.inf
INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
INF EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf INF EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
INF EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf INF EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
INF EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf INF EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
# #
# Multiple Console IO support # Multiple Console IO support
# #
INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
INF EmbeddedPkg/SerialDxe/SerialDxe.inf INF EmbeddedPkg/SerialDxe/SerialDxe.inf
INF ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
INF ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf
INF ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf INF ArmPkg/Drivers/PL390Gic/PL390GicDxe.inf
INF ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf INF ArmPlatformPkg/Drivers/SP804TimerDxe/SP804TimerDxe.inf
INF ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805WatchdogDxe.inf INF ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf
INF ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111LcdGraphicsOutputDxe.inf
# INF ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805WatchdogDxe.inf
!if $(EDK2_ARMVE_STANDALONE) != 1 #
#
# Semi-hosting filesystem (Required the Hardware Debugger to be connected) !if $(EDK2_ARMVE_STANDALONE) != 1
# #
INF ArmPkg/Filesystem/SemihostFs/SemihostFs.inf # Semi-hosting filesystem (Required the Hardware Debugger to be connected)
!endif #
INF ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
# !endif
# FAT filesystem + GPT/MBR partitioning
# #
INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf # FAT filesystem + GPT/MBR partitioning
INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf #
INF FatPkg/EnhancedFatDxe/Fat.inf INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
INF FatPkg/EnhancedFatDxe/Fat.inf
# INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
# Multimedia Card Interface
# #
INF EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf # Multimedia Card Interface
INF ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf #
INF EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
# INF ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf
# UEFI application (Shell Embedded Boot Loader)
# #
INF EmbeddedPkg/Ebl/Ebl.inf # UEFI application (Shell Embedded Boot Loader)
#
!if $(EDK2_ARMVE_UEFI2_SHELL) == 1 INF EmbeddedPkg/Ebl/Ebl.inf
INF ShellPkg/Application/Shell/Shell.inf
!endif !if $(EDK2_ARMVE_UEFI2_SHELL) == 1
INF ShellPkg/Application/Shell/Shell.inf
# !endif
# Bds
# #
INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf # Bds
INF ArmPlatformPkg/Bds/Bds.inf #
INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
INF ArmPlatformPkg/Bds/Bds.inf
[FV.FVMAIN_COMPACT]
FvAlignment = 8
ERASE_POLARITY = 1 [FV.FVMAIN_COMPACT]
MEMORY_MAPPED = TRUE FvAlignment = 8
STICKY_WRITE = TRUE ERASE_POLARITY = 1
LOCK_CAP = TRUE MEMORY_MAPPED = TRUE
LOCK_STATUS = TRUE STICKY_WRITE = TRUE
WRITE_DISABLED_CAP = TRUE LOCK_CAP = TRUE
WRITE_ENABLED_CAP = TRUE LOCK_STATUS = TRUE
WRITE_STATUS = TRUE WRITE_DISABLED_CAP = TRUE
WRITE_LOCK_CAP = TRUE WRITE_ENABLED_CAP = TRUE
WRITE_LOCK_STATUS = TRUE WRITE_STATUS = TRUE
READ_DISABLED_CAP = TRUE WRITE_LOCK_CAP = TRUE
READ_ENABLED_CAP = TRUE WRITE_LOCK_STATUS = TRUE
READ_STATUS = TRUE READ_DISABLED_CAP = TRUE
READ_LOCK_CAP = TRUE READ_ENABLED_CAP = TRUE
READ_LOCK_STATUS = TRUE READ_STATUS = TRUE
READ_LOCK_CAP = TRUE
!if $(EDK2_SKIP_PEICORE) == 1 READ_LOCK_STATUS = TRUE
INF ArmPlatformPkg/PrePi/PeiMPCore.inf
!else !if $(EDK2_SKIP_PEICORE) == 1
INF ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf INF ArmPlatformPkg/PrePi/PeiMPCore.inf
INF MdeModulePkg/Core/Pei/PeiMain.inf !else
INF ArmPlatformPkg/PlatformPei/PlatformPeim.inf INF ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf
INF ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf INF MdeModulePkg/Core/Pei/PeiMain.inf
INF ArmPkg/Drivers/CpuPei/CpuPei.inf INF ArmPlatformPkg/PlatformPei/PlatformPeim.inf
INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf INF ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
INF IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf INF ArmPkg/Drivers/CpuPei/CpuPei.inf
INF MdeModulePkg/Universal/Variable/Pei/VariablePei.inf INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf INF IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
!endif INF MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 { !endif
SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
SECTION FV_IMAGE = FVMAIN FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
} SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
} SECTION FV_IMAGE = FVMAIN
}
}
################################################################################
#
# Rules are use with the [FV] section's module INF type to define ################################################################################
# how an FFS file is created for a given INF file. The following Rule are the default #
# rules for the different module type. User can add the customized rules to define the # Rules are use with the [FV] section's module INF type to define
# content of the FFS file. # how an FFS file is created for a given INF file. The following Rule are the default
# # rules for the different module type. User can add the customized rules to define the
################################################################################ # content of the FFS file.
#
################################################################################
############################################################################
# Example of a DXE_DRIVER FFS file with a Checksum encapsulation section #
############################################################################ ############################################################################
# # Example of a DXE_DRIVER FFS file with a Checksum encapsulation section #
#[Rule.Common.DXE_DRIVER] ############################################################################
# FILE DRIVER = $(NAMED_GUID) { #
# DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex #[Rule.Common.DXE_DRIVER]
# COMPRESS PI_STD { # FILE DRIVER = $(NAMED_GUID) {
# GUIDED { # DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
# PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi # COMPRESS PI_STD {
# UI STRING="$(MODULE_NAME)" Optional # GUIDED {
# VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER) # PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
# } # UI STRING="$(MODULE_NAME)" Optional
# } # VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
# } # }
# # }
############################################################################ # }
#
[Rule.Common.SEC] ############################################################################
FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED {
TE TE Align = 32 $(INF_OUTPUT)/$(MODULE_NAME).efi [Rule.Common.SEC]
} FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED {
TE TE Align = 32 $(INF_OUTPUT)/$(MODULE_NAME).efi
[Rule.Common.PEI_CORE] }
FILE PEI_CORE = $(NAMED_GUID) {
TE TE $(INF_OUTPUT)/$(MODULE_NAME).efi [Rule.Common.PEI_CORE]
UI STRING ="$(MODULE_NAME)" Optional FILE PEI_CORE = $(NAMED_GUID) {
} TE TE $(INF_OUTPUT)/$(MODULE_NAME).efi
UI STRING ="$(MODULE_NAME)" Optional
[Rule.Common.PEIM] }
FILE PEIM = $(NAMED_GUID) {
PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex [Rule.Common.PEIM]
TE TE $(INF_OUTPUT)/$(MODULE_NAME).efi FILE PEIM = $(NAMED_GUID) {
UI STRING="$(MODULE_NAME)" Optional PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
} TE TE $(INF_OUTPUT)/$(MODULE_NAME).efi
UI STRING="$(MODULE_NAME)" Optional
[Rule.Common.PEIM.TIANOCOMPRESSED] }
FILE PEIM = $(NAMED_GUID) DEBUG_MYTOOLS_IA32 {
PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex [Rule.Common.PEIM.TIANOCOMPRESSED]
GUIDED A31280AD-481E-41B6-95E8-127F4C984779 PROCESSING_REQUIRED = TRUE { FILE PEIM = $(NAMED_GUID) DEBUG_MYTOOLS_IA32 {
PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
UI STRING="$(MODULE_NAME)" Optional GUIDED A31280AD-481E-41B6-95E8-127F4C984779 PROCESSING_REQUIRED = TRUE {
} PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
} UI STRING="$(MODULE_NAME)" Optional
}
[Rule.Common.DXE_CORE] }
FILE DXE_CORE = $(NAMED_GUID) {
PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi [Rule.Common.DXE_CORE]
UI STRING="$(MODULE_NAME)" Optional FILE DXE_CORE = $(NAMED_GUID) {
} PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
UI STRING="$(MODULE_NAME)" Optional
[Rule.Common.UEFI_DRIVER] }
FILE DRIVER = $(NAMED_GUID) {
DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex [Rule.Common.UEFI_DRIVER]
PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi FILE DRIVER = $(NAMED_GUID) {
UI STRING="$(MODULE_NAME)" Optional DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
} PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
UI STRING="$(MODULE_NAME)" Optional
[Rule.Common.DXE_DRIVER] }
FILE DRIVER = $(NAMED_GUID) {
DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex [Rule.Common.DXE_DRIVER]
PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi FILE DRIVER = $(NAMED_GUID) {
UI STRING="$(MODULE_NAME)" Optional DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
} PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
UI STRING="$(MODULE_NAME)" Optional
[Rule.Common.DXE_RUNTIME_DRIVER] }
FILE DRIVER = $(NAMED_GUID) {
DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex [Rule.Common.DXE_RUNTIME_DRIVER]
PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi FILE DRIVER = $(NAMED_GUID) {
UI STRING="$(MODULE_NAME)" Optional DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
} PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
UI STRING="$(MODULE_NAME)" Optional
[Rule.Common.UEFI_APPLICATION] }
FILE APPLICATION = $(NAMED_GUID) {
UI STRING ="$(MODULE_NAME)" Optional [Rule.Common.UEFI_APPLICATION]
PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi FILE APPLICATION = $(NAMED_GUID) {
} UI STRING ="$(MODULE_NAME)" Optional
PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
}