RPi3.dsc 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752
  1. # @file
  2. #
  3. # Copyright (c) 2011 - 2020, ARM Limited. All rights reserved.
  4. # Copyright (c) 2014, Linaro Limited. All rights reserved.
  5. # Copyright (c) 2015 - 2021, Intel Corporation. All rights reserved.
  6. # Copyright (c) 2017 - 2018, Andrei Warkentin <andrey.warkentin@gmail.com>
  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 = RPi3
  18. PLATFORM_GUID = 5d30c4fc-93cf-40c9-8486-3badc0410816
  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 binaries checked into edk2-non-osi.
  36. #
  37. DEFINE TFA_BUILD_BL1 = Platform/RaspberryPi/$(PLATFORM_NAME)/TrustedFirmware/bl1.bin
  38. DEFINE TFA_BUILD_FIP = Platform/RaspberryPi/$(PLATFORM_NAME)/TrustedFirmware/fip.bin
  39. !else
  40. #
  41. # Usually we use the checked-in binaries, but for developers working
  42. # on the firmware, being able to use a local TF-A build without extra copy
  43. # operations ends up being very helpful.
  44. #
  45. DEFINE TFA_BUILD_BL1 = $(TFA_BUILD_ARTIFACTS)/bl1.bin
  46. DEFINE TFA_BUILD_FIP = $(TFA_BUILD_ARTIFACTS)/fip.bin
  47. !endif
  48. ################################################################################
  49. #
  50. # Library Class section - list of all Library Classes needed by this Platform.
  51. #
  52. ################################################################################
  53. !include MdePkg/MdeLibs.dsc.inc
  54. [LibraryClasses.common]
  55. !if $(TARGET) == RELEASE
  56. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  57. !else
  58. DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
  59. !endif
  60. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  61. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  62. SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
  63. BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
  64. SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
  65. PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
  66. ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
  67. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  68. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  69. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  70. IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
  71. UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
  72. CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
  73. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  74. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  75. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  76. DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
  77. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  78. DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
  79. DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
  80. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  81. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  82. HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
  83. UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
  84. SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
  85. UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
  86. OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
  87. #
  88. # Ramdisk Requirements
  89. #
  90. FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
  91. # Allow dynamic PCDs
  92. #
  93. PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
  94. # use the accelerated BaseMemoryLibOptDxe by default, overrides for SEC/PEI below
  95. BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf
  96. #
  97. # It is not possible to prevent the ARM compiler from inserting calls to intrinsic functions.
  98. # This library provides the instrinsic functions such a compiler may generate calls to.
  99. #
  100. NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
  101. # Add support for GCC stack protector
  102. NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
  103. # ARM Architectural Libraries
  104. CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
  105. DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf
  106. CpuExceptionHandlerLib|ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf
  107. ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.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. # re-use the UserPhysicalPresent() dummy implementation from the ovmf tree
  146. PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.inf
  147. SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
  148. SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf
  149. PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPolicy/PlatformPKProtectionLibVarPolicy.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. [LibraryClasses.common.SEC]
  160. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  161. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  162. MemoryInitPeiLib|Platform/RaspberryPi/Library/MemoryInitPeiLib/MemoryInitPeiLib.inf
  163. PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
  164. ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
  165. LzmaDecompressLib|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  166. PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
  167. HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
  168. PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
  169. MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
  170. [LibraryClasses.common.DXE_CORE]
  171. HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
  172. MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
  173. DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
  174. ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
  175. PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
  176. [LibraryClasses.common.DXE_DRIVER]
  177. SecurityManagementLib|MdeModulePkg/Library/DxeSecurityManagementLib/DxeSecurityManagementLib.inf
  178. PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
  179. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  180. !if $(INCLUDE_TFTP_COMMAND) == TRUE
  181. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  182. FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
  183. !endif
  184. [LibraryClasses.common.UEFI_APPLICATION]
  185. PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
  186. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  187. HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
  188. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  189. FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
  190. [LibraryClasses.common.UEFI_DRIVER]
  191. ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
  192. PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
  193. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  194. [LibraryClasses.common.DXE_RUNTIME_DRIVER]
  195. # Runtime debug messages may crash an OS unless serial output to MMIO mapped UARTs is inhibited
  196. DebugLib|MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf
  197. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  198. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
  199. EfiResetSystemLib|Platform/RaspberryPi/Library/ResetLib/ResetLib.inf
  200. ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf
  201. VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
  202. !if $(SECURE_BOOT_ENABLE) == TRUE
  203. BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
  204. !endif
  205. ###################################################################################################
  206. # BuildOptions Section - Define the module specific tool chain flags that should be used as
  207. # the default flags for a module. These flags are appended to any
  208. # standard flags that are defined by the build process.
  209. ###################################################################################################
  210. [BuildOptions]
  211. GCC:*_*_*_CC_FLAGS = -DRPI_MODEL=3
  212. GCC:*_*_*_PP_FLAGS = -DRPI_MODEL=3
  213. GCC:*_*_*_ASLPP_FLAGS = -DRPI_MODEL=3
  214. GCC:*_*_*_ASLCC_FLAGS = -DRPI_MODEL=3
  215. GCC:*_*_*_VFRPP_FLAGS = -DRPI_MODEL=3
  216. GCC:*_*_AARCH64_DLINK_FLAGS = -Wl,--fix-cortex-a53-843419
  217. GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG -DNDEBUG
  218. [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
  219. GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000
  220. ################################################################################
  221. #
  222. # Pcd Section - list of all EDK II PCD Entries defined by this Platform
  223. #
  224. ################################################################################
  225. [PcdsFeatureFlag.common]
  226. # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress
  227. gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE
  228. gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|TRUE
  229. gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
  230. ## If TRUE, Graphics Output Protocol will be installed on virtual handle created by ConsplitterDxe.
  231. # It could be set FALSE to save size.
  232. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
  233. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
  234. gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport|FALSE
  235. [PcdsFixedAtBuild.common]
  236. gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000
  237. gEfiMdePkgTokenSpaceGuid.PcdMaximumAsciiStringLength|1000000
  238. gEfiMdePkgTokenSpaceGuid.PcdMaximumLinkedListLength|1000000
  239. gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout|10000000
  240. gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue|0xAF
  241. gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|1
  242. gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0
  243. gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320
  244. # DEBUG_ASSERT_ENABLED 0x01
  245. # DEBUG_PRINT_ENABLED 0x02
  246. # DEBUG_CODE_ENABLED 0x04
  247. # CLEAR_MEMORY_ENABLED 0x08
  248. # ASSERT_BREAKPOINT_ENABLED 0x10
  249. # ASSERT_DEADLOOP_ENABLED 0x20
  250. !if $(TARGET) == RELEASE
  251. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21
  252. !else
  253. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f
  254. !endif
  255. # DEBUG_INIT 0x00000001 // Initialization
  256. # DEBUG_WARN 0x00000002 // Warnings
  257. # DEBUG_LOAD 0x00000004 // Load events
  258. # DEBUG_FS 0x00000008 // EFI File system
  259. # DEBUG_POOL 0x00000010 // Alloc & Free (pool)
  260. # DEBUG_PAGE 0x00000020 // Alloc & Free (page)
  261. # DEBUG_INFO 0x00000040 // Informational debug messages
  262. # DEBUG_DISPATCH 0x00000080 // PEI/DXE/SMM Dispatchers
  263. # DEBUG_VARIABLE 0x00000100 // Variable
  264. # DEBUG_BM 0x00000400 // Boot Manager
  265. # DEBUG_BLKIO 0x00001000 // BlkIo Driver
  266. # DEBUG_NET 0x00004000 // SNP Driver
  267. # DEBUG_UNDI 0x00010000 // UNDI Driver
  268. # DEBUG_LOADFILE 0x00020000 // LoadFile
  269. # DEBUG_EVENT 0x00080000 // Event messages
  270. # DEBUG_GCD 0x00100000 // Global Coherency Database changes
  271. # DEBUG_CACHE 0x00200000 // Memory range cachability changes
  272. # DEBUG_VERBOSE 0x00400000 // Detailed debug messages that may
  273. # // significantly impact boot performance
  274. # DEBUG_ERROR 0x80000000 // Error
  275. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL)
  276. gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
  277. #
  278. # Optional feature to help prevent EFI memory map fragments
  279. # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob
  280. # Values are in EFI Pages (4K). DXE Core will make sure that
  281. # at least this much of each type of memory can be allocated
  282. # from a single memory range. This way you only end up with
  283. # maximum of two fragments for each type in the memory map
  284. # (the memory used, and the free memory that was prereserved
  285. # but not used).
  286. #
  287. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0
  288. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0
  289. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0
  290. !if $(SECURE_BOOT_ENABLE) == TRUE
  291. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|600
  292. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|400
  293. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1500
  294. !else
  295. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|300
  296. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|150
  297. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|1000
  298. !endif
  299. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|12000
  300. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|20
  301. gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0
  302. gEmbeddedTokenSpaceGuid.PcdDmaDeviceOffset|0xc0000000
  303. gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"EDK2-DEV"
  304. !if $(SECURE_BOOT_ENABLE) == TRUE
  305. # override the default values from SecurityPkg to ensure images from all sources are verified in secure boot
  306. gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy|0x04
  307. gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy|0x04
  308. gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy|0x04
  309. !endif
  310. gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE
  311. # Default platform supported RFC 4646 languages: (American) English
  312. gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultPlatformLangCodes|"en-US"
  313. gEmbeddedTokenSpaceGuid.PcdInterruptBaseAddress|0x40000000
  314. gArmTokenSpaceGuid.PcdArmArchTimerSecIntrNum|0x0
  315. gArmTokenSpaceGuid.PcdArmArchTimerIntrNum|0x1
  316. gArmTokenSpaceGuid.PcdArmArchTimerVirtIntrNum|0x3
  317. gArmTokenSpaceGuid.PcdArmArchTimerHypIntrNum|0x2
  318. [LibraryClasses.common]
  319. ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
  320. ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
  321. ArmPlatformLib|Platform/RaspberryPi/Library/PlatformLib/PlatformLib.inf
  322. TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
  323. CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
  324. UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
  325. BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
  326. PlatformBootManagerLib|Platform/RaspberryPi/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
  327. CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
  328. FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf
  329. AcpiLib|EmbeddedPkg/Library/AcpiLib/AcpiLib.inf
  330. [LibraryClasses.common.UEFI_DRIVER]
  331. UefiScsiLib|MdePkg/Library/UefiScsiLib/UefiScsiLib.inf
  332. ################################################################################
  333. #
  334. # Pcd Section - list of all EDK II PCD Entries defined by this Platform
  335. #
  336. ################################################################################
  337. [PcdsFeatureFlag.common]
  338. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE
  339. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutUgaSupport|FALSE
  340. gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE
  341. [PcdsFixedAtBuild.common]
  342. gArmPlatformTokenSpaceGuid.PcdCoreCount|4
  343. gArmTokenSpaceGuid.PcdVFPEnabled|1
  344. gArmPlatformTokenSpaceGuid.PcdCPUCorePrimaryStackSize|0x4000
  345. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000
  346. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x2800
  347. # Size of the region used by UEFI in permanent memory (Reserved 64MB)
  348. gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000
  349. #
  350. # 0x00000000 - 0x001F0000 FD (PcdFdBaseAddress, PcdFdSize)
  351. # 0x001F0000 - 0x00200000 DTB (PcdFdtBaseAddress, PcdFdtSize)
  352. # 0x00200000 - 0x00400000 TFA (BL2 / BL31 / BL32 "secure SRAM")
  353. # 0x00400000 - ... RAM (PcdSystemMemoryBase, PcdSystemMemorySize)
  354. #
  355. # This matches PcdFvBaseAddress, since everything less is FD + TF-A RAM,
  356. # thus will be reserved away.
  357. #
  358. gArmTokenSpaceGuid.PcdSystemMemoryBase|0x00400000
  359. gArmTokenSpaceGuid.PcdSystemMemorySize|0x3FC00000
  360. #
  361. # Device specific addresses
  362. #
  363. gBcm283xTokenSpaceGuid.PcdBcm283xRegistersAddress|0x3f000000
  364. # UARTs
  365. gArmPlatformTokenSpaceGuid.PL011UartInteger|0
  366. gArmPlatformTokenSpaceGuid.PL011UartFractional|0
  367. gArmPlatformTokenSpaceGuid.PL011UartClkInHz|48000000
  368. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio|TRUE
  369. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride|4
  370. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialFifoControl|0x27
  371. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialExtendedTxFifoSize|8
  372. gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate|115200
  373. gEfiMdePkgTokenSpaceGuid.PcdUartDefaultReceiveFifoDepth|0
  374. #
  375. # Fixed CPU settings.
  376. #
  377. gRaspberryPiTokenSpaceGuid.PcdCpuLowSpeedMHz|600
  378. gRaspberryPiTokenSpaceGuid.PcdCpuDefSpeedMHz|1200
  379. gRaspberryPiTokenSpaceGuid.PcdCpuMaxSpeedMHz|1500
  380. #
  381. # ARM General Interrupt Controller
  382. #
  383. gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x40000000
  384. gRaspberryPiTokenSpaceGuid.PcdGicPmuIrq0|0x09
  385. gRaspberryPiTokenSpaceGuid.PcdGicPmuIrq1|0x09
  386. gRaspberryPiTokenSpaceGuid.PcdGicPmuIrq2|0x09
  387. gRaspberryPiTokenSpaceGuid.PcdGicPmuIrq3|0x09
  388. ## Default Terminal Type
  389. ## 0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8, 4-TTYTERM
  390. gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|4
  391. gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
  392. gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 }
  393. gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|L"EDK2"
  394. gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|TRUE
  395. [PcdsPatchableInModule]
  396. gEfiMdeModulePkgTokenSpaceGuid.PcdSerialClockRate|250000000
  397. [PcdsDynamicHii.common.DEFAULT]
  398. #
  399. # Clock overrides.
  400. #
  401. gRaspberryPiTokenSpaceGuid.PcdCpuClock|L"CpuClock"|gConfigDxeFormSetGuid|0x0|1
  402. gRaspberryPiTokenSpaceGuid.PcdCustomCpuClock|L"CustomCpuClock"|gConfigDxeFormSetGuid|0x0|gRaspberryPiTokenSpaceGuid.PcdCpuDefSpeedMHz
  403. #
  404. # SD-related.
  405. #
  406. gRaspberryPiTokenSpaceGuid.PcdSdIsArasan|L"SdIsArasan"|gConfigDxeFormSetGuid|0x0|0
  407. gRaspberryPiTokenSpaceGuid.PcdMmcForce1Bit|L"MmcForce1Bit"|gConfigDxeFormSetGuid|0x0|0
  408. gRaspberryPiTokenSpaceGuid.PcdMmcForceDefaultSpeed|L"MmcForceDefaultSpeed"|gConfigDxeFormSetGuid|0x0|0
  409. gRaspberryPiTokenSpaceGuid.PcdMmcSdDefaultSpeedMHz|L"MmcSdDefaultSpeedMHz"|gConfigDxeFormSetGuid|0x0|25
  410. gRaspberryPiTokenSpaceGuid.PcdMmcSdHighSpeedMHz|L"MmcSdHighSpeedMHz"|gConfigDxeFormSetGuid|0x0|50
  411. gRaspberryPiTokenSpaceGuid.PcdMmcDisableMulti|L"MmcDisableMulti"|gConfigDxeFormSetGuid|0x0|0
  412. gRaspberryPiTokenSpaceGuid.PcdMmcEnableDma|L"MmcEnableDma"|gConfigDxeFormSetGuid|0x0|0
  413. #
  414. # Debug-related.
  415. #
  416. gRaspberryPiTokenSpaceGuid.PcdDebugEnableJTAG|L"DebugEnableJTAG"|gConfigDxeFormSetGuid|0x0|0
  417. #
  418. # Display-related.
  419. #
  420. #
  421. # Just enable native resolution by default.
  422. #
  423. gRaspberryPiTokenSpaceGuid.PcdDisplayEnableScaledVModes|L"DisplayEnableScaledVModes"|gConfigDxeFormSetGuid|0x0|0x20
  424. gRaspberryPiTokenSpaceGuid.PcdDisplayEnableSShot|L"DisplayEnableSShot"|gConfigDxeFormSetGuid|0x0|1
  425. #
  426. # Supporting > 3GB of memory.
  427. #
  428. gRaspberryPiTokenSpaceGuid.PcdRamMoreThan3GB|L"RamMoreThan3GB"|gConfigDxeFormSetGuid|0x0|0
  429. gRaspberryPiTokenSpaceGuid.PcdRamLimitTo3GB|L"RamLimitTo3GB"|gConfigDxeFormSetGuid|0x0|0
  430. #
  431. # Device Tree and ACPI selection.
  432. #
  433. # 0 - SYSTEM_TABLE_MODE_ACPI
  434. # 1 - SYSTEM_TABLE_MODE_BOTH (default)
  435. # 2 - SYSTEM_TABLE_MODE_DT
  436. #
  437. gRaspberryPiTokenSpaceGuid.PcdSystemTableMode|L"SystemTableMode"|gConfigDxeFormSetGuid|0x0|1
  438. #
  439. # Enable a fan in the ACPI thermal zone on GPIO pin #
  440. #
  441. gRaspberryPiTokenSpaceGuid.PcdFanOnGpio|L"FanOnGpio"|gConfigDxeFormSetGuid|0x0|0
  442. gRaspberryPiTokenSpaceGuid.PcdFanTemp|L"FanTemp"|gConfigDxeFormSetGuid|0x0|0
  443. #
  444. # Reset-related.
  445. #
  446. gRaspberryPiTokenSpaceGuid.PcdPlatformResetDelay|L"ResetDelay"|gRaspberryPiTokenSpaceGuid|0x0|0
  447. # Select XHCI/PCIe mode (not valid on rpi3)
  448. #
  449. # 0 - DISABLED
  450. #
  451. gRaspberryPiTokenSpaceGuid.PcdXhciPci|L"XhciPci"|gConfigDxeFormSetGuid|0x0|0
  452. #
  453. # Common UEFI ones.
  454. #
  455. gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|5
  456. #
  457. # This is silly, but by pointing SetupConXXX and ConXXX PCDs to
  458. # the same variables, I can use the graphical configuration to
  459. # change the mode used by ConSplitter.
  460. #
  461. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutColumn|L"Columns"|gRaspberryPiTokenSpaceGuid|0x0|80
  462. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|L"Columns"|gRaspberryPiTokenSpaceGuid|0x0|80
  463. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow|L"Rows"|gRaspberryPiTokenSpaceGuid|0x0|25
  464. gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|L"Rows"|gRaspberryPiTokenSpaceGuid|0x0|25
  465. [PcdsDynamicDefault.common]
  466. #
  467. # Set video resolution for boot options and for text setup.
  468. #
  469. gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0
  470. gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0
  471. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|640
  472. gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|480
  473. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
  474. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
  475. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
  476. #
  477. # UART in use
  478. # This value will be synchronized with the setting in config.txt
  479. # 0 - PL011_UART_IN_USE
  480. # 1 - MINI_UART_IN_USE
  481. #
  482. gRaspberryPiTokenSpaceGuid.PcdUartInUse|1
  483. #
  484. # Mini-UART clock rate
  485. #
  486. gRaspberryPiTokenSpaceGuid.PcdMiniUartClockRate|250000000
  487. ################################################################################
  488. #
  489. # Components Section - list of all EDK II Modules needed by this Platform
  490. #
  491. ################################################################################
  492. [Components.common]
  493. #
  494. # PEI Phase modules
  495. #
  496. ArmPlatformPkg/PrePi/PeiUniCore.inf {
  497. <LibraryClasses>
  498. SerialPortLib|Platform/RaspberryPi/Library/DualSerialPortLib/DualSerialPortLib.inf
  499. }
  500. #
  501. # DXE
  502. #
  503. MdeModulePkg/Core/Dxe/DxeMain.inf {
  504. <LibraryClasses>
  505. NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf
  506. }
  507. MdeModulePkg/Universal/PCD/Dxe/Pcd.inf {
  508. <LibraryClasses>
  509. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  510. }
  511. #
  512. # Architectural Protocols
  513. #
  514. ArmPkg/Drivers/CpuDxe/CpuDxe.inf
  515. MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
  516. Platform/RaspberryPi/Drivers/VarBlockServiceDxe/VarBlockServiceDxe.inf
  517. MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
  518. MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
  519. <LibraryClasses>
  520. NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
  521. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  522. }
  523. !if $(SECURE_BOOT_ENABLE) == TRUE
  524. MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf {
  525. <LibraryClasses>
  526. NULL|SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
  527. }
  528. SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
  529. !else
  530. MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
  531. !endif
  532. MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
  533. MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
  534. EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
  535. EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf {
  536. <LibraryClasses>
  537. RealTimeClockLib|EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.inf
  538. }
  539. EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
  540. MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
  541. MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
  542. MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
  543. MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
  544. MdeModulePkg/Universal/SerialDxe/SerialDxe.inf {
  545. <LibraryClasses>
  546. SerialPortLib|Platform/RaspberryPi/Library/DualSerialPortLib/DualSerialPortDxeLib.inf
  547. }
  548. Platform/RaspberryPi/Drivers/DisplayDxe/DisplayDxe.inf
  549. MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
  550. UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe.inf
  551. Silicon/Broadcom/Bcm283x/Drivers/InterruptDxe/InterruptDxe.inf
  552. Platform/RaspberryPi/Drivers/RpiFirmwareDxe/RpiFirmwareDxe.inf
  553. Platform/RaspberryPi/Drivers/FdtDxe/FdtDxe.inf
  554. Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.inf
  555. ArmPkg/Drivers/TimerDxe/TimerDxe.inf
  556. MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
  557. MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
  558. #
  559. # FAT filesystem + GPT/MBR partitioning
  560. #
  561. MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
  562. MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
  563. MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
  564. FatPkg/EnhancedFatDxe/Fat.inf
  565. #
  566. # ACPI Support
  567. #
  568. MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
  569. MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf
  570. Platform/RaspberryPi/AcpiTables/AcpiTables.inf
  571. #
  572. # SMBIOS Support
  573. #
  574. Platform/RaspberryPi/Drivers/PlatformSmbiosDxe/PlatformSmbiosDxe.inf
  575. MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
  576. #
  577. # RAM Disk Support
  578. #
  579. MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
  580. #
  581. # Bds
  582. #
  583. MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
  584. MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
  585. MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
  586. MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
  587. MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
  588. Platform/RaspberryPi/Drivers/LogoDxe/LogoDxe.inf
  589. MdeModulePkg/Application/UiApp/UiApp.inf {
  590. <LibraryClasses>
  591. NULL|MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf
  592. NULL|MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf
  593. NULL|Platform/RaspberryPi/Library/PlatformUiAppLib/PlatformUiAppLib.inf
  594. NULL|MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf
  595. }
  596. #
  597. # SCSI Bus and Disk Driver
  598. #
  599. MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
  600. MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
  601. #
  602. # USB Support
  603. #
  604. Platform/RaspberryPi/Drivers/DwUsbHostDxe/DwUsbHostDxe.inf
  605. MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
  606. MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
  607. MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
  608. Drivers/ASIX/Bus/Usb/UsbNetworking/Ax88772c/Ax88772c.inf
  609. #
  610. # SD/MMC support
  611. #
  612. Platform/RaspberryPi/Drivers/SdHostDxe/SdHostDxe.inf
  613. Platform/RaspberryPi/Drivers/ArasanMmcHostDxe/ArasanMmcHostDxe.inf
  614. Platform/RaspberryPi/Drivers/MmcDxe/MmcDxe.inf
  615. #
  616. # Networking stack
  617. #
  618. !include NetworkPkg/Network.dsc.inc
  619. #
  620. # RNG
  621. #
  622. Silicon/Broadcom/Bcm283x/Drivers/Bcm2835RngDxe/Bcm2835RngDxe.inf
  623. #
  624. # UEFI application (Shell Embedded Boot Loader)
  625. #
  626. ShellPkg/Application/Shell/Shell.inf {
  627. <LibraryClasses>
  628. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  629. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  630. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  631. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  632. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  633. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  634. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  635. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  636. NULL|ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.inf
  637. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  638. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  639. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  640. <PcdsFixedAtBuild>
  641. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
  642. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  643. gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000
  644. gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|0x200000
  645. }
  646. !if $(INCLUDE_TFTP_COMMAND) == TRUE
  647. ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
  648. <PcdsFixedAtBuild>
  649. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  650. }
  651. !endif