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