LS1043aRdbPkg.fdf 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. # LS1043aRdbPkg.fdf
  2. #
  3. # FLASH layout file for LS1043a board.
  4. #
  5. # Copyright (c) 2016, Freescale Ltd. All rights reserved.
  6. # Copyright 2017-2020 NXP
  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.LS1043ARDB_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. # This one is tricky, it must be: BlockSize * NumBlocks = Size
  28. BlockSize = 0x40000
  29. NumBlocks = 0x6
  30. ################################################################################
  31. #
  32. # Following are lists of FD Region layout which correspond to the locations of different
  33. # images within the flash device.
  34. #
  35. # Regions must be defined in ascending order and may not overlap.
  36. #
  37. # A Layout Region start with a eight digit hex offset (leading "0x" required) followed by
  38. # the pipe "|" character, followed by the size of the region, also in hex with the leading
  39. # "0x" characters. Like:
  40. # Offset|Size
  41. # PcdOffsetCName|PcdSizeCName
  42. # RegionType <FV, DATA, or FILE>
  43. #
  44. ################################################################################
  45. 0x00000000|0x00180000
  46. gArmTokenSpaceGuid.PcdFvBaseAddress|gArmTokenSpaceGuid.PcdFvSize
  47. FV = FVMAIN_COMPACT
  48. !include Platform/NXP/FVRules.fdf.inc
  49. !include VarStore.fdf.inc
  50. ################################################################################
  51. #
  52. # FV Section
  53. #
  54. # [FV] section is used to define what components or modules are placed within a flash
  55. # device file. This section also defines order the components and modules are positioned
  56. # within the image. The [FV] section consists of define statements, set statements and
  57. # module statements.
  58. #
  59. ################################################################################
  60. [FV.FvMain]
  61. FvNameGuid = 1037c42b-8452-4c41-aac7-41e6c31468da
  62. BlockSize = 0x1
  63. NumBlocks = 0 # This FV gets compressed so make it just big enough
  64. FvAlignment = 8 # FV alignment and FV attributes setting.
  65. ERASE_POLARITY = 1
  66. MEMORY_MAPPED = TRUE
  67. STICKY_WRITE = TRUE
  68. LOCK_CAP = TRUE
  69. LOCK_STATUS = TRUE
  70. WRITE_DISABLED_CAP = TRUE
  71. WRITE_ENABLED_CAP = TRUE
  72. WRITE_STATUS = TRUE
  73. WRITE_LOCK_CAP = TRUE
  74. WRITE_LOCK_STATUS = TRUE
  75. READ_DISABLED_CAP = TRUE
  76. READ_ENABLED_CAP = TRUE
  77. READ_STATUS = TRUE
  78. READ_LOCK_CAP = TRUE
  79. READ_LOCK_STATUS = TRUE
  80. INF MdeModulePkg/Core/Dxe/DxeMain.inf
  81. INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
  82. #
  83. # PI DXE Drivers producing Architectural Protocols (EFI Services)
  84. #
  85. INF ArmPkg/Drivers/CpuDxe/CpuDxe.inf
  86. INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
  87. INF ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
  88. INF ArmPkg/Drivers/TimerDxe/TimerDxe.inf
  89. INF Platform/NXP/LS1043aRdbPkg/Drivers/PlatformDxe/PlatformDxe.inf
  90. INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
  91. INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
  92. INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
  93. INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
  94. INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
  95. INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
  96. INF MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
  97. INF Silicon/NXP/Drivers/I2cDxe/I2cDxe.inf
  98. INF EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
  99. #
  100. # Multiple Console IO support
  101. #
  102. INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
  103. INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
  104. INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
  105. INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
  106. INF MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
  107. INF MdeModulePkg/Universal/Metronome/Metronome.inf
  108. INF EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf
  109. #
  110. # Networking stack
  111. #
  112. !include NetworkPkg/Network.fdf.inc
  113. #
  114. # PCI
  115. #
  116. INF Silicon/NXP/Drivers/PciCpuIo2Dxe/PciCpuIo2Dxe.inf
  117. INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
  118. INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
  119. #
  120. # FAT filesystem + GPT/MBR partitioning
  121. #
  122. INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
  123. INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
  124. INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
  125. INF FatPkg/FatPei/FatPei.inf
  126. INF FatPkg/EnhancedFatDxe/Fat.inf
  127. #
  128. # UEFI application (Shell Embedded Boot Loader)
  129. #
  130. INF ShellPkg/Application/Shell/Shell.inf
  131. #
  132. # Bds
  133. #
  134. INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
  135. INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
  136. INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
  137. INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
  138. INF MdeModulePkg/Application/UiApp/UiApp.inf
  139. [FV.FVMAIN_COMPACT]
  140. FvAlignment = 8
  141. ERASE_POLARITY = 1
  142. MEMORY_MAPPED = TRUE
  143. STICKY_WRITE = TRUE
  144. LOCK_CAP = TRUE
  145. LOCK_STATUS = TRUE
  146. WRITE_DISABLED_CAP = TRUE
  147. WRITE_ENABLED_CAP = TRUE
  148. WRITE_STATUS = TRUE
  149. WRITE_LOCK_CAP = TRUE
  150. WRITE_LOCK_STATUS = TRUE
  151. READ_DISABLED_CAP = TRUE
  152. READ_ENABLED_CAP = TRUE
  153. READ_STATUS = TRUE
  154. READ_LOCK_CAP = TRUE
  155. READ_LOCK_STATUS = TRUE
  156. INF ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf
  157. INF MdeModulePkg/Core/Pei/PeiMain.inf
  158. INF MdeModulePkg/Universal/PCD/Pei/Pcd.inf
  159. INF MdeModulePkg/Universal/FaultTolerantWritePei/FaultTolerantWritePei.inf
  160. INF MdeModulePkg/Universal/Variable/Pei/VariablePei.inf
  161. INF ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
  162. INF ArmPkg/Drivers/CpuPei/CpuPei.inf
  163. INF ArmPlatformPkg/PlatformPei/PlatformPeim.inf
  164. INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf
  165. FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
  166. SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
  167. SECTION FV_IMAGE = FVMAIN
  168. }
  169. }