blob: 3fbd79d07a34f61d7df12424eeb470d520c78cff [file] [log] [blame]
oliviermartin11c20f42011-09-22 22:53:54 +00001#/** @file
2# Beagle board package.
3#
4# Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>
5#
6# This program and the accompanying materials
7# are licensed and made available under the terms and conditions of the BSD License
8# which accompanies this distribution. The full text of the license may be found at
9# http://opensource.org/licenses/bsd-license.php
10#
11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13#
14#**/
15
16################################################################################
17#
18# Defines Section - statements that will be processed to create a Makefile.
19#
20################################################################################
21[Defines]
22 PLATFORM_NAME = BeagleBoardPkg
23 PLATFORM_GUID = 91fa6c28-33df-46ac-aee6-292d6811ea31
24 PLATFORM_VERSION = 0.1
25 DSC_SPECIFICATION = 0x00010005
26 OUTPUT_DIRECTORY = Build/BeagleBoard
27 SUPPORTED_ARCHITECTURES = ARM
28 BUILD_TARGETS = DEBUG|RELEASE
29 SKUID_IDENTIFIER = DEFAULT
oliviermartin839864b2011-09-29 20:40:00 +000030 FLASH_DEFINITION = BeagleBoardPkg/BeagleBoardPkg.fdf
oliviermartin11c20f42011-09-22 22:53:54 +000031
32
33[LibraryClasses.common]
oliviermartin89a9f542011-11-01 23:46:18 +000034 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.inf
35 ArmPlatformLib|BeagleBoardPkg/Library/BeagleBoardLib/BeagleBoardLib.inf
36 ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA8Lib/ArmCortexA8Lib.inf
oliviermartin17839a42012-09-28 11:01:36 +000037 ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf
oliviermartin166c01f2013-03-06 00:01:49 +000038 ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
Ronald Cron3402aac2014-08-19 13:29:52 +000039
oliviermartin11c20f42011-09-22 22:53:54 +000040 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
41 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
42
43!if $(TARGET) == RELEASE
44 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
45 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
46!else
47 DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
48 UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf
49# UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf
50!endif
51 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
52
oliviermartin11c20f42011-09-22 22:53:54 +000053 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
Ronald Cron3402aac2014-08-19 13:29:52 +000054
oliviermartin11c20f42011-09-22 22:53:54 +000055 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
56 BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf
57
58 EfiResetSystemLib|BeagleBoardPkg/Library/ResetSystemLib/ResetSystemLib.inf
Ronald Cron3402aac2014-08-19 13:29:52 +000059
oliviermartin11c20f42011-09-22 22:53:54 +000060 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
61 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
62 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
Ronald Cron3402aac2014-08-19 13:29:52 +000063
oliviermartin11c20f42011-09-22 22:53:54 +000064 EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf
Ronald Cron3402aac2014-08-19 13:29:52 +000065
66
oliviermartin11c20f42011-09-22 22:53:54 +000067 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
Ronald Cron3402aac2014-08-19 13:29:52 +000068
oliviermartin11c20f42011-09-22 22:53:54 +000069 #
Ronald Cron3402aac2014-08-19 13:29:52 +000070 # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
oliviermartin11c20f42011-09-22 22:53:54 +000071 # in the debugger will show load and unload commands for symbols. You can cut and paste this
72 # into the command window to load symbols. We should be able to use a script to do this, but
73 # the version of RVD I have does not support scipts accessing system memory.
74 #
75# PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
76 PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
77# PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
78
Ronald Cron3402aac2014-08-19 13:29:52 +000079
oliviermartin11c20f42011-09-22 22:53:54 +000080 CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
81 DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
oliviermartin793ae6e2012-03-15 16:03:41 +000082 CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
oliviermartin11c20f42011-09-22 22:53:54 +000083 PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
Ronald Cron3402aac2014-08-19 13:29:52 +000084
oliviermartin11c20f42011-09-22 22:53:54 +000085 SerialPortLib|Omap35xxPkg/Library/SerialPortLib/SerialPortLib.inf
Ronald Cron3402aac2014-08-19 13:29:52 +000086 SerialPortExtLib|EmbeddedPkg/Library/TemplateSerialPortExtLib/TemplateSerialPortExtLib.inf
oliviermartin11c20f42011-09-22 22:53:54 +000087 SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf
Ronald Cron3402aac2014-08-19 13:29:52 +000088
oliviermartin0bade102011-09-28 18:59:32 +000089 RealTimeClockLib|Omap35xxPkg/Library/RealTimeClockLib/RealTimeClockLib.inf
oliviermartin11c20f42011-09-22 22:53:54 +000090
91 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
Ronald Cron3402aac2014-08-19 13:29:52 +000092
oliviermartin11c20f42011-09-22 22:53:54 +000093 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
94 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
95 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
96 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
97 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
98 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
99
100 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
101 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
102 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
103
104#
105# Assume everything is fixed at build
106#
107 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
108
109 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000110
oliviermartin11c20f42011-09-22 22:53:54 +0000111 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
oliviermartin11c20f42011-09-22 22:53:54 +0000112
113 CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
114
Ronald Cron3402aac2014-08-19 13:29:52 +0000115 TimerLib|Omap35xxPkg/Library/Omap35xxTimerLib/Omap35xxTimerLib.inf
oliviermartin11c20f42011-09-22 22:53:54 +0000116 OmapLib|Omap35xxPkg/Library/OmapLib/OmapLib.inf
117 OmapDmaLib|Omap35xxPkg/Library/OmapDmaLib/OmapDmaLib.inf
oliviermartin11c20f42011-09-22 22:53:54 +0000118 DebugAgentTimerLib|Omap35xxPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf
119
120 GdbSerialLib|Omap35xxPkg/Library/GdbSerialLib/GdbSerialLib.inf
121 ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
122 DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
123 DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf
124
Ronald Cron8bf4ad42014-07-15 09:25:57 +0000125 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
oliviermartin3d15d6c2011-09-22 23:24:54 +0000126 BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf
oliviermartin0a6653b2012-09-28 09:58:42 +0000127 FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
oliviermartin3d15d6c2011-09-22 23:24:54 +0000128
oliviermartin11c20f42011-09-22 22:53:54 +0000129[LibraryClasses.common.SEC]
130 ArmLib|ArmPkg/Library/ArmLib/ArmV7/ArmV7LibPrePi.inf
oliviermartin0bade102011-09-28 18:59:32 +0000131 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/PrePi/PrePiArmPlatformGlobalVariableLib.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000132
oliviermartin11c20f42011-09-22 22:53:54 +0000133 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
134 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
135 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
136 ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
137 LzmaDecompressLib|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
138
oliviermartin0bade102011-09-28 18:59:32 +0000139 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000140
oliviermartin11c20f42011-09-22 22:53:54 +0000141 HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
oliviermartin0bade102011-09-28 18:59:32 +0000142 PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
oliviermartin11c20f42011-09-22 22:53:54 +0000143 MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
144 PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
oliviermartin0bade102011-09-28 18:59:32 +0000145 PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
146 MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000147
oliviermartin11c20f42011-09-22 22:53:54 +0000148 # 1/123 faster than Stm or Vstm version
149 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
150
Ronald Cron3402aac2014-08-19 13:29:52 +0000151 # Uncomment to turn on GDB stub in SEC.
oliviermartin11c20f42011-09-22 22:53:54 +0000152 #DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf
153
154[LibraryClasses.common.PEI_CORE]
155 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
156 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
157
158[LibraryClasses.common.DXE_CORE]
159 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
160 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
161 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
162 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
163 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
164 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
165 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
166# PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
167 PeCoffLib|EmbeddedPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf
168
169 PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000170
oliviermartin11c20f42011-09-22 22:53:54 +0000171
172[LibraryClasses.common.DXE_DRIVER]
173 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
174 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
175 SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
176 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
oliviermartin89a9f542011-11-01 23:46:18 +0000177 ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Dxe/DxeArmPlatformGlobalVariableLib.inf
oliviermartin11c20f42011-09-22 22:53:54 +0000178
oliviermartin11c20f42011-09-22 22:53:54 +0000179[LibraryClasses.common.UEFI_APPLICATION]
180 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
181 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
182 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
183 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
184
185[LibraryClasses.common.UEFI_DRIVER]
186 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
187 UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
188 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
189 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
oliviermartinf2e60992012-08-02 18:21:16 +0000190 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
oliviermartin11c20f42011-09-22 22:53:54 +0000191
192[LibraryClasses.common.DXE_RUNTIME_DRIVER]
193 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
194 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
195 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
196 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
197# PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
198 PeCoffLib|EmbeddedPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf
199
200
201[LibraryClasses.ARM]
202 #
203 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
204 # This library provides the instrinsic functions generate by a given compiler.
205 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
206 #
207 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
208
Olivier Martin olivier.martinbd1d0622014-08-20 18:01:50 +0000209 # Add support for GCC stack protector
210 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
oliviermartin11c20f42011-09-22 22:53:54 +0000211
212[BuildOptions]
oliviermartin886f97c2011-09-27 16:42:47 +0000213 XCODE:*_*_ARM_PLATFORM_FLAGS == -arch armv7
oliviermartin11c20f42011-09-22 22:53:54 +0000214
oliviermartin886f97c2011-09-27 16:42:47 +0000215 GCC:*_*_ARM_PLATFORM_FLAGS == -march=armv7-a
oliviermartin11c20f42011-09-22 22:53:54 +0000216
oliviermartin886f97c2011-09-27 16:42:47 +0000217 RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A8
oliviermartin11c20f42011-09-22 22:53:54 +0000218
219################################################################################
220#
221# Pcd Section - list of all EDK II PCD Entries defined by this Platform
222#
223################################################################################
224
225[PcdsFeatureFlag.common]
226 gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE
227 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE
228 gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE
229 gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE
Ronald Cron3402aac2014-08-19 13:29:52 +0000230
oliviermartin11c20f42011-09-22 22:53:54 +0000231 #
232 # Control what commands are supported from the UI
233 # Turn these on and off to add features or save size
Ronald Cron3402aac2014-08-19 13:29:52 +0000234 #
oliviermartin11c20f42011-09-22 22:53:54 +0000235 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE
236 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE
237 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE
238 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE
239 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE
240 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE
241 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE
242
243 gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE
Ronald Cron3402aac2014-08-19 13:29:52 +0000244
oliviermartin11c20f42011-09-22 22:53:54 +0000245 # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
246 gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
Ronald Cron3402aac2014-08-19 13:29:52 +0000247
oliviermartin11c20f42011-09-22 22:53:54 +0000248 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
249 gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport|FALSE
250
251 gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
oliviermartin3d15d6c2011-09-22 23:24:54 +0000252
253 ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
254 # It could be set FALSE to save size.
255 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
256
oliviermartin11c20f42011-09-22 22:53:54 +0000257[PcdsFixedAtBuild.common]
oliviermartin3d15d6c2011-09-22 23:24:54 +0000258 gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"Beagle Board"
Ronald Cron3402aac2014-08-19 13:29:52 +0000259
oliviermartin11c20f42011-09-22 22:53:54 +0000260 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"BeagleEdk2"
oliviermartin11c20f42011-09-22 22:53:54 +0000261 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
262 gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
263 gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
264 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
265 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
266 gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
267 gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
268 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
269
270# DEBUG_ASSERT_ENABLED 0x01
271# DEBUG_PRINT_ENABLED 0x02
272# DEBUG_CODE_ENABLED 0x04
273# CLEAR_MEMORY_ENABLED 0x08
274# ASSERT_BREAKPOINT_ENABLED 0x10
275# ASSERT_DEADLOOP_ENABLED 0x20
276!if $(TARGET) == RELEASE
277 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
278!else
279 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
280!endif
281
282# DEBUG_INIT 0x00000001 // Initialization
283# DEBUG_WARN 0x00000002 // Warnings
284# DEBUG_LOAD 0x00000004 // Load events
285# DEBUG_FS 0x00000008 // EFI File system
286# DEBUG_POOL 0x00000010 // Alloc & Free's
287# DEBUG_PAGE 0x00000020 // Alloc & Free's
288# DEBUG_INFO 0x00000040 // Verbose
289# DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers
290# DEBUG_VARIABLE 0x00000100 // Variable
291# DEBUG_BM 0x00000400 // Boot Manager
292# DEBUG_BLKIO 0x00001000 // BlkIo Driver
293# DEBUG_NET 0x00004000 // SNI Driver
294# DEBUG_UNDI 0x00010000 // UNDI Driver
295# DEBUG_LOADFILE 0x00020000 // UNDI Driver
296# DEBUG_EVENT 0x00080000 // Event messages
297# DEBUG_ERROR 0x80000000 // Error
oliviermartin0bade102011-09-28 18:59:32 +0000298 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
oliviermartin11c20f42011-09-22 22:53:54 +0000299
300 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
301
302 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""
303 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07
304 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000
Ronald Cron3402aac2014-08-19 13:29:52 +0000305
oliviermartin11c20f42011-09-22 22:53:54 +0000306#
307# Optional feature to help prevent EFI memory map fragments
308# Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
Ronald Cron3402aac2014-08-19 13:29:52 +0000309# Values are in EFI Pages (4K). DXE Core will make sure that
310# at least this much of each type of memory can be allocated
oliviermartin11c20f42011-09-22 22:53:54 +0000311# from a single memory range. This way you only end up with
312# maximum of two fragements for each type in the memory map
313# (the memory used, and the free memory that was prereserved
314# but not used).
315#
316 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
317 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
318 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
319 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|80
320 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|40
321 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400
322 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|3000
323 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|10
324 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
325
326
327#
328# Beagle board Specific PCDs
329#
oliviermartin0bade102011-09-28 18:59:32 +0000330 gArmTokenSpaceGuid.PcdVFPEnabled|1
Ronald Cron3402aac2014-08-19 13:29:52 +0000331
oliviermartin11c20f42011-09-22 22:53:54 +0000332 gArmTokenSpaceGuid.PcdSystemMemoryBase|0x80000000
oliviermartin0bade102011-09-28 18:59:32 +0000333 gArmTokenSpaceGuid.PcdSystemMemorySize|0x08000000
oliviermartin11c20f42011-09-22 22:53:54 +0000334
oliviermartin0bade102011-09-28 18:59:32 +0000335 # Size of the region used by UEFI in permanent memory (Reserved 16MB)
336 gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x01000000
Ronald Cron3402aac2014-08-19 13:29:52 +0000337
oliviermartin0bade102011-09-28 18:59:32 +0000338 # Size of the region reserved for fixed address allocations (Reserved 32MB)
339 gArmTokenSpaceGuid.PcdArmLinuxKernelMaxOffset|0x02000000
340
341 gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x80008000
oliviermartin11c20f42011-09-22 22:53:54 +0000342 gArmTokenSpaceGuid.PcdCpuResetAddress|0x80008000
Ronald Cron3402aac2014-08-19 13:29:52 +0000343
oliviermartin11c20f42011-09-22 22:53:54 +0000344 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000
345 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterPeriodInNanoseconds|77
346 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|13000000
Ronald Cron3402aac2014-08-19 13:29:52 +0000347
oliviermartin11c20f42011-09-22 22:53:54 +0000348 #
349 # ARM Pcds
350 #
351 gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000
352
353 gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"Linux from SD"
354 gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(B615F1F5-5088-43CD-809C-A16E52487D00)/HD(1,MBR,0x00000000,0x3F,0x19FC0)/zImage"
oliviermartin89a9f542011-11-01 23:46:18 +0000355 gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|"console=tty0 console=ttyS2,115200n8 root=UUID=a4af765b-c2b5-48f4-9564-7a4e9104c4f6 rootwait ro earlyprintk"
oliviermartin11c20f42011-09-22 22:53:54 +0000356 gArmPlatformTokenSpaceGuid.PcdDefaultBootType|1
357 gArmPlatformTokenSpaceGuid.PcdPlatformBootTimeOut|10
oliviermartin11c20f42011-09-22 22:53:54 +0000358
oliviermartin89a9f542011-11-01 23:46:18 +0000359 gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi();VenHw(E68088EF-D1A4-4336-C1DB-4D3A204730A6)"
oliviermartin0bade102011-09-28 18:59:32 +0000360 gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi()"
oliviermartin11c20f42011-09-22 22:53:54 +0000361
362 #
363 # ARM OS Loader
364 #
Ronald Cron3402aac2014-08-19 13:29:52 +0000365 # BeagleBoard machine type (OMAP3_BEAGLE = 1546) required for ARM Linux:
366 gArmTokenSpaceGuid.PcdArmMachineType|1546
oliviermartin11c20f42011-09-22 22:53:54 +0000367
368################################################################################
369#
370# Components Section - list of all EDK II Modules needed by this Platform
371#
372################################################################################
373[Components.common]
374
oliviermartin0bade102011-09-28 18:59:32 +0000375 #
376 # SEC
377 #
378 ArmPlatformPkg/PrePi/PeiUniCore.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000379
oliviermartin0bade102011-09-28 18:59:32 +0000380 #
381 # DXE
382 #
oliviermartin11c20f42011-09-22 22:53:54 +0000383 MdeModulePkg/Core/Dxe/DxeMain.inf {
384 <LibraryClasses>
385 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
386 NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
387# NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000388 NULL|EmbeddedPkg/Library/LzmaHobCustomDecompressLib/LzmaHobCustomDecompressLib.inf
oliviermartin11c20f42011-09-22 22:53:54 +0000389 }
390
391 ArmPkg/Drivers/CpuDxe/CpuDxe.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000392
oliviermartin11c20f42011-09-22 22:53:54 +0000393 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
394 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
395 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
396 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
397 MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
398 EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000399
oliviermartin3d15d6c2011-09-22 23:24:54 +0000400 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
401 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000402 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
oliviermartin3d15d6c2011-09-22 23:24:54 +0000403 EmbeddedPkg/SerialDxe/SerialDxe.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000404 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
oliviermartin11c20f42011-09-22 22:53:54 +0000405#
Ronald Cron3402aac2014-08-19 13:29:52 +0000406# This version uses semi-hosting console
oliviermartin11c20f42011-09-22 22:53:54 +0000407# EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf {
408# <LibraryClasses>
409# SerialPortLib|ArmPkg/Library/SemiHostingSerialPortLib/SemiHostingSerialPortLib.inf
410# }
Ronald Cron3402aac2014-08-19 13:29:52 +0000411
oliviermartin11c20f42011-09-22 22:53:54 +0000412 EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
413 EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
414 EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
415
416 #
417 # Semi-hosting filesystem
418 #
419 ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000420
oliviermartin11c20f42011-09-22 22:53:54 +0000421 #
422 # FAT filesystem + GPT/MBR partitioning
423 #
424 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
425 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
oliviermartin11c20f42011-09-22 22:53:54 +0000426 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
427
428 #
429 # USB
430 #
431 Omap35xxPkg/PciEmulation/PciEmulation.inf
432
oliviermartin11c20f42011-09-22 22:53:54 +0000433 MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf {
434 <PcdsFixedAtBuild>
435 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x800fffff
436 }
437
438 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
439 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
440
441 #
442 # Nand Flash
443 #
444 Omap35xxPkg/Flash/Flash.inf
445
446 #
447 # MMC/SD
448 #
oliviermartin0bade102011-09-28 18:59:32 +0000449 EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
450 Omap35xxPkg/MmcHostDxe/MmcHostDxe.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000451
oliviermartin11c20f42011-09-22 22:53:54 +0000452 #
453 # I2C
454 #
455 Omap35xxPkg/SmbusDxe/Smbus.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000456
oliviermartin11c20f42011-09-22 22:53:54 +0000457 #
458 # SoC Drivers
459 #
460 Omap35xxPkg/Gpio/Gpio.inf
461 Omap35xxPkg/InterruptDxe/InterruptDxe.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000462 Omap35xxPkg/TimerDxe/TimerDxe.inf
oliviermartin3d15d6c2011-09-22 23:24:54 +0000463 Omap35xxPkg/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.inf
464
oliviermartin11c20f42011-09-22 22:53:54 +0000465 #
466 # Power IC
467 #
468 Omap35xxPkg/TPS65950Dxe/TPS65950.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000469
oliviermartin11c20f42011-09-22 22:53:54 +0000470 #
oliviermartin11c20f42011-09-22 22:53:54 +0000471 # Bds
472 #
473 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
474 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
Ronald Cron3402aac2014-08-19 13:29:52 +0000475 ArmPlatformPkg/Bds/Bds.inf
oliviermartin11c20f42011-09-22 22:53:54 +0000476
477 #
478 # Example Application
Ronald Cron3402aac2014-08-19 13:29:52 +0000479 #
oliviermartin11c20f42011-09-22 22:53:54 +0000480 MdeModulePkg/Application/HelloWorld/HelloWorld.inf
481