* [Patch][edk2-platforms/devel-MinnowBoardMax-UDK2017] Vlv2TbltDevicePkg: Fix issue with SOURCE_DEBUG_ENABLE
@ 2019-03-29 7:13 Zailiang Sun
2019-03-29 7:14 ` Qian, Yi
0 siblings, 1 reply; 2+ messages in thread
From: Zailiang Sun @ 2019-03-29 7:13 UTC (permalink / raw)
To: edk2-devel; +Cc: David Wei, Yi Qian
https://bugzilla.tianocore.org/show_bug.cgi?id=1671
Build fails when SOURCE_DEBUG_ENABLE is set to TRUE. This is due to
limited size of FV MAIN region. To work around the issue, we increase
size for the region by another 320KB provided that MINNOW2_FSP_BUILD
is set to FALSE.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Zailiang Sun <zailiang.sun@intel.com>
Cc: David Wei <david.wei@intel.com>
Cc: Yi Qian <yi.qian@intel.com>
---
Vlv2TbltDevicePkg/PlatformPkg.fdf | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Vlv2TbltDevicePkg/PlatformPkg.fdf b/Vlv2TbltDevicePkg/PlatformPkg.fdf
index 4c19f156ea..84e3014178 100644
--- a/Vlv2TbltDevicePkg/PlatformPkg.fdf
+++ b/Vlv2TbltDevicePkg/PlatformPkg.fdf
@@ -47,8 +47,13 @@ DEFINE FLASH_REGION_AZALIABIN_BASE = 0xFFD08000
!endif
+!if $(MINNOW2_FSP_BUILD) == TRUE
DEFINE FLASH_REGION_FVMAIN_OFFSET = 0x00110000
DEFINE FLASH_REGION_FVMAIN_SIZE = 0x00210000
+!else
+DEFINE FLASH_REGION_FVMAIN_OFFSET = 0x000C0000
+DEFINE FLASH_REGION_FVMAIN_SIZE = 0x00260000
+!endif
DEFINE FLASH_REGION_FV_RECOVERY2_OFFSET = 0x00320000
DEFINE FLASH_REGION_FV_RECOVERY2_SIZE = 0x00070000
--
2.19.1.windows.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Patch][edk2-platforms/devel-MinnowBoardMax-UDK2017] Vlv2TbltDevicePkg: Fix issue with SOURCE_DEBUG_ENABLE
2019-03-29 7:13 [Patch][edk2-platforms/devel-MinnowBoardMax-UDK2017] Vlv2TbltDevicePkg: Fix issue with SOURCE_DEBUG_ENABLE Zailiang Sun
@ 2019-03-29 7:14 ` Qian, Yi
0 siblings, 0 replies; 2+ messages in thread
From: Qian, Yi @ 2019-03-29 7:14 UTC (permalink / raw)
To: Sun, Zailiang, edk2-devel@lists.01.org; +Cc: Wei, David
Reviewed by Qian Yi<yi.qian@intel.com>
Thanks
Qian Yi
> -----Original Message-----
> From: Sun, Zailiang
> Sent: Friday, March 29, 2019 3:13 PM
> To: edk2-devel@lists.01.org
> Cc: Wei, David <david.wei@intel.com>; Qian, Yi <yi.qian@intel.com>
> Subject: [Patch][edk2-platforms/devel-MinnowBoardMax-UDK2017]
> Vlv2TbltDevicePkg: Fix issue with SOURCE_DEBUG_ENABLE
>
> https://bugzilla.tianocore.org/show_bug.cgi?id=1671
>
> Build fails when SOURCE_DEBUG_ENABLE is set to TRUE. This is due to
> limited size of FV MAIN region. To work around the issue, we increase size
> for the region by another 320KB provided that MINNOW2_FSP_BUILD is set
> to FALSE.
>
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Zailiang Sun <zailiang.sun@intel.com>
> Cc: David Wei <david.wei@intel.com>
> Cc: Yi Qian <yi.qian@intel.com>
> ---
> Vlv2TbltDevicePkg/PlatformPkg.fdf | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/Vlv2TbltDevicePkg/PlatformPkg.fdf
> b/Vlv2TbltDevicePkg/PlatformPkg.fdf
> index 4c19f156ea..84e3014178 100644
> --- a/Vlv2TbltDevicePkg/PlatformPkg.fdf
> +++ b/Vlv2TbltDevicePkg/PlatformPkg.fdf
> @@ -47,8 +47,13 @@ DEFINE FLASH_REGION_AZALIABIN_BASE
> = 0xFFD08000
>
> !endif
>
> +!if $(MINNOW2_FSP_BUILD) == TRUE
> DEFINE FLASH_REGION_FVMAIN_OFFSET = 0x00110000
> DEFINE FLASH_REGION_FVMAIN_SIZE = 0x00210000
> +!else
> +DEFINE FLASH_REGION_FVMAIN_OFFSET = 0x000C0000
> +DEFINE FLASH_REGION_FVMAIN_SIZE = 0x00260000
> +!endif
>
> DEFINE FLASH_REGION_FV_RECOVERY2_OFFSET = 0x00320000
> DEFINE FLASH_REGION_FV_RECOVERY2_SIZE = 0x00070000
> --
> 2.19.1.windows.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-03-29 7:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-29 7:13 [Patch][edk2-platforms/devel-MinnowBoardMax-UDK2017] Vlv2TbltDevicePkg: Fix issue with SOURCE_DEBUG_ENABLE Zailiang Sun
2019-03-29 7:14 ` Qian, Yi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox