LS1046aFrwyPkg.fdf 6.6 KB

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