[edk2-devel] [PATCH edk2-platforms 16/16] Platform/NXP: LS1043aRdbPkg : Increase fv image size

Wasim Khan posted 16 patches 7 weeks ago

[edk2-devel] [PATCH edk2-platforms 16/16] Platform/NXP: LS1043aRdbPkg : Increase fv image size

Posted by Wasim Khan 7 weeks ago
From: Wasim Khan <wasim.khan@nxp.com>

Increase fv image size to pass debug build.

Signed-off-by: Wasim Khan <wasim.khan@nxp.com>
---
 Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.fdf | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.fdf b/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.fdf
index 81142f217a63..1c160e349eb9 100644
--- a/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.fdf
+++ b/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.fdf
@@ -24,10 +24,12 @@
 
 [FD.LS1043ARDB_EFI]
 BaseAddress   = 0x82000000|gArmTokenSpaceGuid.PcdFdBaseAddress  #The base address of the FLASH Device.
-Size          = 0x00140000|gArmTokenSpaceGuid.PcdFdSize         #The size in bytes of the FLASH Device
+Size          = 0x00180000|gArmTokenSpaceGuid.PcdFdSize         #The size in bytes of the FLASH Device
 ErasePolarity = 1
+
+# This one is tricky, it must be: BlockSize * NumBlocks = Size
 BlockSize     = 0x40000
-NumBlocks     = 0x5
+NumBlocks     = 0x6
 
 ################################################################################
 #
@@ -44,7 +46,7 @@ [FD.LS1043ARDB_EFI]
 # RegionType <FV, DATA, or FILE>
 #
 ################################################################################
-0x00000000|0x00140000
+0x00000000|0x00180000
 gArmTokenSpaceGuid.PcdFvBaseAddress|gArmTokenSpaceGuid.PcdFvSize
 FV = FVMAIN_COMPACT
 
-- 
2.7.4


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#60128): https://edk2.groups.io/g/devel/message/60128
Mute This Topic: https://groups.io/mt/74396472/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH edk2-platforms 16/16] Platform/NXP: LS1043aRdbPkg : Increase fv image size

Posted by Ard Biesheuvel 7 weeks ago
On 5/22/20 1:02 AM, Wasim Khan wrote:
> From: Wasim Khan <wasim.khan@nxp.com>
> 
> Increase fv image size to pass debug build.
> 
> Signed-off-by: Wasim Khan <wasim.khan@nxp.com>

Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>

> ---
>   Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.fdf | 8 +++++---
>   1 file changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.fdf b/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.fdf
> index 81142f217a63..1c160e349eb9 100644
> --- a/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.fdf
> +++ b/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.fdf
> @@ -24,10 +24,12 @@
>   
>   [FD.LS1043ARDB_EFI]
>   BaseAddress   = 0x82000000|gArmTokenSpaceGuid.PcdFdBaseAddress  #The base address of the FLASH Device.
> -Size          = 0x00140000|gArmTokenSpaceGuid.PcdFdSize         #The size in bytes of the FLASH Device
> +Size          = 0x00180000|gArmTokenSpaceGuid.PcdFdSize         #The size in bytes of the FLASH Device
>   ErasePolarity = 1
> +
> +# This one is tricky, it must be: BlockSize * NumBlocks = Size
>   BlockSize     = 0x40000
> -NumBlocks     = 0x5
> +NumBlocks     = 0x6
>   
>   ################################################################################
>   #
> @@ -44,7 +46,7 @@ [FD.LS1043ARDB_EFI]
>   # RegionType <FV, DATA, or FILE>
>   #
>   ################################################################################
> -0x00000000|0x00140000
> +0x00000000|0x00180000
>   gArmTokenSpaceGuid.PcdFvBaseAddress|gArmTokenSpaceGuid.PcdFvSize
>   FV = FVMAIN_COMPACT
>   
> 


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#60105): https://edk2.groups.io/g/devel/message/60105
Mute This Topic: https://groups.io/mt/74395779/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-