]>
Commit | Line | Data |
---|---|---|
11c20f4e | 1 | #/** @file\r |
2 | # Beagle board package.\r | |
3 | #\r | |
4 | # Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>\r | |
3d1ee3c1 | 5 | # Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>\r |
11c20f4e | 6 | #\r |
7 | # This program and the accompanying materials\r | |
8 | # are licensed and made available under the terms and conditions of the BSD License\r | |
9 | # which accompanies this distribution. The full text of the license may be found at\r | |
10 | # http://opensource.org/licenses/bsd-license.php\r | |
11 | #\r | |
12 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
13 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
14 | #\r | |
15 | #**/\r | |
16 | \r | |
17 | ################################################################################\r | |
18 | #\r | |
19 | # Defines Section - statements that will be processed to create a Makefile.\r | |
20 | #\r | |
21 | ################################################################################\r | |
22 | [Defines]\r | |
23 | PLATFORM_NAME = BeagleBoardPkg\r | |
24 | PLATFORM_GUID = 91fa6c28-33df-46ac-aee6-292d6811ea31\r | |
25 | PLATFORM_VERSION = 0.1\r | |
26 | DSC_SPECIFICATION = 0x00010005\r | |
27 | OUTPUT_DIRECTORY = Build/BeagleBoard\r | |
28 | SUPPORTED_ARCHITECTURES = ARM\r | |
29 | BUILD_TARGETS = DEBUG|RELEASE\r | |
30 | SKUID_IDENTIFIER = DEFAULT\r | |
839864b2 | 31 | FLASH_DEFINITION = BeagleBoardPkg/BeagleBoardPkg.fdf\r |
11c20f4e | 32 | \r |
33 | \r | |
34 | [LibraryClasses.common]\r | |
4af5227c | 35 | ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf\r |
b8f76eae | 36 | ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf\r |
89a9f54f | 37 | ArmPlatformLib|BeagleBoardPkg/Library/BeagleBoardLib/BeagleBoardLib.inf\r |
38 | ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexA8Lib/ArmCortexA8Lib.inf\r | |
17839a45 | 39 | ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf\r |
166c01fb | 40 | ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf\r |
3402aac7 | 41 | \r |
11c20f4e | 42 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r |
43 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r | |
44 | \r | |
45 | !if $(TARGET) == RELEASE\r | |
46 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r | |
47 | UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r | |
48 | !else\r | |
49 | DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r | |
50 | UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf\r | |
51 | # UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf\r | |
52 | !endif\r | |
53 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r | |
54 | \r | |
11c20f4e | 55 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r |
3402aac7 | 56 | \r |
11c20f4e | 57 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r |
58 | BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf\r | |
59 | \r | |
60 | EfiResetSystemLib|BeagleBoardPkg/Library/ResetSystemLib/ResetSystemLib.inf\r | |
3402aac7 | 61 | \r |
11c20f4e | 62 | PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r |
63 | PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r | |
64 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r | |
3402aac7 | 65 | \r |
11c20f4e | 66 | EfiFileLib|EmbeddedPkg/Library/EfiFileLib/EfiFileLib.inf\r |
3402aac7 | 67 | \r |
0ead5ec4 RC |
68 | # These libraries are used by the dynamic EFI Shell commands\r |
69 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r | |
70 | FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r | |
71 | SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r | |
3402aac7 | 72 | \r |
11c20f4e | 73 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r |
3402aac7 | 74 | \r |
11c20f4e | 75 | #\r |
3402aac7 | 76 | # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window\r |
11c20f4e | 77 | # in the debugger will show load and unload commands for symbols. You can cut and paste this\r |
78 | # into the command window to load symbols. We should be able to use a script to do this, but\r | |
79 | # the version of RVD I have does not support scipts accessing system memory.\r | |
80 | #\r | |
81 | # PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf\r | |
82 | PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf\r | |
83 | # PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r | |
84 | \r | |
3402aac7 | 85 | \r |
11c20f4e | 86 | CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf\r |
87 | DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf\r | |
e463519f | 88 | CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf\r |
11c20f4e | 89 | PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf\r |
3402aac7 | 90 | \r |
11c20f4e | 91 | SerialPortLib|Omap35xxPkg/Library/SerialPortLib/SerialPortLib.inf\r |
92 | SemihostLib|ArmPkg/Library/SemihostLib/SemihostLib.inf\r | |
3402aac7 | 93 | \r |
0bade105 | 94 | RealTimeClockLib|Omap35xxPkg/Library/RealTimeClockLib/RealTimeClockLib.inf\r |
11c20f4e | 95 | \r |
96 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r | |
3402aac7 | 97 | \r |
11c20f4e | 98 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r |
99 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r | |
100 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r | |
101 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r | |
102 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r | |
103 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r | |
104 | \r | |
105 | DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r | |
106 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r | |
107 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r | |
108 | \r | |
109 | #\r | |
110 | # Assume everything is fixed at build\r | |
111 | #\r | |
112 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
113 | \r | |
114 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r | |
3402aac7 | 115 | \r |
11c20f4e | 116 | UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r |
11c20f4e | 117 | \r |
118 | CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r | |
119 | \r | |
3402aac7 | 120 | TimerLib|Omap35xxPkg/Library/Omap35xxTimerLib/Omap35xxTimerLib.inf\r |
11c20f4e | 121 | OmapLib|Omap35xxPkg/Library/OmapLib/OmapLib.inf\r |
122 | OmapDmaLib|Omap35xxPkg/Library/OmapDmaLib/OmapDmaLib.inf\r | |
11c20f4e | 123 | DebugAgentTimerLib|Omap35xxPkg/Library/DebugAgentTimerLib/DebugAgentTimerLib.inf\r |
124 | \r | |
125 | GdbSerialLib|Omap35xxPkg/Library/GdbSerialLib/GdbSerialLib.inf\r | |
126 | ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf\r | |
127 | DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf\r | |
128 | DmaLib|ArmPkg/Library/ArmDmaLib/ArmDmaLib.inf\r | |
129 | \r | |
8bf4ad44 | 130 | NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r |
3d15d6c4 | 131 | BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf\r |
0a6653bc | 132 | FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf\r |
3d15d6c4 | 133 | \r |
11c20f4e | 134 | [LibraryClasses.common.SEC]\r |
11c20f4e | 135 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r |
136 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r | |
137 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r | |
138 | ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf\r | |
9435a57e | 139 | LzmaDecompressLib|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf\r |
11c20f4e | 140 | \r |
0bade105 | 141 | PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r |
3402aac7 | 142 | \r |
11c20f4e | 143 | HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf\r |
0bade105 | 144 | PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf\r |
11c20f4e | 145 | MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf\r |
146 | PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r | |
0bade105 | 147 | PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf\r |
148 | MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf\r | |
3402aac7 | 149 | \r |
11c20f4e | 150 | # 1/123 faster than Stm or Vstm version\r |
151 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r | |
152 | \r | |
3402aac7 | 153 | # Uncomment to turn on GDB stub in SEC.\r |
11c20f4e | 154 | #DebugAgentLib|EmbeddedPkg/Library/GdbDebugAgent/GdbDebugAgent.inf\r |
155 | \r | |
156 | [LibraryClasses.common.PEI_CORE]\r | |
157 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
158 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r | |
159 | \r | |
160 | [LibraryClasses.common.DXE_CORE]\r | |
161 | HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r | |
162 | MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf\r | |
163 | DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r | |
164 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r | |
165 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r | |
166 | UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r | |
167 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r | |
168 | # PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r | |
169 | PeCoffLib|EmbeddedPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf\r | |
170 | \r | |
171 | PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf\r | |
3402aac7 | 172 | \r |
11c20f4e | 173 | \r |
174 | [LibraryClasses.common.DXE_DRIVER]\r | |
175 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r | |
176 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r | |
177 | SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf\r | |
178 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r | |
179 | \r | |
11c20f4e | 180 | [LibraryClasses.common.UEFI_APPLICATION]\r |
181 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r | |
182 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r | |
183 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r | |
184 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r | |
185 | \r | |
186 | [LibraryClasses.common.UEFI_DRIVER]\r | |
187 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r | |
188 | UefiDecompressLib|IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r | |
189 | ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r | |
190 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r | |
f2e6099a | 191 | DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r |
11c20f4e | 192 | \r |
193 | [LibraryClasses.common.DXE_RUNTIME_DRIVER]\r | |
194 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r | |
195 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
196 | ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r | |
197 | CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r | |
198 | # PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r | |
199 | PeCoffLib|EmbeddedPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf\r | |
200 | \r | |
201 | \r | |
202 | [LibraryClasses.ARM]\r | |
203 | #\r | |
204 | # It is not possible to prevent the ARM compiler for generic intrinsic functions.\r | |
205 | # This library provides the instrinsic functions generate by a given compiler.\r | |
206 | # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.\r | |
207 | #\r | |
208 | NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r | |
209 | \r | |
bd1d0628 OM |
210 | # Add support for GCC stack protector\r |
211 | NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r | |
11c20f4e | 212 | \r |
213 | [BuildOptions]\r | |
886f97c8 | 214 | XCODE:*_*_ARM_PLATFORM_FLAGS == -arch armv7\r |
215 | \r | |
216 | GCC:*_*_ARM_PLATFORM_FLAGS == -march=armv7-a\r | |
217 | \r | |
218 | RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A8\r | |
11c20f4e | 219 | \r |
220 | ################################################################################\r | |
221 | #\r | |
222 | # Pcd Section - list of all EDK II PCD Entries defined by this Platform\r | |
223 | #\r | |
224 | ################################################################################\r | |
225 | \r | |
226 | [PcdsFeatureFlag.common]\r | |
227 | gEfiMdePkgTokenSpaceGuid.PcdComponentNameDisable|TRUE\r | |
228 | gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnosticsDisable|TRUE\r | |
229 | gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE\r | |
230 | gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE\r | |
3402aac7 | 231 | \r |
11c20f4e | 232 | #\r |
233 | # Control what commands are supported from the UI\r | |
234 | # Turn these on and off to add features or save size\r | |
3402aac7 | 235 | #\r |
11c20f4e | 236 | gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE\r |
237 | gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE\r | |
238 | gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE\r | |
239 | gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE\r | |
240 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE\r | |
241 | gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE\r | |
242 | gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE\r | |
243 | \r | |
244 | gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE\r | |
3402aac7 | 245 | \r |
11c20f4e | 246 | # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress\r |
247 | gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE\r | |
3402aac7 | 248 | \r |
11c20f4e | 249 | gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE\r |
250 | gArmTokenSpaceGuid.PcdCpuDxeProduceDebugSupport|FALSE\r | |
251 | \r | |
252 | gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE\r | |
3d15d6c4 | 253 | \r |
254 | ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.\r | |
255 | # It could be set FALSE to save size.\r | |
256 | gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE\r | |
257 | \r | |
11c20f4e | 258 | [PcdsFixedAtBuild.common]\r |
3d15d6c4 | 259 | gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"Beagle Board"\r |
3402aac7 | 260 | \r |
11c20f4e | 261 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"BeagleEdk2"\r |
11c20f4e | 262 | gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000\r |
263 | gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000\r | |
264 | gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000\r | |
265 | gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000\r | |
266 | gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF\r | |
267 | gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1\r | |
268 | gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0\r | |
269 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320\r | |
270 | \r | |
271 | # DEBUG_ASSERT_ENABLED 0x01\r | |
272 | # DEBUG_PRINT_ENABLED 0x02\r | |
273 | # DEBUG_CODE_ENABLED 0x04\r | |
274 | # CLEAR_MEMORY_ENABLED 0x08\r | |
275 | # ASSERT_BREAKPOINT_ENABLED 0x10\r | |
276 | # ASSERT_DEADLOOP_ENABLED 0x20\r | |
277 | !if $(TARGET) == RELEASE\r | |
278 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21\r | |
279 | !else\r | |
280 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f\r | |
281 | !endif\r | |
282 | \r | |
283 | # DEBUG_INIT 0x00000001 // Initialization\r | |
284 | # DEBUG_WARN 0x00000002 // Warnings\r | |
285 | # DEBUG_LOAD 0x00000004 // Load events\r | |
286 | # DEBUG_FS 0x00000008 // EFI File system\r | |
73368d28 LE |
287 | # DEBUG_POOL 0x00000010 // Alloc & Free (pool)\r |
288 | # DEBUG_PAGE 0x00000020 // Alloc & Free (page)\r | |
289 | # DEBUG_INFO 0x00000040 // Informational debug messages\r | |
290 | # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers\r | |
11c20f4e | 291 | # DEBUG_VARIABLE 0x00000100 // Variable\r |
292 | # DEBUG_BM 0x00000400 // Boot Manager\r | |
293 | # DEBUG_BLKIO 0x00001000 // BlkIo Driver\r | |
73368d28 | 294 | # DEBUG_NET 0x00004000 // SNP Driver\r |
11c20f4e | 295 | # DEBUG_UNDI 0x00010000 // UNDI Driver\r |
73368d28 | 296 | # DEBUG_LOADFILE 0x00020000 // LoadFile\r |
11c20f4e | 297 | # DEBUG_EVENT 0x00080000 // Event messages\r |
73368d28 LE |
298 | # DEBUG_GCD 0x00100000 // Global Coherency Database changes\r |
299 | # DEBUG_CACHE 0x00200000 // Memory range cachability changes\r | |
300 | # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may\r | |
301 | # // significantly impact boot performance\r | |
11c20f4e | 302 | # DEBUG_ERROR 0x80000000 // Error\r |
0bade105 | 303 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F\r |
11c20f4e | 304 | \r |
305 | gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r | |
306 | \r | |
307 | gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|""\r | |
308 | gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07\r | |
309 | gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000\r | |
3402aac7 | 310 | \r |
11c20f4e | 311 | #\r |
312 | # Optional feature to help prevent EFI memory map fragments\r | |
313 | # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob\r | |
3402aac7 RC |
314 | # Values are in EFI Pages (4K). DXE Core will make sure that\r |
315 | # at least this much of each type of memory can be allocated\r | |
11c20f4e | 316 | # from a single memory range. This way you only end up with\r |
317 | # maximum of two fragements for each type in the memory map\r | |
318 | # (the memory used, and the free memory that was prereserved\r | |
319 | # but not used).\r | |
320 | #\r | |
321 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0\r | |
322 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0\r | |
323 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0\r | |
324 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|80\r | |
325 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|40\r | |
326 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400\r | |
327 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|3000\r | |
328 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|10\r | |
329 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0\r | |
330 | \r | |
331 | \r | |
332 | #\r | |
333 | # Beagle board Specific PCDs\r | |
334 | #\r | |
0bade105 | 335 | gArmTokenSpaceGuid.PcdVFPEnabled|1\r |
3402aac7 | 336 | \r |
11c20f4e | 337 | gArmTokenSpaceGuid.PcdSystemMemoryBase|0x80000000\r |
0bade105 | 338 | gArmTokenSpaceGuid.PcdSystemMemorySize|0x08000000\r |
339 | \r | |
340 | # Size of the region used by UEFI in permanent memory (Reserved 16MB)\r | |
341 | gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x01000000\r | |
3402aac7 | 342 | \r |
0bade105 | 343 | # Size of the region reserved for fixed address allocations (Reserved 32MB)\r |
344 | gArmTokenSpaceGuid.PcdArmLinuxKernelMaxOffset|0x02000000\r | |
11c20f4e | 345 | \r |
0bade105 | 346 | gArmTokenSpaceGuid.PcdCpuVectorBaseAddress|0x80008000\r |
11c20f4e | 347 | gArmTokenSpaceGuid.PcdCpuResetAddress|0x80008000\r |
3402aac7 | 348 | \r |
11c20f4e | 349 | gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000\r |
350 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterPeriodInNanoseconds|77\r | |
351 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|13000000\r | |
3402aac7 | 352 | \r |
0ead5ec4 RC |
353 | # We want to use the Shell Libraries but don't want it to initialise\r |
354 | # automatically. We initialise the libraries when the command is called by the\r | |
355 | # Shell.\r | |
356 | gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r | |
357 | \r | |
11c20f4e | 358 | #\r |
359 | # ARM Pcds\r | |
360 | #\r | |
361 | gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000\r | |
362 | \r | |
363 | gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"Linux from SD"\r | |
0ead5ec4 | 364 | gArmPlatformTokenSpaceGuid.PcdDefaultBootDevicePath|L"VenHw(B615F1F5-5088-43CD-809C-A16E52487D00)/HD(1,MBR,0x00000000,0x3F,0x19FC0)/Image"\r |
89a9f54f | 365 | gArmPlatformTokenSpaceGuid.PcdDefaultBootArgument|"console=tty0 console=ttyS2,115200n8 root=UUID=a4af765b-c2b5-48f4-9564-7a4e9104c4f6 rootwait ro earlyprintk"\r |
db1b9ea0 | 366 | gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|10\r |
11c20f4e | 367 | \r |
89a9f54f | 368 | gArmPlatformTokenSpaceGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi();VenHw(E68088EF-D1A4-4336-C1DB-4D3A204730A6)"\r |
0bade105 | 369 | gArmPlatformTokenSpaceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(115200,8,N,1)/VenPcAnsi()"\r |
11c20f4e | 370 | \r |
11c20f4e | 371 | ################################################################################\r |
372 | #\r | |
373 | # Components Section - list of all EDK II Modules needed by this Platform\r | |
374 | #\r | |
375 | ################################################################################\r | |
376 | [Components.common]\r | |
377 | \r | |
0bade105 | 378 | #\r |
379 | # SEC\r | |
380 | #\r | |
381 | ArmPlatformPkg/PrePi/PeiUniCore.inf\r | |
3402aac7 | 382 | \r |
0bade105 | 383 | #\r |
384 | # DXE\r | |
385 | #\r | |
11c20f4e | 386 | MdeModulePkg/Core/Dxe/DxeMain.inf {\r |
387 | <LibraryClasses>\r | |
388 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
389 | NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r | |
3402aac7 | 390 | NULL|EmbeddedPkg/Library/LzmaHobCustomDecompressLib/LzmaHobCustomDecompressLib.inf\r |
11c20f4e | 391 | }\r |
392 | \r | |
393 | ArmPkg/Drivers/CpuDxe/CpuDxe.inf\r | |
3402aac7 | 394 | \r |
11c20f4e | 395 | MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf\r |
396 | MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf\r | |
397 | MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf\r | |
398 | MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf\r | |
399 | MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf\r | |
400 | EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf\r | |
3402aac7 | 401 | \r |
3d15d6c4 | 402 | MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf\r |
403 | MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf\r | |
3402aac7 | 404 | MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf\r |
e497d900 | 405 | MdeModulePkg/Universal/SerialDxe/SerialDxe.inf\r |
3402aac7 | 406 | MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf\r |
11c20f4e | 407 | #\r |
3402aac7 | 408 | # This version uses semi-hosting console\r |
11c20f4e | 409 | # EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf {\r |
410 | # <LibraryClasses>\r | |
411 | # SerialPortLib|ArmPkg/Library/SemiHostingSerialPortLib/SemiHostingSerialPortLib.inf\r | |
412 | # }\r | |
3402aac7 | 413 | \r |
11c20f4e | 414 | EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf\r |
415 | EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf\r | |
416 | EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf\r | |
417 | \r | |
418 | #\r | |
419 | # Semi-hosting filesystem\r | |
420 | #\r | |
421 | ArmPkg/Filesystem/SemihostFs/SemihostFs.inf\r | |
3402aac7 | 422 | \r |
11c20f4e | 423 | #\r |
424 | # FAT filesystem + GPT/MBR partitioning\r | |
425 | #\r | |
426 | MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf\r | |
427 | MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf\r | |
11c20f4e | 428 | MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r |
3d1ee3c1 | 429 | FatPkg/EnhancedFatDxe/Fat.inf\r |
11c20f4e | 430 | \r |
431 | #\r | |
432 | # USB\r | |
433 | #\r | |
434 | Omap35xxPkg/PciEmulation/PciEmulation.inf\r | |
435 | \r | |
11c20f4e | 436 | MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf {\r |
437 | <PcdsFixedAtBuild>\r | |
438 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x800fffff\r | |
439 | }\r | |
440 | \r | |
441 | MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf\r | |
442 | MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf\r | |
443 | \r | |
444 | #\r | |
445 | # Nand Flash\r | |
446 | #\r | |
447 | Omap35xxPkg/Flash/Flash.inf\r | |
448 | \r | |
449 | #\r | |
450 | # MMC/SD\r | |
451 | #\r | |
0bade105 | 452 | EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf\r |
453 | Omap35xxPkg/MmcHostDxe/MmcHostDxe.inf\r | |
3402aac7 | 454 | \r |
11c20f4e | 455 | #\r |
456 | # I2C\r | |
457 | #\r | |
458 | Omap35xxPkg/SmbusDxe/Smbus.inf\r | |
3402aac7 | 459 | \r |
11c20f4e | 460 | #\r |
461 | # SoC Drivers\r | |
462 | #\r | |
463 | Omap35xxPkg/Gpio/Gpio.inf\r | |
464 | Omap35xxPkg/InterruptDxe/InterruptDxe.inf\r | |
3402aac7 | 465 | Omap35xxPkg/TimerDxe/TimerDxe.inf\r |
3d15d6c4 | 466 | Omap35xxPkg/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.inf\r |
467 | \r | |
11c20f4e | 468 | #\r |
469 | # Power IC\r | |
470 | #\r | |
471 | Omap35xxPkg/TPS65950Dxe/TPS65950.inf\r | |
3402aac7 | 472 | \r |
11c20f4e | 473 | #\r |
474 | # Bds\r | |
475 | #\r | |
476 | MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r | |
477 | MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf\r | |
3402aac7 | 478 | ArmPlatformPkg/Bds/Bds.inf\r |
11c20f4e | 479 | \r |
0ead5ec4 RC |
480 | # Legacy Linux Loader\r |
481 | ArmPkg/Application/LinuxLoader/LinuxLoader.inf\r | |
482 | \r | |
11c20f4e | 483 | #\r |
484 | # Example Application\r | |
3402aac7 | 485 | #\r |
11c20f4e | 486 | MdeModulePkg/Application/HelloWorld/HelloWorld.inf\r |
487 | \r |