LX2160aRdbPkg.fdf 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. # LX2160aRdbPkg.fdf
  2. #
  3. # FLASH layout file for LX2160a board.
  4. #
  5. # Copyright 2018-2020 NXP
  6. # Copyright 2020 Puresoftware Ltd
  7. #
  8. # SPDX-License-Identifier: BSD-2-Clause-Patent
  9. #
  10. ################################################################################
  11. #
  12. # FD Section
  13. # The [FD] Section is made up of the definition statements and a
  14. # description of what goes into the Flash Device Image. Each FD section
  15. # defines one flash "device" image. A flash device image may be one of
  16. # the following: Removable media bootable image (like a boot floppy
  17. # image,) an Option ROM image (that would be "flashed" into an add-in
  18. # card,) a System "Flash" image (that would be burned into a system's
  19. # flash) or an Update ("Capsule") image that will be used to update and
  20. # existing system flash.
  21. #
  22. ################################################################################
  23. [FD.LX2160ARDB_EFI]
  24. BaseAddress = 0x82000000|gArmTokenSpaceGuid.PcdFdBaseAddress #The base address of the FLASH Device.
  25. Size = 0x00180000|gArmTokenSpaceGuid.PcdFdSize #The size in bytes of the FLASH Device
  26. ErasePolarity = 1
  27. BlockSize = 0x10000
  28. NumBlocks = 0x18
  29. ################################################################################
  30. #
  31. # Following are lists of FD Region layout which correspond to the locations of different
  32. # images within the flash device.
  33. #
  34. # Regions must be defined in ascending order and may not overlap.
  35. #
  36. # A Layout Region start with a eight digit hex offset (leading "0x" required) followed by
  37. # the pipe "|" character, followed by the size of the region, also in hex with the leading
  38. # "0x" characters. Like:
  39. # Offset|Size
  40. # PcdOffsetCName|PcdSizeCName
  41. # RegionType <FV, DATA, or FILE>
  42. #
  43. ################################################################################
  44. 0x00000000|0x00180000
  45. gArmTokenSpaceGuid.PcdFvBaseAddress|gArmTokenSpaceGuid.PcdFvSize
  46. FV = FVMAIN_COMPACT
  47. !include Platform/NXP/FVRules.fdf.inc
  48. !include VarStore.fdf.inc
  49. ################################################################################
  50. #
  51. # FV Section
  52. #
  53. # [FV] section is used to define what components or modules are placed within a flash
  54. # device file. This section also defines order the components and modules are positioned
  55. # within the image. The [FV] section consists of define statements, set statements and
  56. # module statements.
  57. #
  58. ################################################################################
  59. [FV.FvMain]
  60. FvNameGuid = 1037c42b-8452-4c41-aac7-41e6c31468da
  61. BlockSize = 0x1
  62. NumBlocks = 0 # This FV gets compressed so make it just big enough
  63. FvAlignment = 8 # FV alignment and FV attributes setting.
  64. ERASE_POLARITY = 1
  65. MEMORY_MAPPED = TRUE
  66. STICKY_WRITE = TRUE
  67. LOCK_CAP = TRUE
  68. LOCK_STATUS = TRUE
  69. WRITE_DISABLED_CAP = TRUE
  70. WRITE_ENABLED_CAP = TRUE
  71. WRITE_STATUS = TRUE
  72. WRITE_LOCK_CAP = TRUE
  73. WRITE_LOCK_STATUS = TRUE
  74. READ_DISABLED_CAP = TRUE
  75. READ_ENABLED_CAP = TRUE
  76. READ_STATUS = TRUE
  77. READ_LOCK_CAP = TRUE
  78. READ_LOCK_STATUS = TRUE
  79. INF MdeModulePkg/Core/Dxe/DxeMain.inf
  80. INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
  81. #
  82. # PI DXE Drivers producing Architectural Protocols (EFI Services)
  83. #
  84. INF ArmPkg/Drivers/CpuDxe/CpuDxe.inf
  85. # Platform DXE Driver
  86. INF Platform/NXP/LX2160aRdbPkg/Drivers/PlatformDxe/PlatformDxe.inf
  87. INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
  88. INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
  89. INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
  90. INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
  91. INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
  92. INF MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
  93. INF EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
  94. INF MdeModulePkg/Universal/Metronome/Metronome.inf
  95. INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
  96. #
  97. # Acpi Support
  98. #
  99. INF MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
  100. INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
  101. !if $(DYNAMIC_ACPI_ENABLE) == TRUE
  102. INF Platform/NXP/ConfigurationManagerPkg/ConfigurationManagerDxe/ConfigurationManagerDxe.inf
  103. !include DynamicTablesPkg/DynamicTables.fdf.inc
  104. !endif
  105. #
  106. # Multiple Console IO support
  107. #
  108. INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
  109. INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
  110. INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
  111. INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
  112. INF MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
  113. INF ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
  114. INF ArmPkg/Drivers/TimerDxe/TimerDxe.inf
  115. INF ArmPkg/Drivers/GenericWatchdogDxe/GenericWatchdogDxe.inf
  116. #
  117. # Networking stack
  118. #
  119. !include NetworkPkg/Network.fdf.inc
  120. #
  121. # PCI
  122. #
  123. INF Silicon/NXP/Drivers/PciCpuIo2Dxe/PciCpuIo2Dxe.inf
  124. INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
  125. INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
  126. #
  127. # FAT filesystem + GPT/MBR partitioning
  128. #
  129. INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
  130. INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
  131. INF FatPkg/EnhancedFatDxe/Fat.inf
  132. INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
  133. INF MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceDxe.inf
  134. #
  135. # USB Support
  136. #
  137. INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
  138. INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
  139. INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
  140. INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
  141. INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
  142. INF Silicon/NXP/Drivers/UsbHcdInitDxe/UsbHcd.inf
  143. #
  144. # AHCI Support
  145. #
  146. INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
  147. INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
  148. INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
  149. INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
  150. INF MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
  151. INF Silicon/NXP/Drivers/SataInitDxe/SataInitDxe.inf
  152. #
  153. # UEFI application (Shell Embedded Boot Loader)
  154. #
  155. INF ShellPkg/Application/Shell/Shell.inf
  156. #
  157. # Bds
  158. #
  159. INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
  160. INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
  161. INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
  162. INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
  163. INF MdeModulePkg/Application/UiApp/UiApp.inf
  164. [FV.FVMAIN_COMPACT]
  165. FvAlignment = 8
  166. ERASE_POLARITY = 1
  167. MEMORY_MAPPED = TRUE
  168. STICKY_WRITE = TRUE
  169. LOCK_CAP = TRUE
  170. LOCK_STATUS = TRUE
  171. WRITE_DISABLED_CAP = TRUE
  172. WRITE_ENABLED_CAP = TRUE
  173. WRITE_STATUS = TRUE
  174. WRITE_LOCK_CAP = TRUE
  175. WRITE_LOCK_STATUS = TRUE
  176. READ_DISABLED_CAP = TRUE
  177. READ_ENABLED_CAP = TRUE
  178. READ_STATUS = TRUE
  179. READ_LOCK_CAP = TRUE
  180. READ_LOCK_STATUS = TRUE
  181. INF ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf
  182. INF MdeModulePkg/Core/Pei/PeiMain.inf
  183. INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
  184. INF MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
  185. INF MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
  186. INF ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
  187. INF ArmPkg/Drivers/CpuPei/CpuPei.inf
  188. INF ArmPlatformPkg/PlatformPei/PlatformPeim.inf
  189. INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
  190. FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
  191. SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
  192. SECTION FV_IMAGE = FVMAIN
  193. }
  194. }