diff options
author | Gary Ching-Pang Lin <glin@suse.com> | 2015-10-07 11:53:07 +0000 |
---|---|---|
committer | lersek <lersek@Edk2> | 2015-10-07 11:53:07 +0000 |
commit | 08df58ec3043101ebbd7b9158f67fa6de3e983c0 (patch) | |
tree | 4e940a6db4e2e610ebd4b576d954543b80365748 | |
parent | c3a10e42e3aa888612b8ec297bfcec973f5e9ffd (diff) | |
download | edk2-08df58ec3043101ebbd7b9158f67fa6de3e983c0.zip edk2-08df58ec3043101ebbd7b9158f67fa6de3e983c0.tar.gz edk2-08df58ec3043101ebbd7b9158f67fa6de3e983c0.tar.bz2 |
OvmfPkg: raise DXEFV size to 9 MB
With gcc5 and enabling SECURE_BOOT and NETWORK_IP6, the build
failed with this error:
GenFv: ERROR 3000: Invalid
the required fv image size 0x814c18 exceeds the set fv image size 0x800000
Raise the DXEFV size to 9 MB to fix the build error.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Ching-Pang Lin <glin@suse.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Regression-tested-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18577 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | OvmfPkg/OvmfPkgIa32.fdf | 6 | ||||
-rw-r--r-- | OvmfPkg/OvmfPkgIa32X64.fdf | 6 | ||||
-rw-r--r-- | OvmfPkg/OvmfPkgX64.fdf | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/OvmfPkg/OvmfPkgIa32.fdf b/OvmfPkg/OvmfPkgIa32.fdf index 20b6df2..d4ae2f9 100644 --- a/OvmfPkg/OvmfPkgIa32.fdf +++ b/OvmfPkg/OvmfPkgIa32.fdf @@ -79,10 +79,10 @@ FV = SECFV [FD.MEMFD]
BaseAddress = 0x800000
-Size = 0x900000
+Size = 0xA00000
ErasePolarity = 1
BlockSize = 0x10000
-NumBlocks = 0x90
+NumBlocks = 0xA0
0x000000|0x006000
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesSize
@@ -103,7 +103,7 @@ gUefiOvmfPkgTokenSpaceGuid.PcdS3AcpiReservedMemoryBase|gEfiIntelFrameworkModuleP gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
FV = PEIFV
-0x100000|0x800000
+0x100000|0x900000
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
FV = DXEFV
diff --git a/OvmfPkg/OvmfPkgIa32X64.fdf b/OvmfPkg/OvmfPkgIa32X64.fdf index 6852e0e..5b4d9dc 100644 --- a/OvmfPkg/OvmfPkgIa32X64.fdf +++ b/OvmfPkg/OvmfPkgIa32X64.fdf @@ -79,10 +79,10 @@ FV = SECFV [FD.MEMFD]
BaseAddress = 0x800000
-Size = 0x900000
+Size = 0xA00000
ErasePolarity = 1
BlockSize = 0x10000
-NumBlocks = 0x90
+NumBlocks = 0xA0
0x000000|0x006000
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesSize
@@ -103,7 +103,7 @@ gUefiOvmfPkgTokenSpaceGuid.PcdS3AcpiReservedMemoryBase|gEfiIntelFrameworkModuleP gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
FV = PEIFV
-0x100000|0x800000
+0x100000|0x900000
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
FV = DXEFV
diff --git a/OvmfPkg/OvmfPkgX64.fdf b/OvmfPkg/OvmfPkgX64.fdf index 7fbd038..8b4dd60 100644 --- a/OvmfPkg/OvmfPkgX64.fdf +++ b/OvmfPkg/OvmfPkgX64.fdf @@ -79,10 +79,10 @@ FV = SECFV [FD.MEMFD]
BaseAddress = 0x800000
-Size = 0x900000
+Size = 0xA00000
ErasePolarity = 1
BlockSize = 0x10000
-NumBlocks = 0x90
+NumBlocks = 0xA0
0x000000|0x006000
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesSize
@@ -103,7 +103,7 @@ gUefiOvmfPkgTokenSpaceGuid.PcdS3AcpiReservedMemoryBase|gEfiIntelFrameworkModuleP gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
FV = PEIFV
-0x100000|0x800000
+0x100000|0x900000
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
FV = DXEFV
|