SynQuacerEvalBoard.dsc 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620
  1. #
  2. # Copyright (c) 2013-2014, ARM Limited. All rights reserved.
  3. # Copyright (c) 2017, Linaro Limited. All rights reserved.
  4. #
  5. # SPDX-License-Identifier: BSD-2-Clause-Patent
  6. #
  7. ################################################################################
  8. #
  9. # Defines Section - statements that will be processed to create a Makefile.
  10. #
  11. ################################################################################
  12. [Defines]
  13. PLATFORM_NAME = SynQuacerEvalBoard
  14. PLATFORM_GUID = a8180daa-fb8b-11e5-ab24-9fc3167c073d
  15. PLATFORM_VERSION = 0.1
  16. DSC_SPECIFICATION = 0x0001001B
  17. OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME)
  18. SUPPORTED_ARCHITECTURES = AARCH64|ARM
  19. BUILD_TARGETS = DEBUG|RELEASE
  20. SKUID_IDENTIFIER = DEFAULT
  21. FLASH_DEFINITION = Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.fdf
  22. BUILD_NUMBER = 1
  23. #
  24. # Network definition
  25. #
  26. DEFINE NETWORK_SNP_ENABLE = FALSE
  27. DEFINE NETWORK_TLS_ENABLE = FALSE
  28. [BuildOptions]
  29. RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
  30. [BuildOptions.common.EDKII.DXE_CORE,BuildOptions.common.EDKII.DXE_DRIVER,BuildOptions.common.EDKII.UEFI_DRIVER,BuildOptions.common.EDKII.UEFI_APPLICATION]
  31. GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
  32. [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
  33. GCC:*_*_ARM_DLINK_FLAGS = -z common-page-size=0x1000
  34. GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000
  35. [LibraryClasses.common]
  36. ArmPlatformLib|Silicon/Socionext/SynQuacer/Library/SynQuacerLib/SynQuacerLib.inf
  37. ArmHvcLib|ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf
  38. ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
  39. TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
  40. FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
  41. !if $(TARGET) == RELEASE
  42. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  43. !else
  44. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  45. !endif
  46. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  47. BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf
  48. # ARM Architectural Libraries
  49. CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
  50. DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
  51. CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf
  52. ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
  53. ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
  54. ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
  55. ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
  56. ArmGicArchLib|ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf
  57. ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf
  58. ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
  59. ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf
  60. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  61. BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
  62. SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
  63. SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
  64. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  65. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  66. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  67. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  68. IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
  69. UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
  70. CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
  71. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  72. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  73. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  74. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  75. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  76. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  77. DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
  78. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  79. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  80. HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
  81. UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
  82. ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
  83. UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
  84. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  85. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  86. SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
  87. UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
  88. UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
  89. # BDS Libraries
  90. UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
  91. PlatformBootManagerLib|ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
  92. BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
  93. CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
  94. FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
  95. PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
  96. DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
  97. DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf
  98. PL011UartClockLib|ArmPlatformPkg/Library/PL011UartClockLib/PL011UartClockLib.inf
  99. SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf
  100. PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf
  101. NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
  102. NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
  103. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
  104. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
  105. IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
  106. NorFlashInfoLib|EmbeddedPkg/Library/NorFlashInfoLib/NorFlashInfoLib.inf
  107. [LibraryClasses.common.SEC]
  108. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  109. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  110. PerformanceLib|MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf
  111. ArmGicArchLib|ArmPkg/Library/ArmGicArchSecLib/ArmGicArchSecLib.inf
  112. [LibraryClasses.common.PEI_CORE, LibraryClasses.common.PEIM]
  113. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  114. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  115. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  116. PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
  117. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  118. ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
  119. PeiServicesTablePointerLib|ArmPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
  120. [LibraryClasses.common.PEI_CORE]
  121. PeiCoreEntryPoint|MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
  122. [LibraryClasses.common.PEIM]
  123. PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
  124. MemoryInitPeiLib|Silicon/Socionext/SynQuacer/Library/SynQuacerMemoryInitPeiLib/SynQuacerMemoryInitPeiLib.inf
  125. PlatformPeiLib|Silicon/Socionext/SynQuacer/Library/SynQuacerPlatformPeiLib/SynQuacerPlatformPeiLib.inf
  126. [LibraryClasses.common.DXE_CORE]
  127. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  128. HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
  129. MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
  130. DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  131. ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
  132. PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
  133. [LibraryClasses.common.DXE_DRIVER]
  134. DtPlatformDtbLoaderLib|Silicon/Socionext/SynQuacer/Library/SynQuacerDtbLoaderLib/SynQuacerDtbLoaderLib.inf
  135. FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
  136. SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
  137. PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
  138. #
  139. # Firmware update
  140. #
  141. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf
  142. DisplayUpdateProgressLib|MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.inf
  143. EdkiiSystemCapsuleLib|SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/EdkiiSystemCapsuleLib.inf
  144. FmpAuthenticationLib|SecurityPkg/Library/FmpAuthenticationLibPkcs7/FmpAuthenticationLibPkcs7.inf
  145. PlatformFlashAccessLib|Silicon/Socionext/SynQuacer/Library/SynQuacerPlatformFlashAccessLib/SynQuacerPlatformFlashAccessLib.inf
  146. IniParsingLib|SignedCapsulePkg/Library/IniParsingLib/IniParsingLib.inf
  147. #
  148. # PCI
  149. #
  150. PciSegmentLib|Silicon/Socionext/SynQuacer/Library/SynQuacerPciSegmentLib/SynQuacerPciSegmentLib.inf
  151. PciHostBridgeLib|Silicon/Socionext/SynQuacer/Library/SynQuacerPciHostBridgeLib/SynQuacerPciHostBridgeLib.inf
  152. NonDiscoverableDeviceRegistrationLib|MdeModulePkg/Library/NonDiscoverableDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.inf
  153. [LibraryClasses.common.UEFI_APPLICATION]
  154. PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
  155. HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
  156. # UiApp dependencies
  157. FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
  158. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  159. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  160. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  161. ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
  162. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  163. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  164. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  165. [LibraryClasses.common.DXE_RUNTIME_DRIVER]
  166. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  167. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  168. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf
  169. ResetSystemLib|ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf
  170. !if $(TARGET) != RELEASE
  171. DebugLib|MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf
  172. !endif
  173. ################################################################################
  174. #
  175. # Pcd Section - list of all EDK II PCD Entries defined by this Platform
  176. #
  177. ################################################################################
  178. [PcdsFeatureFlag]
  179. gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
  180. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
  181. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
  182. gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport|FALSE
  183. gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|TRUE
  184. [PcdsFixedAtBuild.common]
  185. !ifdef $(FIRMWARE_VENDOR)
  186. gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|L"$(FIRMWARE_VENDOR)"
  187. !endif
  188. # non-secure SRAM
  189. gArmPlatformTokenSpaceGuid.PcdCPUCoresStackBase|0x2E000000
  190. gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0xFFC0
  191. gSynQuacerTokenSpaceGuid.PcdDramInfoBase|0x2E00FFC0
  192. gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|24
  193. # 12x 2-core processor clusters
  194. gArmPlatformTokenSpaceGuid.PcdCoreCount|2
  195. gArmPlatformTokenSpaceGuid.PcdClusterCount|12
  196. gArmTokenSpaceGuid.PcdArmPrimaryCore|0x0
  197. !if $(ARCH) == AARCH64
  198. gArmTokenSpaceGuid.PcdVFPEnabled|1
  199. !endif
  200. ## PL011 - Serial Terminal
  201. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x2a400000
  202. gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|115200
  203. gEfiMdePkgTokenSpaceGuid.PcdUartDefaultReceiveFifoDepth|0
  204. gArmPlatformTokenSpaceGuid.PL011UartInteger|0
  205. gArmPlatformTokenSpaceGuid.PL011UartFractional|0
  206. gArmPlatformTokenSpaceGuid.PL011UartClkInHz|62500000
  207. #
  208. # ARM Generic Interrupt Controller
  209. #
  210. gArmTokenSpaceGuid.PcdGicDistributorBase|0x30000000
  211. gArmTokenSpaceGuid.PcdGicRedistributorsBase|0x30400000
  212. #
  213. # Generic watchdog
  214. #
  215. gArmTokenSpaceGuid.PcdGenericWatchdogControlBase|0x2a440000
  216. gArmTokenSpaceGuid.PcdGenericWatchdogRefreshBase|0x2a450000
  217. #
  218. # NETSEC Info
  219. #
  220. gNetsecDxeTokenSpaceGuid.PcdEncTxDescNum|128
  221. gNetsecDxeTokenSpaceGuid.PcdDecRxDescNum|128
  222. gNetsecDxeTokenSpaceGuid.PcdJumboPacket|0
  223. gNetsecDxeTokenSpaceGuid.PcdFlowCtrl|0
  224. gNetsecDxeTokenSpaceGuid.PcdFlowCtrlStartThreshold|36
  225. gNetsecDxeTokenSpaceGuid.PcdFlowCtrlStopThreshold|48
  226. gNetsecDxeTokenSpaceGuid.PcdPauseTime|256
  227. gSynQuacerTokenSpaceGuid.PcdNetsecEepromBase|0x10000000
  228. gSynQuacerTokenSpaceGuid.PcdNetsecPhyAddress|1
  229. gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE
  230. gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
  231. gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
  232. gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
  233. gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
  234. gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
  235. gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
  236. gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
  237. # DEBUG_ASSERT_ENABLED 0x01
  238. # DEBUG_PRINT_ENABLED 0x02
  239. # DEBUG_CODE_ENABLED 0x04
  240. # CLEAR_MEMORY_ENABLED 0x08
  241. # ASSERT_BREAKPOINT_ENABLED 0x10
  242. # ASSERT_DEADLOOP_ENABLED 0x20
  243. !if $(TARGET) == RELEASE
  244. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
  245. !else
  246. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x3f
  247. !endif
  248. # DEBUG_INIT 0x00000001 // Initialization
  249. # DEBUG_WARN 0x00000002 // Warnings
  250. # DEBUG_LOAD 0x00000004 // Load events
  251. # DEBUG_FS 0x00000008 // EFI File system
  252. # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
  253. # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
  254. # DEBUG_INFO 0x00000040 // Informational debug messages
  255. # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
  256. # DEBUG_VARIABLE 0x00000100 // Variable
  257. # DEBUG_BM 0x00000400 // Boot Manager
  258. # DEBUG_BLKIO 0x00001000 // BlkIo Driver
  259. # DEBUG_NET 0x00004000 // SNP Driver
  260. # DEBUG_UNDI 0x00010000 // UNDI Driver
  261. # DEBUG_LOADFILE 0x00020000 // LoadFile
  262. # DEBUG_EVENT 0x00080000 // Event messages
  263. # DEBUG_GCD 0x00100000 // Global Coherency Database changes
  264. # DEBUG_CACHE 0x00200000 // Memory range cachability changes
  265. # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
  266. # // significantly impact boot performance
  267. # DEBUG_ERROR 0x80000000 // Error
  268. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000004F
  269. #
  270. # Optional feature to help prevent EFI memory map fragments
  271. # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
  272. # Values are in EFI Pages (4K). DXE Core will make sure that
  273. # at least this much of each type of memory can be allocated
  274. # from a single memory range. This way you only end up with
  275. # maximum of two fragements for each type in the memory map
  276. # (the memory used, and the free memory that was prereserved
  277. # but not used).
  278. #
  279. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
  280. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
  281. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
  282. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|2000
  283. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|1000
  284. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|2000
  285. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|20000
  286. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
  287. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
  288. gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
  289. # use the TTY terminal type
  290. gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|4
  291. # GUID of the UI app
  292. gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
  293. #
  294. # Enable strict image permissions for all images. (This applies
  295. # only to images that were built with >= 4 KB section alignment.)
  296. #
  297. gEfiMdeModulePkgTokenSpaceGuid.PcdImageProtectionPolicy|0x3
  298. #
  299. # Enable NX memory protection for all non-code regions, including OEM and OS
  300. # reserved ones, with the exception of LoaderData regions, of which OS loaders
  301. # (i.e., GRUB) may assume that its contents are executable.
  302. #
  303. gEfiMdeModulePkgTokenSpaceGuid.PcdDxeNxMemoryProtectionPolicy|0xC000000000007FD1
  304. #
  305. # Enable the non-executable DXE stack. (This gets set up by DxeIpl)
  306. #
  307. gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|TRUE
  308. #
  309. # Variable store
  310. #
  311. gFip006DxeTokenSpaceGuid.PcdFip006DxeRegBaseAddress|0x54800000
  312. gFip006DxeTokenSpaceGuid.PcdFip006DxeMemBaseAddress|0x08000000
  313. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x08400000
  314. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize|0x00010000
  315. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x08410000
  316. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x00010000
  317. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0x08420000
  318. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00010000
  319. # set DIP switch DSW3-PIN1 (GPIO pin PD[0] on the SoC) to clear the varstore
  320. gSynQuacerTokenSpaceGuid.PcdClearSettingsGpioPin|0
  321. # On the EVB, PCIe RC #0 should not be enabled from software if no card
  322. # was inserted, or the boot will hang.
  323. gSynQuacerTokenSpaceGuid.PcdPcie0PresenceDetectGpioPin|15
  324. !if $(BUILD_NUMBER) > 1
  325. gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"$(BUILD_NUMBER)"
  326. !endif
  327. gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareRevision|$(BUILD_NUMBER)
  328. [PcdsPatchableInModule]
  329. gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0
  330. gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0
  331. [PcdsDynamicExDefault.common.DEFAULT]
  332. gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareImageDescriptor|{0x0}|VOID*|0x100
  333. gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareFileGuid|{0xf7, 0x89, 0x9b, 0xe9, 0x20, 0xc1, 0x25, 0x4b, 0x4d, 0xb1, 0x83, 0x94, 0xed, 0xb0, 0xb4, 0xf5}
  334. gEfiMdeModulePkgTokenSpaceGuid.PcdSystemFmpCapsuleImageTypeIdGuid|{0xe5, 0x4c, 0xb9, 0x50, 0x63, 0x8b, 0x49, 0x48, 0xf4, 0x8a, 0xea, 0x47, 0x93, 0x56, 0xf0, 0xe3}
  335. [PcdsDynamicHii]
  336. gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|30
  337. gSynQuacerTokenSpaceGuid.PcdPlatformSettings|L"SynQuacerPlatformSettings"|gSynQuacerPlatformFormSetGuid|0x0|0x0|NV,BS
  338. [PcdsDynamicDefault]
  339. gArmTokenSpaceGuid.PcdSystemMemoryBase|0x0000000000000000
  340. gArmTokenSpaceGuid.PcdSystemMemorySize|0xFFFFFFFFFFFFFFFF
  341. # enable RC #1 only by default, RC #0 will be enabled if an endpoint is detected
  342. gSynQuacerTokenSpaceGuid.PcdPcieEnableMask|0x2
  343. ################################################################################
  344. #
  345. # Components Section - list of all EDK II Modules needed by this Platform
  346. #
  347. ################################################################################
  348. [Components.common]
  349. #
  350. # PEI Phase modules
  351. #
  352. ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf
  353. MdeModulePkg/Core/Pei/PeiMain.inf
  354. MdeModulePkg/Universal/PCD/Pei/Pcd.inf {
  355. <LibraryClasses>
  356. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  357. }
  358. ArmPlatformPkg/PlatformPei/PlatformPeim.inf
  359. ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
  360. ArmPkg/Drivers/CpuPei/CpuPei.inf
  361. MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
  362. MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
  363. MdeModulePkg/Universal/CapsulePei/CapsulePei.inf
  364. Silicon/Socionext/SynQuacer/Drivers/SynQuacerGpioPei/SynQuacerGpioPei.inf
  365. MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf {
  366. <LibraryClasses>
  367. NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  368. }
  369. #
  370. # DXE
  371. #
  372. MdeModulePkg/Core/Dxe/DxeMain.inf {
  373. <LibraryClasses>
  374. NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
  375. <PcdsFixedAtBuild>
  376. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8000000F
  377. }
  378. #
  379. # Architectural Protocols
  380. #
  381. ArmPkg/Drivers/CpuDxe/CpuDxe.inf
  382. ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
  383. EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
  384. MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
  385. EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf {
  386. <LibraryClasses>
  387. ## TODO
  388. RealTimeClockLib|EmbeddedPkg/Library/TemplateRealTimeClockLib/TemplateRealTimeClockLib.inf
  389. }
  390. MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
  391. MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
  392. MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
  393. ArmPkg/Drivers/TimerDxe/TimerDxe.inf
  394. ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.inf
  395. MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
  396. MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
  397. MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
  398. MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
  399. MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
  400. MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
  401. MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
  402. MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
  403. MdeModulePkg/Logo/LogoDxe.inf
  404. MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
  405. <LibraryClasses>
  406. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  407. }
  408. #
  409. # Variable services
  410. #
  411. Silicon/Socionext/SynQuacer/Drivers/Fip006Dxe/Fip006Dxe.inf {
  412. <LibraryClasses>
  413. NorFlashPlatformLib|Silicon/Socionext/SynQuacer/Library/NorFlashSynQuacerLib/NorFlashSynQuacerLib.inf
  414. }
  415. MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
  416. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
  417. <LibraryClasses>
  418. NULL|EmbeddedPkg/Library/NvVarStoreFormattedLib/NvVarStoreFormattedLib.inf
  419. AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
  420. NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
  421. TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
  422. VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
  423. }
  424. #
  425. # UEFI application (Shell Embedded Boot Loader)
  426. #
  427. ShellPkg/Application/Shell/Shell.inf {
  428. <LibraryClasses>
  429. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  430. NULL|ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.inf
  431. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  432. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  433. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  434. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  435. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  436. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  437. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  438. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  439. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  440. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  441. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  442. <PcdsFixedAtBuild>
  443. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
  444. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  445. }
  446. #
  447. # Generic BDS
  448. #
  449. MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
  450. MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
  451. MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
  452. MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
  453. MdeModulePkg/Application/UiApp/UiApp.inf {
  454. <LibraryClasses>
  455. NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
  456. NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
  457. NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
  458. }
  459. #
  460. # Platform driver
  461. #
  462. Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/PlatformDxe.inf
  463. #
  464. # PCI
  465. #
  466. Silicon/Socionext/SynQuacer/Drivers/SynQuacerPciCpuIo2Dxe/SynQuacerPciCpuIo2Dxe.inf
  467. MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
  468. <PcdsFixedAtBuild>
  469. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8010004F
  470. }
  471. MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
  472. MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
  473. MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
  474. MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
  475. #
  476. # eMMC support
  477. #
  478. MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceDxe.inf
  479. MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.inf
  480. MdeModulePkg/Bus/Sd/EmmcDxe/EmmcDxe.inf
  481. #
  482. # AHCI Support
  483. #
  484. MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
  485. MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
  486. MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
  487. MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
  488. MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
  489. #
  490. # USB
  491. #
  492. MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
  493. MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
  494. MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
  495. MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
  496. MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
  497. MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
  498. #
  499. # FAT filesystem + GPT/MBR partitioning
  500. #
  501. MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
  502. MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
  503. MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
  504. FatPkg/EnhancedFatDxe/Fat.inf
  505. MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
  506. #
  507. # RNG
  508. #
  509. Silicon/Openmoko/ChaosKeyDxe/ChaosKeyDxe.inf
  510. #
  511. # Networking stack
  512. #
  513. !include NetworkPkg/Network.dsc.inc
  514. Silicon/Socionext/SynQuacer/Drivers/Net/NetsecDxe/NetsecDxe.inf {
  515. <LibraryClasses>
  516. DmaLib|EmbeddedPkg/Library/CoherentDmaLib/CoherentDmaLib.inf
  517. }
  518. #
  519. # Console preference selection
  520. #
  521. EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.inf
  522. #
  523. # DT support
  524. #
  525. Silicon/Socionext/SynQuacer/DeviceTree/SynQuacerEvalBoard.inf
  526. #
  527. # Firmware update
  528. #
  529. Platform/Socionext/SynQuacerEvalBoard/SystemFirmwareDescriptor/SystemFirmwareDescriptor.inf
  530. MdeModulePkg/Universal/EsrtDxe/EsrtDxe.inf
  531. SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareReportDxe.inf
  532. SignedCapsulePkg/Universal/SystemFirmwareUpdate/SystemFirmwareUpdateDxe.inf
  533. !include Silicon/Socionext/SynQuacer/Acpi.dsc.inc