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