Overdrive1000Board.dsc 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664
  1. #
  2. # Copyright (c) 2014 - 2016, AMD Incorporated. All rights reserved.
  3. #
  4. # This program and the accompanying materials are licensed and made
  5. # available under the terms and conditions of the BSD License which
  6. # accompanies this distribution. The full text of the license may
  7. # be found at http://opensource.org/licenses/bsd-license.php
  8. #
  9. # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
  10. # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
  11. #
  12. ################################################################################
  13. #
  14. # Defines Section - statements that will be processed to create a Makefile.
  15. #
  16. ################################################################################
  17. [Defines]
  18. DEFINE NUM_CORES = 4
  19. PLATFORM_NAME = Overdrive1000
  20. PLATFORM_GUID = 36774DD7-20DE-4C5B-8722-f8861DFF1F16
  21. PLATFORM_VERSION = 0.1
  22. DSC_SPECIFICATION = 0x00010005
  23. OUTPUT_DIRECTORY = Build/Overdrive1000
  24. SUPPORTED_ARCHITECTURES = AARCH64
  25. BUILD_TARGETS = DEBUG|RELEASE
  26. SKUID_IDENTIFIER = DEFAULT
  27. FLASH_DEFINITION = Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.fdf
  28. ################################################################################
  29. #
  30. # Library Class section - list of all Library Classes needed by this Platform.
  31. #
  32. ################################################################################
  33. [LibraryClasses.common]
  34. !if $(TARGET) == RELEASE
  35. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  36. !else
  37. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  38. !endif
  39. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  40. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  41. SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
  42. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  43. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  44. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  45. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  46. IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
  47. PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf
  48. UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
  49. CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
  50. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  51. UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
  52. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  53. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  54. DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
  55. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  56. DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
  57. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  58. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  59. HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
  60. UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
  61. UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
  62. #
  63. # Allow dynamic PCDs
  64. #
  65. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  66. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  67. BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf
  68. # Networking Requirements
  69. NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
  70. DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf
  71. UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf
  72. IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf
  73. # ARM Architectural Libraries
  74. CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
  75. DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
  76. CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf
  77. ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
  78. ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
  79. ArmGicArchLib|ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf
  80. ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf
  81. ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
  82. ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf
  83. PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
  84. ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
  85. ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
  86. ArmPlatformLib|Silicon/AMD/Styx/Library/AmdStyxLib/AmdStyxLib.inf
  87. TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
  88. UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
  89. # ARM PL011 UART Driver
  90. PL011UartClockLib|ArmPlatformPkg/Library/PL011UartClockLib/PL011UartClockLib.inf
  91. PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf
  92. SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf
  93. #
  94. # PCI support
  95. #
  96. PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf
  97. PciLib|MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
  98. PciHostBridgeLib|Silicon/AMD/Styx/Library/AmdStyxPciHostBridgeLib/AmdStyxPciHostBridgeLib.inf
  99. #
  100. # Styx specific libraries
  101. #
  102. AmdSataInit|Silicon/AMD/Styx/AmdModulePkg/Library/AmdSataInitLib/AmdSataInitLib.inf
  103. ResetSystemLib|ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf
  104. RealTimeClockLib|Silicon/AMD/Styx/Library/RealTimeClockLib/RealTimeClockLib.inf
  105. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
  106. UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
  107. PlatformBootManagerLib|ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
  108. BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
  109. CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
  110. #
  111. # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
  112. # in the debugger will show load and unload commands for symbols. You can cut and paste this
  113. # into the command window to load symbols. We should be able to use a script to do this, but
  114. # the version of RVD I have does not support scripts accessing system memory.
  115. #
  116. #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
  117. PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
  118. #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
  119. DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
  120. DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf
  121. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  122. SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
  123. FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
  124. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  125. SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
  126. FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
  127. [LibraryClasses.common.SEC]
  128. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  129. PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
  130. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  131. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  132. ArmPlatformLib|Silicon/AMD/Styx/Library/AmdStyxLib/AmdStyxLibSec.inf
  133. DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf
  134. ArmGicArchLib|ArmPkg/Library/ArmGicArchSecLib/ArmGicArchSecLib.inf
  135. [LibraryClasses.common.PEIM, LibraryClasses.common.SEC]
  136. MemoryInitPeiLib|Silicon/AMD/Styx/Library/MemoryInitPei/MemoryInitPeiLib.inf
  137. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  138. [LibraryClasses.common.PEI_CORE]
  139. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  140. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  141. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  142. PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
  143. PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
  144. ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
  145. OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
  146. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  147. ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
  148. PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
  149. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  150. [LibraryClasses.common.PEIM]
  151. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  152. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  153. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  154. PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
  155. PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
  156. ReportStatusCodeLib|MdeModulePkg/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
  157. OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
  158. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  159. PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
  160. ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
  161. PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
  162. [LibraryClasses.common.DXE_CORE]
  163. HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
  164. MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
  165. DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  166. ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
  167. ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
  168. PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
  169. [LibraryClasses.common.DXE_DRIVER]
  170. ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
  171. SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
  172. PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
  173. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  174. NonDiscoverableDeviceRegistrationLib|MdeModulePkg/Library/NonDiscoverableDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.inf
  175. [LibraryClasses.common.DXE_RUNTIME_DRIVER]
  176. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  177. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  178. ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
  179. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
  180. !if $(TARGET) != RELEASE
  181. DebugLib|MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf
  182. !endif
  183. [LibraryClasses.common.UEFI_APPLICATION]
  184. PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
  185. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  186. HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
  187. ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
  188. [LibraryClasses.common.UEFI_DRIVER]
  189. ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
  190. ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
  191. PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
  192. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  193. [LibraryClasses.ARM]
  194. #
  195. # It is not possible to prevent the ARM compiler for generic intrinsic functions.
  196. # This library provides the instrinsic functions generate by a given compiler.
  197. # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
  198. #
  199. NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
  200. [LibraryClasses.AARCH64]
  201. NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
  202. NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
  203. ###################################################################################################
  204. # BuildOptions Section - Define the module specific tool chain flags that should be used as
  205. # the default flags for a module. These flags are appended to any
  206. # standard flags that are defined by the build process.
  207. ###################################################################################################
  208. [BuildOptions]
  209. GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
  210. [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
  211. GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000
  212. ################################################################################
  213. #
  214. # Pcd Section - list of all EDK II PCD Entries defined by this Platform
  215. #
  216. ################################################################################
  217. [PcdsFeatureFlag.common]
  218. # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
  219. gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
  220. gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
  221. gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
  222. ## If TRUE, Graphics Output Protocol will be installed on virtual handle
  223. ## created by ConsplitterDxe. It could be set FALSE to save size.
  224. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|FALSE
  225. [PcdsFixedAtBuild.common]
  226. gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
  227. gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
  228. gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
  229. gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
  230. gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
  231. gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
  232. gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
  233. gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
  234. # DEBUG_ASSERT_ENABLED 0x01
  235. # DEBUG_PRINT_ENABLED 0x02
  236. # DEBUG_CODE_ENABLED 0x04
  237. # CLEAR_MEMORY_ENABLED 0x08
  238. # ASSERT_BREAKPOINT_ENABLED 0x10
  239. # ASSERT_DEADLOOP_ENABLED 0x20
  240. !if $(TARGET) == RELEASE
  241. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
  242. !else
  243. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
  244. !endif
  245. # DEBUG_INIT 0x00000001 // Initialization
  246. # DEBUG_WARN 0x00000002 // Warnings
  247. # DEBUG_LOAD 0x00000004 // Load events
  248. # DEBUG_FS 0x00000008 // EFI File system
  249. # DEBUG_POOL 0x00000010 // Alloc & Free's
  250. # DEBUG_PAGE 0x00000020 // Alloc & Free's
  251. # DEBUG_INFO 0x00000040 // Verbose
  252. # DEBUG_DISPATCH 0x00000080 // PEI/DXE Dispatchers
  253. # DEBUG_VARIABLE 0x00000100 // Variable
  254. # DEBUG_BM 0x00000400 // Boot Manager
  255. # DEBUG_BLKIO 0x00001000 // BlkIo Driver
  256. # DEBUG_NET 0x00004000 // SNI Driver
  257. # DEBUG_UNDI 0x00010000 // UNDI Driver
  258. # DEBUG_LOADFILE 0x00020000 // UNDI Driver
  259. # DEBUG_EVENT 0x00080000 // Event messages
  260. # DEBUG_GCD 0x00100000 // Global Coherency Database changes
  261. # DEBUG_CACHE 0x00200000 // Memory range cachability changes
  262. # DEBUG_ERROR 0x80000000 // Error
  263. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
  264. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
  265. #
  266. # Optional feature to help prevent EFI memory map fragments
  267. # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
  268. # Values are in EFI Pages (4K). DXE Core will make sure that
  269. # at least this much of each type of memory can be allocated
  270. # from a single memory range. This way you only end up with
  271. # maximum of two fragements for each type in the memory map
  272. # (the memory used, and the free memory that was prereserved
  273. # but not used).
  274. #
  275. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
  276. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
  277. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
  278. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|1000
  279. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|1000
  280. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|400
  281. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|12000
  282. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
  283. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
  284. gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
  285. gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
  286. gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|L"SoftIron Overdrive 1000"
  287. # Number of configured cores
  288. gArmPlatformTokenSpaceGuid.PcdCoreCount|$(NUM_CORES)
  289. # Stacks for MPCores in Normal World
  290. gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x8001680000
  291. gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x10000
  292. gArmPlatformTokenSpaceGuid.PcdCPUCoreSecondaryStackSize|0x800
  293. # Declare system memory base
  294. gArmTokenSpaceGuid.PcdSystemMemoryBase|0x8000000000
  295. # Size of the region used by UEFI in permanent memory (Reserved 64MB)
  296. gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000
  297. #
  298. # ARM PrimeCell
  299. #
  300. ## PL011 - Serial Terminal (Atlas UART)
  301. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x0E1010000
  302. gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|115200
  303. gEfiMdePkgTokenSpaceGuid.PcdUartDefaultReceiveFifoDepth|0
  304. # serial port is clocked at 100MHz
  305. gArmPlatformTokenSpaceGuid.PL011UartClkInHz|100000000
  306. gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|4
  307. gAmdStyxTokenSpaceGuid.PcdSerialDbgRegisterBase|0x0E1010000
  308. gAmdStyxTokenSpaceGuid.PcdUartDbgBaudRate|115200
  309. #
  310. # ARM General Interrupt Controller
  311. #
  312. gArmTokenSpaceGuid.PcdGicDistributorBase|0xE1110000
  313. gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0xE112F000
  314. #
  315. # 2 ports active on Overdrive 1000
  316. #
  317. gAmdStyxTokenSpaceGuid.PcdSata0PortCount|2
  318. gAmdStyxTokenSpaceGuid.PcdSata1PortCount|0
  319. gAmdStyxTokenSpaceGuid.PcdSataPortMode|0xf
  320. # PCIe Support
  321. gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xF0000000
  322. gArmTokenSpaceGuid.PcdPciBusMin|0x0
  323. gArmTokenSpaceGuid.PcdPciBusMax|0xFF
  324. gArmTokenSpaceGuid.PcdPciIoBase|0x1000
  325. gArmTokenSpaceGuid.PcdPciIoSize|0xF000
  326. gArmTokenSpaceGuid.PcdPciIoTranslation|0xEFFF0000
  327. gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|16
  328. gArmTokenSpaceGuid.PcdPciMmio32Base|0x40000000
  329. gArmTokenSpaceGuid.PcdPciMmio32Size|0x80000000
  330. gArmTokenSpaceGuid.PcdPciMmio32Translation|0x0
  331. gArmTokenSpaceGuid.PcdPciMmio64Base|0x100000000
  332. gArmTokenSpaceGuid.PcdPciMmio64Size|0x7F00000000
  333. gArmTokenSpaceGuid.PcdPciMmio64Translation|0x0
  334. ## Use PCI emulation for ATA PassThru
  335. # gEfiMdeModulePkgTokenSpaceGuid.PcdAtaPassThruPciEmulation|TRUE
  336. ## ACPI (no tables < 4GB)
  337. gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiExposedTableVersions|0x20
  338. # SMBIOS 3.0 only
  339. gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosEntryPointProvideMethod|0x2
  340. gAmdModulePkgTokenSpaceGuid.PcdSataNumChPerSerdes|2
  341. gAmdModulePkgTokenSpaceGuid.PcdSataSerdesBase|0xE1200000
  342. gAmdModulePkgTokenSpaceGuid.PcdSataSerdesOffset|0x00010000
  343. # map the stack as non-executable when entering the DXE phase
  344. gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|TRUE
  345. gAmdStyxTokenSpaceGuid.PcdEnableKcs|TRUE
  346. [PcdsPatchableInModule]
  347. # PCIe Configuration: x4x2x2 (=2 See Include/FDKGionb.h)
  348. gAmdModulePkgTokenSpaceGuid.PcdPcieCoreConfiguration|2
  349. gAmdModulePkgTokenSpaceGuid.PcdPciePort0Present|0
  350. gAmdModulePkgTokenSpaceGuid.PcdPciePort1Present|1
  351. gAmdModulePkgTokenSpaceGuid.PcdPciePort2Present|1
  352. gAmdModulePkgTokenSpaceGuid.PcdPcieHardcodeEnumeration|TRUE
  353. [PcdsDynamicDefault.common]
  354. gAmdStyxTokenSpaceGuid.PcdSocCoreCount|$(NUM_CORES)
  355. gArmTokenSpaceGuid.PcdSystemMemorySize|0x0400000000
  356. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0x0
  357. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0x0
  358. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0x0
  359. [PcdsDynamicHii]
  360. gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|5
  361. gAmdStyxTokenSpaceGuid.PcdEnableSmmus|L"StyxEnableSmmus"|gAmdStyxVariableGuid|0x0|FALSE
  362. ################################################################################
  363. #
  364. # Components Section - list of all EDK II Modules needed by this Platform
  365. #
  366. ################################################################################
  367. [Components.common]
  368. #
  369. # PEI Phase modules
  370. #
  371. ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf
  372. MdeModulePkg/Core/Pei/PeiMain.inf
  373. MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
  374. <LibraryClasses>
  375. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  376. }
  377. ArmPlatformPkg/PlatformPei/PlatformPeim.inf
  378. Silicon/AMD/Styx/AmdModulePkg/Iscp/IscpPei.inf
  379. Silicon/AMD/Styx/Drivers/PlatInitPei/PlatInitPei.inf
  380. ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
  381. ArmPkg/Drivers/CpuPei/CpuPei.inf
  382. MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
  383. MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
  384. <LibraryClasses>
  385. NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  386. }
  387. #
  388. # DXE
  389. #
  390. MdeModulePkg/Core/Dxe/DxeMain.inf {
  391. <LibraryClasses>
  392. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  393. NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
  394. }
  395. MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
  396. <LibraryClasses>
  397. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  398. }
  399. MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
  400. <LibraryClasses>
  401. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  402. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  403. }
  404. #
  405. # Architectural Protocols
  406. #
  407. ArmPkg/Drivers/CpuDxe/CpuDxe.inf
  408. MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
  409. MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
  410. MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
  411. MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
  412. MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
  413. MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
  414. EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
  415. EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
  416. MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
  417. #
  418. # Console IO support
  419. #
  420. MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
  421. MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
  422. MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
  423. MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
  424. ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
  425. ArmPkg/Drivers/TimerDxe/TimerDxe.inf
  426. #
  427. # Environment Variables Protocol
  428. #
  429. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
  430. <LibraryClasses>
  431. AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
  432. TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
  433. VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
  434. NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
  435. }
  436. Silicon/AMD/Styx/Drivers/StyxSpiFvDxe/StyxSpiFvDxe.inf
  437. #
  438. # Iscp support
  439. #
  440. Silicon/AMD/Styx/AmdModulePkg/Iscp/IscpDxe.inf
  441. #
  442. # FDT support
  443. #
  444. EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.inf {
  445. <LibraryClasses>
  446. FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
  447. DtPlatformDtbLoaderLib|Silicon/AMD/Styx/Library/StyxDtbLoaderLib/StyxDtbLoaderLib.inf
  448. }
  449. #
  450. # PCI support
  451. #
  452. Silicon/AMD/Styx/AmdModulePkg/Gionb/Gionb.inf
  453. ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.inf
  454. MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
  455. MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
  456. #
  457. # AHCI Support
  458. #
  459. MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
  460. MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
  461. MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
  462. MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
  463. MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
  464. MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceDxe.inf
  465. Silicon/AMD/Styx/Drivers/StyxSataPlatformDxe/StyxSataPlatformDxe.inf
  466. #
  467. # USB Support
  468. #
  469. MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
  470. MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
  471. MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
  472. MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
  473. MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
  474. #
  475. # Marvell Yukon Ethernet (Overdrive 1000 has 88e8059)
  476. #
  477. !if 0
  478. OptionRomPkg/MarvellYukonDxe/MarvellYukonDxe.inf
  479. !endif
  480. #
  481. # Networking stack
  482. #
  483. MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf
  484. MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
  485. MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
  486. MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
  487. # MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigDxe.inf
  488. MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
  489. MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf {
  490. <PcdsFixedAtBuild>
  491. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
  492. }
  493. MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
  494. MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
  495. MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
  496. NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf
  497. NetworkPkg/TcpDxe/TcpDxe.inf
  498. ## Bug https://bugs.linaro.org/show_bug.cgi?id=2239
  499. # NetworkPkg/IScsiDxe/IScsiDxe.inf
  500. #
  501. # Core Info
  502. #
  503. Silicon/AMD/Styx/Drivers/PlatInitDxe/PlatInitDxe.inf
  504. #
  505. # ACPI Support
  506. #
  507. MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf {
  508. <LibraryClasses>
  509. NULL|EmbeddedPkg/Library/PlatformHasAcpiLib/PlatformHasAcpiLib.inf
  510. }
  511. Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/AcpiPlatformDxe.inf
  512. #
  513. # SMBIOS Support
  514. #
  515. MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
  516. Silicon/AMD/Styx/Drivers/PlatformSmbiosDxe/PlatformSmbiosDxe.inf
  517. #
  518. # FAT filesystem + GPT/MBR partitioning
  519. #
  520. MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
  521. MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
  522. FatPkg/EnhancedFatDxe/Fat.inf
  523. MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
  524. #
  525. # Bds
  526. #
  527. MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
  528. MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
  529. MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
  530. MdeModulePkg/Application/UiApp/UiApp.inf {
  531. <LibraryClasses>
  532. NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
  533. NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
  534. NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
  535. }
  536. #
  537. # Crypto Accelerator support (RNG only)
  538. #
  539. Silicon/AMD/Styx/Drivers/StyxRngDxe/StyxRngDxe.inf
  540. #
  541. # UEFI application (Shell Embedded Boot Loader)
  542. #
  543. ShellPkg/Application/Shell/Shell.inf {
  544. <LibraryClasses>
  545. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  546. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  547. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  548. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  549. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  550. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  551. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  552. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  553. NULL|ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.inf
  554. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  555. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  556. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  557. FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
  558. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  559. <PcdsFixedAtBuild>
  560. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
  561. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  562. gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
  563. }