RPi4.dsc 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805
  1. # @file
  2. #
  3. # Copyright (c) 2011 - 2020, ARM Limited. All rights reserved.
  4. # Copyright (c) 2017 - 2018, Andrei Warkentin <andrey.warkentin@gmail.com>
  5. # Copyright (c) 2015 - 2021, Intel Corporation. All rights reserved.
  6. # Copyright (c) 2014, Linaro Limited. All rights reserved.
  7. #
  8. # SPDX-License-Identifier: BSD-2-Clause-Patent
  9. #
  10. ##
  11. ################################################################################
  12. #
  13. # Defines Section - statements that will be processed to create a Makefile.
  14. #
  15. ################################################################################
  16. [Defines]
  17. PLATFORM_NAME = RPi4
  18. PLATFORM_GUID = a7eca3b4-21b0-4989-8c18-c08f3ae87837
  19. PLATFORM_VERSION = 1.0
  20. DSC_SPECIFICATION = 0x0001001A
  21. OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME)
  22. SUPPORTED_ARCHITECTURES = AARCH64
  23. BUILD_TARGETS = DEBUG|RELEASE|NOOPT
  24. SKUID_IDENTIFIER = DEFAULT
  25. FLASH_DEFINITION = Platform/RaspberryPi/$(PLATFORM_NAME)/$(PLATFORM_NAME).fdf
  26. #
  27. # Defines for default states. These can be changed on the command line.
  28. # -D FLAG=VALUE
  29. #
  30. DEFINE SECURE_BOOT_ENABLE = FALSE
  31. DEFINE INCLUDE_TFTP_COMMAND = FALSE
  32. DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x8000004F
  33. !ifndef TFA_BUILD_ARTIFACTS
  34. #
  35. # Default TF-A binary checked into edk2-non-osi.
  36. #
  37. DEFINE TFA_BUILD_BL31 = Platform/RaspberryPi/$(PLATFORM_NAME)/TrustedFirmware/bl31.bin
  38. !else
  39. #
  40. # Usually we use the checked-in binaries, but for developers working
  41. # on the firmware, being able to use a local TF-A build without extra copy
  42. # operations ends up being very helpful.
  43. #
  44. DEFINE TFA_BUILD_BL31 = $(TFA_BUILD_ARTIFACTS)/bl31.bin
  45. !endif
  46. ################################################################################
  47. #
  48. # Library Class section - list of all Library Classes needed by this Platform.
  49. #
  50. ################################################################################
  51. !include MdePkg/MdeLibs.dsc.inc
  52. [LibraryClasses.common]
  53. !if $(TARGET) == RELEASE
  54. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  55. !else
  56. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  57. !endif
  58. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  59. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  60. SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
  61. BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
  62. SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
  63. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  64. ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.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. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  72. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  73. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  74. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  75. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  76. DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
  77. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.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. SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
  83. UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
  84. OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
  85. #
  86. # Ramdisk Requirements
  87. #
  88. FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
  89. # Allow dynamic PCDs
  90. #
  91. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  92. # use the accelerated BaseMemoryLibOptDxe by default, overrides for SEC/PEI below
  93. BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf
  94. #
  95. # It is not possible to prevent the ARM compiler from inserting calls to intrinsic functions.
  96. # This library provides the instrinsic functions such a compiler may generate calls to.
  97. #
  98. NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
  99. # Add support for GCC stack protector
  100. NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
  101. # ARM Architectural Libraries
  102. CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
  103. DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
  104. CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf
  105. ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf
  106. ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
  107. ArmGicArchLib|ArmPkg/Library/ArmGicArchLib/ArmGicArchLib.inf
  108. DmaLib|EmbeddedPkg/Library/NonCoherentDmaLib/NonCoherentDmaLib.inf
  109. TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
  110. ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf
  111. ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
  112. ArmHvcLib|ArmPkg/Library/ArmHvcLib/ArmHvcLib.inf
  113. ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf
  114. # Dual serial port library
  115. PL011UartClockLib|ArmPlatformPkg/Library/PL011UartClockLib/PL011UartClockLib.inf
  116. PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf
  117. SerialPortLib|Platform/RaspberryPi/Library/DualSerialPortLib/DebugDualSerialPortLib.inf
  118. # Cryptographic libraries
  119. RngLib|MdePkg/Library/DxeRngLib/DxeRngLib.inf
  120. IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
  121. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
  122. OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
  123. TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
  124. #
  125. # Uncomment (and comment out the next line) For RealView Debugger. The Standard IO window
  126. # in the debugger will show load and unload commands for symbols. You can cut and paste this
  127. # into the command window to load symbols. We should be able to use a script to do this, but
  128. # the version of RVD I have does not support scripts accessing system memory.
  129. #
  130. #PeCoffExtraActionLib|ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
  131. PeCoffExtraActionLib|ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
  132. #PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
  133. DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
  134. DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf
  135. # Flattened Device Tree (FDT) access library
  136. FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
  137. # USB Libraries
  138. UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
  139. #
  140. # Secure Boot dependencies
  141. #
  142. !if $(SECURE_BOOT_ENABLE) == TRUE
  143. TpmMeasurementLib|SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
  144. AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf
  145. SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
  146. SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
  147. PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.inf
  148. # re-use the UserPhysicalPresent() dummy implementation from the ovmf tree
  149. PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
  150. !else
  151. TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf
  152. AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
  153. !endif
  154. VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
  155. VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf
  156. VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.inf
  157. VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf
  158. GpioLib|Silicon/Broadcom/Bcm283x/Library/GpioLib/GpioLib.inf
  159. #
  160. # PCI dependencies
  161. #
  162. # PCI root port configuation and description
  163. PciHostBridgeLib|Silicon/Broadcom/Bcm27xx/Library/Bcm2711PciHostBridgeLib/Bcm2711PciHostBridgeLib.inf
  164. # The "segment lib" provides the CAM accessors/etc when they aren't ECAM standard
  165. PciSegmentLib|Silicon/Broadcom/Bcm27xx/Library/Bcm2711PciSegmentLib/PciSegmentLib.inf
  166. [LibraryClasses.common.SEC]
  167. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  168. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  169. MemoryInitPeiLib|Platform/RaspberryPi/Library/MemoryInitPeiLib/MemoryInitPeiLib.inf
  170. PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
  171. ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
  172. LzmaDecompressLib|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  173. PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
  174. HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
  175. PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
  176. MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
  177. [LibraryClasses.common.DXE_CORE]
  178. HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
  179. MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
  180. DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  181. ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
  182. PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
  183. [LibraryClasses.common.DXE_DRIVER]
  184. SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
  185. PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
  186. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  187. !if $(INCLUDE_TFTP_COMMAND) == TRUE
  188. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  189. FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
  190. !endif
  191. [LibraryClasses.common.UEFI_APPLICATION]
  192. PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
  193. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  194. HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
  195. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  196. FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
  197. [LibraryClasses.common.UEFI_DRIVER]
  198. ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
  199. PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
  200. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  201. [LibraryClasses.common.DXE_RUNTIME_DRIVER]
  202. # Runtime debug messages may crash an OS unless serial output to MMIO mapped UARTs is inhibited
  203. DebugLib|MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf
  204. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  205. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
  206. EfiResetSystemLib|Platform/RaspberryPi/Library/ResetLib/ResetLib.inf
  207. ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
  208. VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
  209. !if $(SECURE_BOOT_ENABLE) == TRUE
  210. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
  211. !endif
  212. ###################################################################################################
  213. # BuildOptions Section - Define the module specific tool chain flags that should be used as
  214. # the default flags for a module. These flags are appended to any
  215. # standard flags that are defined by the build process.
  216. ###################################################################################################
  217. [BuildOptions]
  218. GCC:*_*_*_CC_FLAGS = -DRPI_MODEL=4
  219. GCC:*_*_*_PP_FLAGS = -DRPI_MODEL=4
  220. GCC:*_*_*_ASLPP_FLAGS = -DRPI_MODEL=4
  221. GCC:*_*_*_ASLCC_FLAGS = -DRPI_MODEL=4
  222. GCC:*_*_*_VFRPP_FLAGS = -DRPI_MODEL=4
  223. GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -DNDEBUG
  224. [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
  225. GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000
  226. ################################################################################
  227. #
  228. # Pcd Section - list of all EDK II PCD Entries defined by this Platform
  229. #
  230. ################################################################################
  231. [PcdsFeatureFlag.common]
  232. # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
  233. gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
  234. gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
  235. gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
  236. ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
  237. # It could be set FALSE to save size.
  238. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
  239. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
  240. gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport|FALSE
  241. [PcdsFixedAtBuild.common]
  242. gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
  243. gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
  244. gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
  245. gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
  246. gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
  247. gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
  248. gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
  249. gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
  250. # DEBUG_ASSERT_ENABLED 0x01
  251. # DEBUG_PRINT_ENABLED 0x02
  252. # DEBUG_CODE_ENABLED 0x04
  253. # CLEAR_MEMORY_ENABLED 0x08
  254. # ASSERT_BREAKPOINT_ENABLED 0x10
  255. # ASSERT_DEADLOOP_ENABLED 0x20
  256. !if $(TARGET) == RELEASE
  257. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
  258. !else
  259. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
  260. !endif
  261. # DEBUG_INIT 0x00000001 // Initialization
  262. # DEBUG_WARN 0x00000002 // Warnings
  263. # DEBUG_LOAD 0x00000004 // Load events
  264. # DEBUG_FS 0x00000008 // EFI File system
  265. # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
  266. # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
  267. # DEBUG_INFO 0x00000040 // Informational debug messages
  268. # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
  269. # DEBUG_VARIABLE 0x00000100 // Variable
  270. # DEBUG_BM 0x00000400 // Boot Manager
  271. # DEBUG_BLKIO 0x00001000 // BlkIo Driver
  272. # DEBUG_NET 0x00004000 // SNP Driver
  273. # DEBUG_UNDI 0x00010000 // UNDI Driver
  274. # DEBUG_LOADFILE 0x00020000 // LoadFile
  275. # DEBUG_EVENT 0x00080000 // Event messages
  276. # DEBUG_GCD 0x00100000 // Global Coherency Database changes
  277. # DEBUG_CACHE 0x00200000 // Memory range cachability changes
  278. # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
  279. # // significantly impact boot performance
  280. # DEBUG_ERROR 0x80000000 // Error
  281. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL)
  282. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
  283. #
  284. # Optional feature to help prevent EFI memory map fragments
  285. # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
  286. # Values are in EFI Pages (4K). DXE Core will make sure that
  287. # at least this much of each type of memory can be allocated
  288. # from a single memory range. This way you only end up with
  289. # maximum of two fragments for each type in the memory map
  290. # (the memory used, and the free memory that was prereserved
  291. # but not used).
  292. #
  293. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
  294. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
  295. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
  296. !if $(SECURE_BOOT_ENABLE) == TRUE
  297. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|600
  298. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|400
  299. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1500
  300. !else
  301. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|300
  302. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|150
  303. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1000
  304. !endif
  305. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|12000
  306. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
  307. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
  308. gEmbeddedTokenSpaceGuid.PcdDmaDeviceOffset|0xc0000000
  309. gEmbeddedTokenSpaceGuid.PcdDmaDeviceLimit|0xffffffff
  310. gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"EDK2-DEV"
  311. !if $(SECURE_BOOT_ENABLE) == TRUE
  312. # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
  313. gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
  314. gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
  315. gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
  316. !endif
  317. gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE
  318. # Default platform supported RFC 4646 languages: (American) English
  319. gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultPlatformLangCodes|"en-US"
  320. [LibraryClasses.common]
  321. ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
  322. ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
  323. ArmPlatformLib|Platform/RaspberryPi/Library/PlatformLib/PlatformLib.inf
  324. TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
  325. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
  326. UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
  327. BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
  328. PlatformBootManagerLib|Platform/RaspberryPi/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
  329. CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
  330. FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
  331. AcpiLib|EmbeddedPkg/Library/AcpiLib/AcpiLib.inf
  332. [LibraryClasses.common.UEFI_DRIVER]
  333. UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
  334. ################################################################################
  335. #
  336. # Pcd Section - list of all EDK II PCD Entries defined by this Platform
  337. #
  338. ################################################################################
  339. [PcdsFeatureFlag.common]
  340. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
  341. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
  342. gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
  343. [PcdsFixedAtBuild.common]
  344. gArmPlatformTokenSpaceGuid.PcdCoreCount|4
  345. gArmTokenSpaceGuid.PcdVFPEnabled|1
  346. gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x4000
  347. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
  348. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
  349. # Size of the region used by UEFI in permanent memory (Reserved 64MB)
  350. gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000
  351. #
  352. # 0x00000000 - 0x001F0000 FD (PcdFdBaseAddress, PcdFdSize)
  353. # 0x001F0000 - 0x00200000 DTB (PcdFdtBaseAddress, PcdFdtSize)
  354. # 0x00200000 - ... RAM (PcdSystemMemoryBase, PcdSystemMemorySize)
  355. #
  356. # This matches PcdFvBaseAddress, since everything less is the FD, and
  357. # will be reserved away.
  358. #
  359. gArmTokenSpaceGuid.PcdSystemMemoryBase|0x00200000
  360. gArmTokenSpaceGuid.PcdSystemMemorySize|0x3fe00000
  361. #
  362. # Device specific addresses
  363. #
  364. gBcm27xxTokenSpaceGuid.PcdBcm27xxRegistersAddress|0xfc000000
  365. gBcm27xxTokenSpaceGuid.PcdBcmGenetRegistersAddress|0xfd580000
  366. gBcm283xTokenSpaceGuid.PcdBcm283xRegistersAddress|0xfe000000
  367. # PCIe specific addresses
  368. gBcm27xxTokenSpaceGuid.PcdBcm27xxPciRegBase|0xfd500000
  369. gBcm27xxTokenSpaceGuid.PcdBcm27xxPciBusMmioAdr|0xf8000000
  370. gBcm27xxTokenSpaceGuid.PcdBcm27xxPciBusMmioLen|0x3ffffff
  371. gBcm27xxTokenSpaceGuid.PcdBcm27xxPciCpuMmioAdr|0x600000000
  372. # UARTs
  373. gArmPlatformTokenSpaceGuid.PL011UartInteger|0
  374. gArmPlatformTokenSpaceGuid.PL011UartFractional|0
  375. gArmPlatformTokenSpaceGuid.PL011UartClkInHz|48000000
  376. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|TRUE
  377. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|4
  378. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|0x27
  379. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialExtendedTxFifoSize|8
  380. gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|115200
  381. gEfiMdePkgTokenSpaceGuid.PcdUartDefaultReceiveFifoDepth|0
  382. #
  383. # ARM General Interrupt Controller
  384. #
  385. gArmTokenSpaceGuid.PcdGicDistributorBase|0xFF841000
  386. gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0xFF842000
  387. gRaspberryPiTokenSpaceGuid.PcdGicInterruptInterfaceHBase|0xFF844000
  388. gRaspberryPiTokenSpaceGuid.PcdGicInterruptInterfaceVBase|0xFF846000
  389. gRaspberryPiTokenSpaceGuid.PcdGicGsivId|0x19
  390. gRaspberryPiTokenSpaceGuid.PcdGicPmuIrq0|0x30
  391. gRaspberryPiTokenSpaceGuid.PcdGicPmuIrq1|0x31
  392. gRaspberryPiTokenSpaceGuid.PcdGicPmuIrq2|0x32
  393. gRaspberryPiTokenSpaceGuid.PcdGicPmuIrq3|0x33
  394. #
  395. # Fixed CPU settings.
  396. #
  397. gRaspberryPiTokenSpaceGuid.PcdCpuLowSpeedMHz|800
  398. gRaspberryPiTokenSpaceGuid.PcdCpuDefSpeedMHz|1500
  399. gRaspberryPiTokenSpaceGuid.PcdCpuMaxSpeedMHz|2200
  400. ## Default Terminal Type
  401. ## 0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8, 4-TTYTERM
  402. gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|4
  403. gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
  404. gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
  405. gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|L"EDK2"
  406. gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|TRUE
  407. [PcdsPatchableInModule]
  408. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|500000000
  409. [PcdsDynamicHii.common.DEFAULT]
  410. #
  411. # Clock overrides.
  412. #
  413. gRaspberryPiTokenSpaceGuid.PcdCpuClock|L"CpuClock"|gConfigDxeFormSetGuid|0x0|1
  414. gRaspberryPiTokenSpaceGuid.PcdCustomCpuClock|L"CustomCpuClock"|gConfigDxeFormSetGuid|0x0|gRaspberryPiTokenSpaceGuid.PcdCpuDefSpeedMHz
  415. #
  416. # SD-related.
  417. #
  418. gRaspberryPiTokenSpaceGuid.PcdSdIsArasan|L"SdIsArasan"|gConfigDxeFormSetGuid|0x0|0
  419. gRaspberryPiTokenSpaceGuid.PcdMmcForce1Bit|L"MmcForce1Bit"|gConfigDxeFormSetGuid|0x0|0
  420. gRaspberryPiTokenSpaceGuid.PcdMmcForceDefaultSpeed|L"MmcForceDefaultSpeed"|gConfigDxeFormSetGuid|0x0|0
  421. gRaspberryPiTokenSpaceGuid.PcdMmcSdDefaultSpeedMHz|L"MmcSdDefaultSpeedMHz"|gConfigDxeFormSetGuid|0x0|25
  422. gRaspberryPiTokenSpaceGuid.PcdMmcSdHighSpeedMHz|L"MmcSdHighSpeedMHz"|gConfigDxeFormSetGuid|0x0|50
  423. gRaspberryPiTokenSpaceGuid.PcdMmcDisableMulti|L"MmcDisableMulti"|gConfigDxeFormSetGuid|0x0|0
  424. gRaspberryPiTokenSpaceGuid.PcdMmcEnableDma|L"MmcEnableDma"|gConfigDxeFormSetGuid|0x0|1
  425. #
  426. # Debug-related.
  427. #
  428. gRaspberryPiTokenSpaceGuid.PcdDebugEnableJTAG|L"DebugEnableJTAG"|gConfigDxeFormSetGuid|0x0|0
  429. #
  430. # Display-related.
  431. #
  432. #
  433. # Just enable native resolution by default.
  434. #
  435. gRaspberryPiTokenSpaceGuid.PcdDisplayEnableScaledVModes|L"DisplayEnableScaledVModes"|gConfigDxeFormSetGuid|0x0|0x20
  436. gRaspberryPiTokenSpaceGuid.PcdDisplayEnableSShot|L"DisplayEnableSShot"|gConfigDxeFormSetGuid|0x0|1
  437. #
  438. # Supporting > 3GB of memory.
  439. #
  440. gRaspberryPiTokenSpaceGuid.PcdRamMoreThan3GB|L"RamMoreThan3GB"|gConfigDxeFormSetGuid|0x0|0
  441. gRaspberryPiTokenSpaceGuid.PcdRamLimitTo3GB|L"RamLimitTo3GB"|gConfigDxeFormSetGuid|0x0|1
  442. #
  443. # Device Tree and ACPI selection.
  444. #
  445. # 0 - SYSTEM_TABLE_MODE_ACPI (default)
  446. # 1 - SYSTEM_TABLE_MODE_BOTH
  447. # 2 - SYSTEM_TABLE_MODE_DT
  448. #
  449. gRaspberryPiTokenSpaceGuid.PcdSystemTableMode|L"SystemTableMode"|gConfigDxeFormSetGuid|0x0|0
  450. #
  451. # Enable a fan in the ACPI thermal zone on GPIO pin #
  452. #
  453. # 0 - DISABLED
  454. # 19 - Enabled on pin 19
  455. #
  456. gRaspberryPiTokenSpaceGuid.PcdFanOnGpio|L"FanOnGpio"|gConfigDxeFormSetGuid|0x0|0
  457. gRaspberryPiTokenSpaceGuid.PcdFanTemp|L"FanTemp"|gConfigDxeFormSetGuid|0x0|60
  458. #
  459. # Reset-related.
  460. #
  461. gRaspberryPiTokenSpaceGuid.PcdPlatformResetDelay|L"ResetDelay"|gRaspberryPiTokenSpaceGuid|0x0|0
  462. # Select XHCI/PCIe mode
  463. #
  464. # 0 - XHCI Enabled (default on !cm4)
  465. # 1 - PCIe Enabled
  466. # 2 - PCIe Enabled (default on cm4)
  467. #
  468. gRaspberryPiTokenSpaceGuid.PcdXhciPci|L"XhciPci"|gConfigDxeFormSetGuid|0x0|0
  469. #
  470. # Common UEFI ones.
  471. #
  472. gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|5
  473. #
  474. # This is silly, but by pointing SetupConXXX and ConXXX PCDs to
  475. # the same variables, I can use the graphical configuration to
  476. # change the mode used by ConSplitter.
  477. #
  478. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutColumn|L"Columns"|gRaspberryPiTokenSpaceGuid|0x0|80
  479. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|L"Columns"|gRaspberryPiTokenSpaceGuid|0x0|80
  480. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow|L"Rows"|gRaspberryPiTokenSpaceGuid|0x0|25
  481. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|L"Rows"|gRaspberryPiTokenSpaceGuid|0x0|25
  482. gEfiMdeModulePkgTokenSpaceGuid.PcdBootDiscoveryPolicy|L"BootDiscoveryPolicy"|gBootDiscoveryPolicyMgrFormsetGuid|0
  483. [PcdsDynamicDefault.common]
  484. #
  485. # Set video resolution for boot options and for text setup.
  486. #
  487. gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0
  488. gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0
  489. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
  490. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
  491. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
  492. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
  493. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
  494. #
  495. # UART in use
  496. # This value will be synchronized with the setting in config.txt
  497. # 0 - PL011_UART_IN_USE
  498. # 1 - MINI_UART_IN_USE
  499. #
  500. gRaspberryPiTokenSpaceGuid.PcdUartInUse|0
  501. #
  502. # Mini-UART clock rate
  503. #
  504. gRaspberryPiTokenSpaceGuid.PcdMiniUartClockRate|500000000
  505. ################################################################################
  506. #
  507. # Components Section - list of all EDK II Modules needed by this Platform
  508. #
  509. ################################################################################
  510. [Components.common]
  511. #
  512. # PEI Phase modules
  513. #
  514. ArmPlatformPkg/PrePi/PeiUniCore.inf {
  515. <LibraryClasses>
  516. SerialPortLib|Platform/RaspberryPi/Library/DualSerialPortLib/DualSerialPortLib.inf
  517. }
  518. #
  519. # DXE
  520. #
  521. MdeModulePkg/Core/Dxe/DxeMain.inf {
  522. <LibraryClasses>
  523. NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
  524. }
  525. MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
  526. <LibraryClasses>
  527. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  528. }
  529. #
  530. # Architectural Protocols
  531. #
  532. ArmPkg/Drivers/CpuDxe/CpuDxe.inf
  533. MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
  534. Platform/RaspberryPi/Drivers/VarBlockServiceDxe/VarBlockServiceDxe.inf
  535. MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
  536. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
  537. <LibraryClasses>
  538. NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
  539. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  540. }
  541. !if $(SECURE_BOOT_ENABLE) == TRUE
  542. MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
  543. <LibraryClasses>
  544. NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
  545. }
  546. SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
  547. SecurityPkg/EnrollFromDefaultKeysApp/EnrollFromDefaultKeysApp.inf
  548. SecurityPkg/VariableAuthenticated/SecureBootDefaultKeysDxe/SecureBootDefaultKeysDxe.inf
  549. !else
  550. MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
  551. !endif
  552. MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
  553. MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
  554. EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
  555. EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf {
  556. <LibraryClasses>
  557. RealTimeClockLib|EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.inf
  558. }
  559. EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
  560. MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
  561. MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
  562. MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
  563. MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
  564. MdeModulePkg/Universal/SerialDxe/SerialDxe.inf {
  565. <LibraryClasses>
  566. SerialPortLib|Platform/RaspberryPi/Library/DualSerialPortLib/DualSerialPortDxeLib.inf
  567. }
  568. Platform/RaspberryPi/Drivers/DisplayDxe/DisplayDxe.inf
  569. EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.inf
  570. MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
  571. ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
  572. Platform/RaspberryPi/Drivers/RpiFirmwareDxe/RpiFirmwareDxe.inf
  573. Platform/RaspberryPi/Drivers/FdtDxe/FdtDxe.inf
  574. Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.inf
  575. ArmPkg/Drivers/TimerDxe/TimerDxe.inf
  576. MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
  577. MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
  578. #
  579. # FAT filesystem + GPT/MBR partitioning
  580. #
  581. MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
  582. MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
  583. MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
  584. FatPkg/EnhancedFatDxe/Fat.inf
  585. #
  586. # ACPI Support
  587. #
  588. MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
  589. MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
  590. Platform/RaspberryPi/AcpiTables/AcpiTables.inf
  591. #
  592. # SMBIOS Support
  593. #
  594. Platform/RaspberryPi/Drivers/PlatformSmbiosDxe/PlatformSmbiosDxe.inf
  595. MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
  596. #
  597. # RAM Disk Support
  598. #
  599. MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
  600. #
  601. # Bds
  602. #
  603. MdeModulePkg/Universal/BootManagerPolicyDxe/BootManagerPolicyDxe.inf
  604. MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
  605. MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
  606. MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
  607. MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
  608. MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
  609. Platform/RaspberryPi/Drivers/LogoDxe/LogoDxe.inf
  610. MdeModulePkg/Application/UiApp/UiApp.inf {
  611. <LibraryClasses>
  612. NULL|MdeModulePkg/Library/BootDiscoveryPolicyUiLib/BootDiscoveryPolicyUiLib.inf
  613. NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
  614. NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
  615. NULL|Platform/RaspberryPi/Library/PlatformUiAppLib/PlatformUiAppLib.inf
  616. NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
  617. }
  618. #
  619. # SCSI Bus and Disk Driver
  620. #
  621. MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
  622. MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
  623. #
  624. # USB Support
  625. #
  626. MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
  627. Platform/RaspberryPi/Drivers/DwUsbHostDxe/DwUsbHostDxe.inf
  628. MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
  629. MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
  630. MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
  631. #
  632. # SD/MMC support
  633. #
  634. # Platform/RaspberryPi/Drivers/SdHostDxe/SdHostDxe.inf
  635. Platform/RaspberryPi/Drivers/ArasanMmcHostDxe/ArasanMmcHostDxe.inf
  636. Platform/RaspberryPi/Drivers/MmcDxe/MmcDxe.inf
  637. #
  638. # Networking stack
  639. #
  640. !include NetworkPkg/Network.dsc.inc
  641. Silicon/Broadcom/Drivers/Net/BcmGenetDxe/BcmGenetDxe.inf {
  642. <PcdsFixedAtBuild>
  643. gEmbeddedTokenSpaceGuid.PcdDmaDeviceOffset|0x00000000
  644. gEmbeddedTokenSpaceGuid.PcdDmaDeviceLimit|0xffffffffff
  645. }
  646. #
  647. # RNG
  648. #
  649. Silicon/Broadcom/Bcm283x/Drivers/Bcm2838RngDxe/Bcm2838RngDxe.inf
  650. #
  651. # PCI Support
  652. #
  653. ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.inf
  654. MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
  655. MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
  656. EmbeddedPkg/Drivers/NonCoherentIoMmuDxe/NonCoherentIoMmuDxe.inf {
  657. <PcdsFixedAtBuild>
  658. gEmbeddedTokenSpaceGuid.PcdDmaDeviceOffset|0x00000000
  659. gEmbeddedTokenSpaceGuid.PcdDmaDeviceLimit|0xbfffffff
  660. }
  661. #
  662. # NVMe boot devices
  663. #
  664. MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
  665. #
  666. # UEFI application (Shell Embedded Boot Loader)
  667. #
  668. ShellPkg/Application/Shell/Shell.inf {
  669. <LibraryClasses>
  670. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  671. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  672. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  673. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  674. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  675. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  676. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  677. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  678. NULL|ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.inf
  679. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  680. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  681. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  682. <PcdsFixedAtBuild>
  683. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
  684. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  685. gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
  686. gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x200000
  687. }
  688. !if $(INCLUDE_TFTP_COMMAND) == TRUE
  689. ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
  690. <PcdsFixedAtBuild>
  691. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  692. }
  693. !endif
  694. ArmPkg/Drivers/ArmPsciMpServicesDxe/ArmPsciMpServicesDxe.inf
  695. UefiCpuPkg/Test/UnitTest/EfiMpServicesPpiProtocol/EfiMpServiceProtocolShellUnitTest.inf {
  696. <LibraryClasses>
  697. UnitTestLib|UnitTestFrameworkPkg/Library/UnitTestLib/UnitTestLib.inf
  698. UnitTestPersistenceLib|UnitTestFrameworkPkg/Library/UnitTestPersistenceLibNull/UnitTestPersistenceLibNull.inf
  699. UnitTestResultReportLib|UnitTestFrameworkPkg/Library/UnitTestResultReportLib/UnitTestResultReportLibConOut.inf
  700. }