X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ArmPlatformPkg%2FArmPlatformPkg.fdf;h=36ca8b0850638006ef7028496e5deadf34834a65;hb=dd4e2bcfaa068fd958169944e99149fa06b58354;hp=ff9fe5b5e66795959fa7ed80f3a062962e198bab;hpb=67fb865cbd9307b7853f370b80afd8ea4edb8861;p=mirror_edk2.git diff --git a/ArmPlatformPkg/ArmPlatformPkg.fdf b/ArmPlatformPkg/ArmPlatformPkg.fdf index ff9fe5b5e6..36ca8b0850 100644 --- a/ArmPlatformPkg/ArmPlatformPkg.fdf +++ b/ArmPlatformPkg/ArmPlatformPkg.fdf @@ -1,13 +1,13 @@ # -# Copyright (c) 2011-2013, ARM Limited. All rights reserved. -# -# This program and the accompanying materials -# are licensed and made available under the terms and conditions of the BSD License -# which accompanies this distribution. The full text of the license may be found at -# http://opensource.org/licenses/bsd-license.php +# Copyright (c) 2011-2014, ARM Limited. All rights reserved. # -# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +# This program and the accompanying materials +# are licensed and made available under the terms and conditions of the BSD License +# which accompanies this distribution. The full text of the license may be found at +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. # ################################################################################ @@ -26,9 +26,9 @@ [FD.Sec_ArmPlatform_EFI] BaseAddress = 0xEC000000|gArmTokenSpaceGuid.PcdSecureFdBaseAddress #The base address of the Secure FLASH Device. -Size = 0x00010000|gArmTokenSpaceGuid.PcdSecureFdSize #The size in bytes of the Secure FLASH Device +Size = 0x00020000|gArmTokenSpaceGuid.PcdSecureFdSize #The size in bytes of the Secure FLASH Device ErasePolarity = 1 -BlockSize = 0x00001000 +BlockSize = 0x00002000 NumBlocks = 0x10 ################################################################################ @@ -47,7 +47,7 @@ NumBlocks = 0x10 # ################################################################################ -0x00000000|0x00010000 +0x00000000|0x00020000 gArmTokenSpaceGuid.PcdSecureFvBaseAddress|gArmTokenSpaceGuid.PcdSecureFvSize FV = FVMAIN_SEC @@ -133,11 +133,12 @@ READ_ENABLED_CAP = TRUE READ_STATUS = TRUE READ_LOCK_CAP = TRUE READ_LOCK_STATUS = TRUE +FvNameGuid = 8fa66cd0-f773-4f26-8f9f-5e54d0804c68 - INF MdeModulePkg/Core/Dxe/DxeMain.inf + INF MdeModulePkg/Core/Dxe/DxeMain.inf # - # PI DXE Drivers producing Architectural Protocols (EFI Services) + # PI DXE Drivers producing Architectural Protocols (EFI Services) # INF ArmPkg/Drivers/CpuDxe/CpuDxe.inf INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf @@ -152,12 +153,12 @@ READ_LOCK_STATUS = TRUE # Simple TextIn/TextOut for UEFI Terminal INF EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOutSerial.inf - + # # Semi-hosting filesystem (Required the Hardware Debugger to be connected) # INF ArmPkg/Filesystem/SemihostFs/SemihostFs.inf - + # # FAT filesystem + GPT/MBR partitioning # @@ -165,12 +166,12 @@ READ_LOCK_STATUS = TRUE INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf INF FatBinPkg/EnhancedFatDxe/Fat.inf INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf - + + # + # UEFI application (Shell Embedded Boot Loader) # - # UEFI application (Shell Embedded Boot Loader) - # INF EmbeddedPkg/Ebl/Ebl.inf - + # # Bds # @@ -205,7 +206,7 @@ READ_LOCK_STATUS = TRUE INF IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf INF MdeModulePkg/Universal/Variable/Pei/VariablePei.inf INF MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf - + FILE FV_IMAGE = 9E21FD93-9C72-4c15-8C4B-E77F1DB2D792 { SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE { SECTION FV_IMAGE = FVMAIN @@ -224,7 +225,7 @@ READ_LOCK_STATUS = TRUE ############################################################################ -# Example of a DXE_DRIVER FFS file with a Checksum encapsulation section # +# Example of a DXE_DRIVER FFS file with a Checksum encapsulation section # ############################################################################ # #[Rule.Common.DXE_DRIVER] @@ -241,22 +242,29 @@ READ_LOCK_STATUS = TRUE # ############################################################################ -[Rule.Common.SEC] +[Rule.ARM.SEC] FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED { TE TE Align = 32 $(INF_OUTPUT)/$(MODULE_NAME).efi } +# The AArch64 Vector Table requires a 2K alignment that is not supported by the FDF specification. +# It is the reason 4K is used instead of 2K for the module alignment. +[Rule.AARCH64.SEC] + FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED { + TE TE Align = 4K $(INF_OUTPUT)/$(MODULE_NAME).efi + } + [Rule.Common.PEI_CORE] FILE PEI_CORE = $(NAMED_GUID) { TE TE $(INF_OUTPUT)/$(MODULE_NAME).efi - UI STRING ="$(MODULE_NAME)" Optional + UI STRING ="$(MODULE_NAME)" Optional } [Rule.Common.PEIM] FILE PEIM = $(NAMED_GUID) { PEI_DEPEX PEI_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex TE TE $(INF_OUTPUT)/$(MODULE_NAME).efi - UI STRING="$(MODULE_NAME)" Optional + UI STRING="$(MODULE_NAME)" Optional } [Rule.Common.PEIM.TIANOCOMPRESSED] @@ -305,6 +313,6 @@ READ_LOCK_STATUS = TRUE [Rule.Common.UEFI_APPLICATION] FILE APPLICATION = $(NAMED_GUID) { - UI STRING ="$(MODULE_NAME)" Optional + UI STRING ="$(MODULE_NAME)" Optional PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi }