LS1043aRdbPkg.fdf 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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 = 0x000ED000|gArmTokenSpaceGuid.PcdFdSize #The size in bytes of the FLASH Device
  26. ErasePolarity = 1
  27. BlockSize = 0x1
  28. NumBlocks = 0xED000
  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|0x000ED000
  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. INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
  86. INF ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
  87. INF ArmPkg/Drivers/TimerDxe/TimerDxe.inf
  88. INF Platform/NXP/LS1043aRdbPkg/Drivers/PlatformDxe/PlatformDxe.inf
  89. INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
  90. INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
  91. INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
  92. INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
  93. INF EmbeddedPkg/EmbeddedMonotonicCounter/EmbeddedMonotonicCounter.inf
  94. INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
  95. INF MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf
  96. INF Silicon/NXP/Drivers/I2cDxe/I2cDxe.inf
  97. INF EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
  98. #
  99. # Multiple Console IO support
  100. #
  101. INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
  102. INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
  103. INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
  104. INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
  105. INF MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
  106. INF EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
  107. INF EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf
  108. #
  109. # FAT filesystem + GPT/MBR partitioning
  110. #
  111. INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
  112. INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
  113. INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
  114. INF FatPkg/FatPei/FatPei.inf
  115. INF FatPkg/EnhancedFatDxe/Fat.inf
  116. #
  117. # UEFI application (Shell Embedded Boot Loader)
  118. #
  119. INF ShellPkg/Application/Shell/Shell.inf
  120. #
  121. # Bds
  122. #
  123. INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
  124. INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
  125. INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
  126. INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
  127. INF MdeModulePkg/Application/UiApp/UiApp.inf
  128. [FV.FVMAIN_COMPACT]
  129. FvAlignment = 8
  130. ERASE_POLARITY = 1
  131. MEMORY_MAPPED = TRUE
  132. STICKY_WRITE = TRUE
  133. LOCK_CAP = TRUE
  134. LOCK_STATUS = TRUE
  135. WRITE_DISABLED_CAP = TRUE
  136. WRITE_ENABLED_CAP = TRUE
  137. WRITE_STATUS = TRUE
  138. WRITE_LOCK_CAP = TRUE
  139. WRITE_LOCK_STATUS = TRUE
  140. READ_DISABLED_CAP = TRUE
  141. READ_ENABLED_CAP = TRUE
  142. READ_STATUS = TRUE
  143. READ_LOCK_CAP = TRUE
  144. READ_LOCK_STATUS = TRUE
  145. INF ArmPlatformPkg/PrePi/PeiUniCore.inf
  146. FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 {
  147. SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE {
  148. SECTION FV_IMAGE = FVMAIN
  149. }
  150. }