From: Olivier Martin Date: Fri, 30 Aug 2013 11:50:36 +0000 (+0000) Subject: ARM Package: Increase FV file size for some EDK2 firmware X-Git-Tag: edk2-stable201903~12295 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=55b0a24ad29eb027eefe1ddd4c9aa466fded0b93 ARM Package: Increase FV file size for some EDK2 firmware GCC47 generates bigger binaries in Debug build than GCC46. This large increase is considered as a regression. It will require some investigation to understand the reason of this increase in size. The size of the FV has been increased to allow developers to build these images with the current BaseTools. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14611 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/ArmPlatformPkg/ArmPlatformPkg.fdf b/ArmPlatformPkg/ArmPlatformPkg.fdf index 41f6256eec..d7355d7dca 100644 --- a/ArmPlatformPkg/ArmPlatformPkg.fdf +++ b/ArmPlatformPkg/ArmPlatformPkg.fdf @@ -26,9 +26,9 @@ [FD.Sec_ArmPlatform_EFI] BaseAddress = 0xEC000000|gArmTokenSpaceGuid.PcdSecureFdBaseAddress #The base address of the Secure FLASH Device. -Size = 0x00015000|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 = 0x00001500 +BlockSize = 0x00002000 NumBlocks = 0x10 ################################################################################ @@ -47,7 +47,7 @@ NumBlocks = 0x10 # ################################################################################ -0x00000000|0x00015000 +0x00000000|0x00020000 gArmTokenSpaceGuid.PcdSecureFvBaseAddress|gArmTokenSpaceGuid.PcdSecureFvSize FV = FVMAIN_SEC diff --git a/ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-MPCore.fdf b/ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-MPCore.fdf index 8f6e404caf..babadd87e9 100644 --- a/ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-MPCore.fdf +++ b/ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-MPCore.fdf @@ -28,10 +28,10 @@ [FD.ArmRealViewEb_EFI] BaseAddress = 0x40000000|gArmTokenSpaceGuid.PcdFdBaseAddress -Size = 0x00150000|gArmTokenSpaceGuid.PcdFdSize +Size = 0x00200000|gArmTokenSpaceGuid.PcdFdSize ErasePolarity = 1 BlockSize = 0x00010000 -NumBlocks = 0x15 +NumBlocks = 0x20 ################################################################################ # @@ -53,7 +53,7 @@ NumBlocks = 0x15 gArmTokenSpaceGuid.PcdSecureFvBaseAddress|gArmTokenSpaceGuid.PcdSecureFvSize FV = FVMAIN_SEC -0x00050000|0x00100000 +0x00050000|0x00150000 gArmTokenSpaceGuid.PcdFvBaseAddress|gArmTokenSpaceGuid.PcdFvSize FV = FVMAIN_COMPACT diff --git a/ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-UniCore.fdf b/ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-UniCore.fdf index d235cb888b..2e8ae2f500 100644 --- a/ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-UniCore.fdf +++ b/ArmPlatformPkg/ArmRealViewEbPkg/ArmRealViewEb-RTSM-UniCore.fdf @@ -29,10 +29,10 @@ [FD.ArmRealViewEb_EFI] BaseAddress = 0x40000000|gArmTokenSpaceGuid.PcdFdBaseAddress -Size = 0x00150000|gArmTokenSpaceGuid.PcdFdSize +Size = 0x00200000|gArmTokenSpaceGuid.PcdFdSize ErasePolarity = 1 BlockSize = 0x00010000 -NumBlocks = 0x15 +NumBlocks = 0x20 ################################################################################ # @@ -54,7 +54,7 @@ NumBlocks = 0x15 gArmTokenSpaceGuid.PcdSecureFvBaseAddress|gArmTokenSpaceGuid.PcdSecureFvSize FV = FVMAIN_SEC -0x00050000|0x00100000 +0x00050000|0x00150000 gArmTokenSpaceGuid.PcdFvBaseAddress|gArmTokenSpaceGuid.PcdFvSize FV = FVMAIN_COMPACT diff --git a/BeagleBoardPkg/BeagleBoardPkg.fdf b/BeagleBoardPkg/BeagleBoardPkg.fdf index 1bb593dfbe..5b3573d9d7 100644 --- a/BeagleBoardPkg/BeagleBoardPkg.fdf +++ b/BeagleBoardPkg/BeagleBoardPkg.fdf @@ -28,10 +28,10 @@ [FD.BeagleBoard_EFI] BaseAddress = 0x80008000|gArmTokenSpaceGuid.PcdFdBaseAddress #The base address of the FLASH Device. -Size = 0x000A0000|gArmTokenSpaceGuid.PcdFdSize #The size in bytes of the FLASH Device +Size = 0x000B0000|gArmTokenSpaceGuid.PcdFdSize #The size in bytes of the FLASH Device ErasePolarity = 1 BlockSize = 0x1 -NumBlocks = 0xA0000 +NumBlocks = 0xB0000 ################################################################################ # @@ -48,7 +48,7 @@ NumBlocks = 0xA0000 # RegionType # ################################################################################ -0x00000000|0x000A0000 +0x00000000|0x000B0000 gArmTokenSpaceGuid.PcdFvBaseAddress|gArmTokenSpaceGuid.PcdFvSize FV = FVMAIN_COMPACT