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