2011-09-23 00:53:54 +02:00
|
|
|
#/** @file
|
|
|
|
# Beagle board package.
|
|
|
|
#
|
|
|
|
# Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>
|
2016-04-06 09:06:17 +02:00
|
|
|
# Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
|
2011-09-23 00:53:54 +02:00
|
|
|
#
|
|
|
|
# This program and the accompanying materials
|
|
|
|
# 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
|
|
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
|
|
#
|
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
#
|
|
|
|
#**/
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Defines Section - statements that will be processed to create a Makefile.
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
[Defines]
|
|
|
|
PLATFORM_NAME = BeagleBoardPkg
|
|
|
|
PLATFORM_GUID = 91fa6c28-33df-46ac-aee6-292d6811ea31
|
|
|
|
PLATFORM_VERSION = 0.1
|
|
|
|
DSC_SPECIFICATION = 0x00010005
|
|
|
|
OUTPUT_DIRECTORY = Build/BeagleBoard
|
|
|
|
SUPPORTED_ARCHITECTURES = ARM
|
|
|
|
BUILD_TARGETS = DEBUG|RELEASE
|
|
|
|
SKUID_IDENTIFIER = DEFAULT
|
2011-09-29 22:40:00 +02:00
|
|
|
FLASH_DEFINITION = BeagleBoardPkg/BeagleBoardPkg.fdf
|
2011-09-23 00:53:54 +02:00
|
|
|
|
|
|
|
|
|
|
|
[LibraryClasses.common]
|
2016-09-05 12:49:37 +02:00
|
|
|
ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
|
2016-08-10 15:49:24 +02:00
|
|
|
ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
|
2011-11-02 00:46:18 +01:00
|
|
|
ArmPlatformLib|BeagleBoardPkg/Library/BeagleBoardLib/BeagleBoardLib.inf
|
|
|
|
ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA8Lib/ArmCortexA8Lib.inf
|
2012-09-28 13:01:36 +02:00
|
|
|
ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf
|
2013-03-06 01:01:49 +01:00
|
|
|
ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
|
|
|
|
UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
|
|
|
|
|
|
|
|
!if $(TARGET) == RELEASE
|
|
|
|
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
|
|
|
UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
|
|
|
|
!else
|
|
|
|
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
|
|
|
UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
|
|
|
|
# UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf
|
|
|
|
!endif
|
|
|
|
DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
|
|
|
|
|
|
|
|
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
|
|
|
|
BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf
|
|
|
|
|
|
|
|
EfiResetSystemLib|BeagleBoardPkg/Library/ResetSystemLib/ResetSystemLib.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
|
|
|
|
PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
|
|
|
|
PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2015-07-14 16:32:24 +02:00
|
|
|
# These libraries are used by the dynamic EFI Shell commands
|
|
|
|
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
|
|
|
|
FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
|
|
|
|
SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
#
|
2014-08-19 15:29:52 +02:00
|
|
|
# Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
|
2011-09-23 00:53:54 +02:00
|
|
|
# in the debugger will show load and unload commands for symbols. You can cut and paste this
|
|
|
|
# into the command window to load symbols. We should be able to use a script to do this, but
|
|
|
|
# the version of RVD I have does not support scipts accessing system memory.
|
|
|
|
#
|
|
|
|
# PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
|
|
|
|
PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
|
|
|
|
# PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
|
|
|
|
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
|
|
|
|
DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
|
2016-03-16 15:03:40 +01:00
|
|
|
CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf
|
2011-09-23 00:53:54 +02:00
|
|
|
PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
SerialPortLib|Omap35xxPkg/Library/SerialPortLib/SerialPortLib.inf
|
|
|
|
SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-28 20:59:32 +02:00
|
|
|
RealTimeClockLib|Omap35xxPkg/Library/RealTimeClockLib/RealTimeClockLib.inf
|
2011-09-23 00:53:54 +02:00
|
|
|
|
|
|
|
IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
|
|
|
UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
|
|
|
|
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
|
|
|
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
|
|
|
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
|
|
|
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
|
|
|
|
|
|
|
|
DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
|
|
|
|
UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
|
|
|
UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
|
|
|
|
|
|
|
|
#
|
|
|
|
# Assume everything is fixed at build
|
|
|
|
#
|
|
|
|
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
|
|
|
|
|
|
|
UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
|
|
|
|
|
|
|
|
CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
|
|
|
|
|
2014-08-19 15:29:52 +02:00
|
|
|
TimerLib|Omap35xxPkg/Library/Omap35xxTimerLib/Omap35xxTimerLib.inf
|
2011-09-23 00:53:54 +02:00
|
|
|
OmapLib|Omap35xxPkg/Library/OmapLib/OmapLib.inf
|
|
|
|
OmapDmaLib|Omap35xxPkg/Library/OmapDmaLib/OmapDmaLib.inf
|
|
|
|
DebugAgentTimerLib|Omap35xxPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf
|
|
|
|
|
|
|
|
GdbSerialLib|Omap35xxPkg/Library/GdbSerialLib/GdbSerialLib.inf
|
|
|
|
ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
|
|
|
|
DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
|
|
|
|
DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
|
|
|
|
|
2014-07-15 11:25:57 +02:00
|
|
|
NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
|
2011-09-23 01:24:54 +02:00
|
|
|
BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
|
2012-09-28 11:58:42 +02:00
|
|
|
FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
|
2011-09-23 01:24:54 +02:00
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
[LibraryClasses.common.SEC]
|
|
|
|
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
|
|
|
ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
|
|
|
|
UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
|
|
|
|
ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
|
2015-04-08 21:58:50 +02:00
|
|
|
LzmaDecompressLib|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
|
2011-09-23 00:53:54 +02:00
|
|
|
|
2011-09-28 20:59:32 +02:00
|
|
|
PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
|
2011-09-28 20:59:32 +02:00
|
|
|
PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
|
2011-09-23 00:53:54 +02:00
|
|
|
MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
|
|
|
|
PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
|
2011-09-28 20:59:32 +02:00
|
|
|
PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
|
|
|
|
MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
# 1/123 faster than Stm or Vstm version
|
|
|
|
BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
|
|
|
|
|
2014-08-19 15:29:52 +02:00
|
|
|
# Uncomment to turn on GDB stub in SEC.
|
2011-09-23 00:53:54 +02:00
|
|
|
#DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf
|
|
|
|
|
|
|
|
[LibraryClasses.common.PEI_CORE]
|
|
|
|
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
|
|
|
ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
|
|
|
|
|
|
|
|
[LibraryClasses.common.DXE_CORE]
|
|
|
|
HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
|
|
|
|
MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
|
|
|
|
DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
|
|
|
|
ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
|
|
|
|
ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
|
|
|
|
UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
|
|
|
|
DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
|
|
|
|
# PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
|
|
|
|
PeCoffLib|EmbeddedPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf
|
|
|
|
|
|
|
|
PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
|
|
|
|
[LibraryClasses.common.DXE_DRIVER]
|
|
|
|
ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
|
|
|
|
DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
|
|
|
|
SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
|
|
|
|
PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
|
|
|
|
|
|
|
|
[LibraryClasses.common.UEFI_APPLICATION]
|
|
|
|
ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
|
|
|
|
UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
|
|
|
|
PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
|
|
|
|
HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
|
|
|
|
|
|
|
|
[LibraryClasses.common.UEFI_DRIVER]
|
|
|
|
ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
|
|
|
|
UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
|
|
|
|
ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
|
|
|
|
PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
|
2012-08-02 20:21:16 +02:00
|
|
|
DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
|
2011-09-23 00:53:54 +02:00
|
|
|
|
|
|
|
[LibraryClasses.common.DXE_RUNTIME_DRIVER]
|
|
|
|
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
|
|
|
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
|
|
|
ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
|
|
|
|
CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
|
|
|
|
# PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
|
|
|
|
PeCoffLib|EmbeddedPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf
|
|
|
|
|
|
|
|
|
|
|
|
[LibraryClasses.ARM]
|
|
|
|
#
|
|
|
|
# It is not possible to prevent the ARM compiler for generic intrinsic functions.
|
|
|
|
# This library provides the instrinsic functions generate by a given compiler.
|
|
|
|
# [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
|
|
|
|
#
|
|
|
|
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
|
|
|
|
2014-08-20 20:01:50 +02:00
|
|
|
# Add support for GCC stack protector
|
|
|
|
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
2011-09-23 00:53:54 +02:00
|
|
|
|
|
|
|
[BuildOptions]
|
2011-09-27 18:42:47 +02:00
|
|
|
XCODE:*_*_ARM_PLATFORM_FLAGS == -arch armv7
|
|
|
|
|
|
|
|
GCC:*_*_ARM_PLATFORM_FLAGS == -march=armv7-a
|
|
|
|
|
|
|
|
RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A8
|
2011-09-23 00:53:54 +02:00
|
|
|
|
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Pcd Section - list of all EDK II PCD Entries defined by this Platform
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
[PcdsFeatureFlag.common]
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
#
|
|
|
|
# Control what commands are supported from the UI
|
|
|
|
# Turn these on and off to add features or save size
|
2014-08-19 15:29:52 +02:00
|
|
|
#
|
2011-09-23 00:53:54 +02:00
|
|
|
gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE
|
|
|
|
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
# Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
|
|
|
|
gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
|
|
|
|
gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport|FALSE
|
|
|
|
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
|
2011-09-23 01:24:54 +02:00
|
|
|
|
|
|
|
## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
|
|
|
|
# It could be set FALSE to save size.
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
|
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
[PcdsFixedAtBuild.common]
|
2011-09-23 01:24:54 +02:00
|
|
|
gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"Beagle Board"
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"BeagleEdk2"
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
|
|
|
|
|
|
|
|
# DEBUG_ASSERT_ENABLED 0x01
|
|
|
|
# DEBUG_PRINT_ENABLED 0x02
|
|
|
|
# DEBUG_CODE_ENABLED 0x04
|
|
|
|
# CLEAR_MEMORY_ENABLED 0x08
|
|
|
|
# ASSERT_BREAKPOINT_ENABLED 0x10
|
|
|
|
# ASSERT_DEADLOOP_ENABLED 0x20
|
|
|
|
!if $(TARGET) == RELEASE
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
|
|
|
|
!else
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
|
|
|
|
!endif
|
|
|
|
|
|
|
|
# DEBUG_INIT 0x00000001 // Initialization
|
|
|
|
# DEBUG_WARN 0x00000002 // Warnings
|
|
|
|
# DEBUG_LOAD 0x00000004 // Load events
|
|
|
|
# DEBUG_FS 0x00000008 // EFI File system
|
2016-03-01 10:28:50 +01:00
|
|
|
# DEBUG_POOL 0x00000010 // Alloc & Free (pool)
|
|
|
|
# DEBUG_PAGE 0x00000020 // Alloc & Free (page)
|
|
|
|
# DEBUG_INFO 0x00000040 // Informational debug messages
|
|
|
|
# DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
|
2011-09-23 00:53:54 +02:00
|
|
|
# DEBUG_VARIABLE 0x00000100 // Variable
|
|
|
|
# DEBUG_BM 0x00000400 // Boot Manager
|
|
|
|
# DEBUG_BLKIO 0x00001000 // BlkIo Driver
|
2016-03-01 10:28:50 +01:00
|
|
|
# DEBUG_NET 0x00004000 // SNP Driver
|
2011-09-23 00:53:54 +02:00
|
|
|
# DEBUG_UNDI 0x00010000 // UNDI Driver
|
2016-03-01 10:28:50 +01:00
|
|
|
# DEBUG_LOADFILE 0x00020000 // LoadFile
|
2011-09-23 00:53:54 +02:00
|
|
|
# DEBUG_EVENT 0x00080000 // Event messages
|
2016-03-01 10:28:50 +01:00
|
|
|
# DEBUG_GCD 0x00100000 // Global Coherency Database changes
|
|
|
|
# DEBUG_CACHE 0x00200000 // Memory range cachability changes
|
|
|
|
# DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
|
|
|
|
# // significantly impact boot performance
|
2011-09-23 00:53:54 +02:00
|
|
|
# DEBUG_ERROR 0x80000000 // Error
|
2011-09-28 20:59:32 +02:00
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
|
2011-09-23 00:53:54 +02:00
|
|
|
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
|
|
|
|
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
#
|
|
|
|
# Optional feature to help prevent EFI memory map fragments
|
|
|
|
# Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
|
2014-08-19 15:29:52 +02:00
|
|
|
# Values are in EFI Pages (4K). DXE Core will make sure that
|
|
|
|
# at least this much of each type of memory can be allocated
|
2011-09-23 00:53:54 +02:00
|
|
|
# from a single memory range. This way you only end up with
|
|
|
|
# maximum of two fragements for each type in the memory map
|
|
|
|
# (the memory used, and the free memory that was prereserved
|
|
|
|
# but not used).
|
|
|
|
#
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|80
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|40
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|3000
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|10
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Beagle board Specific PCDs
|
|
|
|
#
|
2011-09-28 20:59:32 +02:00
|
|
|
gArmTokenSpaceGuid.PcdVFPEnabled|1
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
gArmTokenSpaceGuid.PcdSystemMemoryBase|0x80000000
|
2011-09-28 20:59:32 +02:00
|
|
|
gArmTokenSpaceGuid.PcdSystemMemorySize|0x08000000
|
|
|
|
|
|
|
|
# Size of the region used by UEFI in permanent memory (Reserved 16MB)
|
|
|
|
gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x01000000
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-28 20:59:32 +02:00
|
|
|
# Size of the region reserved for fixed address allocations (Reserved 32MB)
|
|
|
|
gArmTokenSpaceGuid.PcdArmLinuxKernelMaxOffset|0x02000000
|
2011-09-23 00:53:54 +02:00
|
|
|
|
2011-09-28 20:59:32 +02:00
|
|
|
gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x80008000
|
2011-09-23 00:53:54 +02:00
|
|
|
gArmTokenSpaceGuid.PcdCpuResetAddress|0x80008000
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterPeriodInNanoseconds|77
|
|
|
|
gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|13000000
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2015-07-14 16:32:24 +02:00
|
|
|
# We want to use the Shell Libraries but don't want it to initialise
|
|
|
|
# automatically. We initialise the libraries when the command is called by the
|
|
|
|
# Shell.
|
|
|
|
gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
|
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
#
|
|
|
|
# ARM Pcds
|
|
|
|
#
|
|
|
|
gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000
|
|
|
|
|
|
|
|
gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"Linux from SD"
|
2015-07-14 16:32:24 +02:00
|
|
|
gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(B615F1F5-5088-43CD-809C-A16E52487D00)/HD(1,MBR,0x00000000,0x3F,0x19FC0)/Image"
|
2011-11-02 00:46:18 +01:00
|
|
|
gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|"console=tty0 console=ttyS2,115200n8 root=UUID=a4af765b-c2b5-48f4-9564-7a4e9104c4f6 rootwait ro earlyprintk"
|
2015-05-13 20:25:47 +02:00
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|10
|
2011-09-23 00:53:54 +02:00
|
|
|
|
2011-11-02 00:46:18 +01:00
|
|
|
gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi();VenHw(E68088EF-D1A4-4336-C1DB-4D3A204730A6)"
|
2011-09-28 20:59:32 +02:00
|
|
|
gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi()"
|
2011-09-23 00:53:54 +02:00
|
|
|
|
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Components Section - list of all EDK II Modules needed by this Platform
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
[Components.common]
|
|
|
|
|
2011-09-28 20:59:32 +02:00
|
|
|
#
|
|
|
|
# SEC
|
|
|
|
#
|
|
|
|
ArmPlatformPkg/PrePi/PeiUniCore.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-28 20:59:32 +02:00
|
|
|
#
|
|
|
|
# DXE
|
|
|
|
#
|
2011-09-23 00:53:54 +02:00
|
|
|
MdeModulePkg/Core/Dxe/DxeMain.inf {
|
|
|
|
<LibraryClasses>
|
|
|
|
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
|
|
|
NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
NULL|EmbeddedPkg/Library/LzmaHobCustomDecompressLib/LzmaHobCustomDecompressLib.inf
|
2011-09-23 00:53:54 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
ArmPkg/Drivers/CpuDxe/CpuDxe.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
|
|
|
|
MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
|
|
|
|
MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
|
|
|
|
MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
|
|
|
|
MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
|
|
|
|
EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-23 01:24:54 +02:00
|
|
|
MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
|
|
|
|
MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
|
2015-11-26 09:50:16 +01:00
|
|
|
MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
|
2011-09-23 00:53:54 +02:00
|
|
|
#
|
2014-08-19 15:29:52 +02:00
|
|
|
# This version uses semi-hosting console
|
2011-09-23 00:53:54 +02:00
|
|
|
# EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf {
|
|
|
|
# <LibraryClasses>
|
|
|
|
# SerialPortLib|ArmPkg/Library/SemiHostingSerialPortLib/SemiHostingSerialPortLib.inf
|
|
|
|
# }
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
|
|
|
|
EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
|
|
|
|
EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
|
|
|
|
|
|
|
|
#
|
|
|
|
# Semi-hosting filesystem
|
|
|
|
#
|
|
|
|
ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
#
|
|
|
|
# FAT filesystem + GPT/MBR partitioning
|
|
|
|
#
|
|
|
|
MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
|
|
|
|
MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
|
|
|
|
MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
|
2016-04-06 09:06:17 +02:00
|
|
|
FatPkg/EnhancedFatDxe/Fat.inf
|
2011-09-23 00:53:54 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# USB
|
|
|
|
#
|
|
|
|
Omap35xxPkg/PciEmulation/PciEmulation.inf
|
|
|
|
|
|
|
|
MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf {
|
|
|
|
<PcdsFixedAtBuild>
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x800fffff
|
|
|
|
}
|
|
|
|
|
|
|
|
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
|
|
|
|
MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
|
|
|
|
|
|
|
|
#
|
|
|
|
# Nand Flash
|
|
|
|
#
|
|
|
|
Omap35xxPkg/Flash/Flash.inf
|
|
|
|
|
|
|
|
#
|
|
|
|
# MMC/SD
|
|
|
|
#
|
2011-09-28 20:59:32 +02:00
|
|
|
EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
|
|
|
|
Omap35xxPkg/MmcHostDxe/MmcHostDxe.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
#
|
|
|
|
# I2C
|
|
|
|
#
|
|
|
|
Omap35xxPkg/SmbusDxe/Smbus.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
#
|
|
|
|
# SoC Drivers
|
|
|
|
#
|
|
|
|
Omap35xxPkg/Gpio/Gpio.inf
|
|
|
|
Omap35xxPkg/InterruptDxe/InterruptDxe.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
Omap35xxPkg/TimerDxe/TimerDxe.inf
|
2011-09-23 01:24:54 +02:00
|
|
|
Omap35xxPkg/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.inf
|
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
#
|
|
|
|
# Power IC
|
|
|
|
#
|
|
|
|
Omap35xxPkg/TPS65950Dxe/TPS65950.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
#
|
|
|
|
# Bds
|
|
|
|
#
|
|
|
|
MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
|
|
|
|
MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
|
2014-08-19 15:29:52 +02:00
|
|
|
ArmPlatformPkg/Bds/Bds.inf
|
2011-09-23 00:53:54 +02:00
|
|
|
|
2015-07-14 16:32:24 +02:00
|
|
|
# Legacy Linux Loader
|
|
|
|
ArmPkg/Application/LinuxLoader/LinuxLoader.inf
|
|
|
|
|
2011-09-23 00:53:54 +02:00
|
|
|
#
|
|
|
|
# Example Application
|
2014-08-19 15:29:52 +02:00
|
|
|
#
|
2011-09-23 00:53:54 +02:00
|
|
|
MdeModulePkg/Application/HelloWorld/HelloWorld.inf
|
|
|
|
|