RPi4.dsc 33 KB

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