mirror of https://github.com/acidanthera/audk.git
OvmfPkg: raise DXEFV size to 10 MB
We reached the size limit again. Building OVMF with the following command $ ./OvmfPkg/build.sh -D SECURE_BOOT_ENABLE -D NETWORK_IP6_ENABLE -D HTTP_BOOT_ENABLE and it ended up with GenFds.py... GenFv: ERROR 3000: Invalid : error 7000: Failed to generate FV the required fv image size 0x900450 exceeds the set fv image size 0x900000 Since the new UEFI features, such as HTTPS, are coming, we need a larger DEXFV eventually. Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin <glin@suse.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
5c944a654a
commit
2f7b34b208
|
@ -67,10 +67,10 @@ FV = SECFV
|
||||||
|
|
||||||
[FD.MEMFD]
|
[FD.MEMFD]
|
||||||
BaseAddress = $(MEMFD_BASE_ADDRESS)
|
BaseAddress = $(MEMFD_BASE_ADDRESS)
|
||||||
Size = 0xA00000
|
Size = 0xB00000
|
||||||
ErasePolarity = 1
|
ErasePolarity = 1
|
||||||
BlockSize = 0x10000
|
BlockSize = 0x10000
|
||||||
NumBlocks = 0xA0
|
NumBlocks = 0xB0
|
||||||
|
|
||||||
0x000000|0x006000
|
0x000000|0x006000
|
||||||
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesSize
|
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesSize
|
||||||
|
@ -91,7 +91,7 @@ gUefiOvmfPkgTokenSpaceGuid.PcdS3AcpiReservedMemoryBase|gEfiIntelFrameworkModuleP
|
||||||
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
|
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
|
||||||
FV = PEIFV
|
FV = PEIFV
|
||||||
|
|
||||||
0x100000|0x900000
|
0x100000|0xA00000
|
||||||
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
|
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
|
||||||
FV = DXEFV
|
FV = DXEFV
|
||||||
|
|
||||||
|
|
|
@ -67,10 +67,10 @@ FV = SECFV
|
||||||
|
|
||||||
[FD.MEMFD]
|
[FD.MEMFD]
|
||||||
BaseAddress = $(MEMFD_BASE_ADDRESS)
|
BaseAddress = $(MEMFD_BASE_ADDRESS)
|
||||||
Size = 0xA00000
|
Size = 0xB00000
|
||||||
ErasePolarity = 1
|
ErasePolarity = 1
|
||||||
BlockSize = 0x10000
|
BlockSize = 0x10000
|
||||||
NumBlocks = 0xA0
|
NumBlocks = 0xB0
|
||||||
|
|
||||||
0x000000|0x006000
|
0x000000|0x006000
|
||||||
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesSize
|
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesSize
|
||||||
|
@ -91,7 +91,7 @@ gUefiOvmfPkgTokenSpaceGuid.PcdS3AcpiReservedMemoryBase|gEfiIntelFrameworkModuleP
|
||||||
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
|
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
|
||||||
FV = PEIFV
|
FV = PEIFV
|
||||||
|
|
||||||
0x100000|0x900000
|
0x100000|0xA00000
|
||||||
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
|
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
|
||||||
FV = DXEFV
|
FV = DXEFV
|
||||||
|
|
||||||
|
|
|
@ -67,10 +67,10 @@ FV = SECFV
|
||||||
|
|
||||||
[FD.MEMFD]
|
[FD.MEMFD]
|
||||||
BaseAddress = $(MEMFD_BASE_ADDRESS)
|
BaseAddress = $(MEMFD_BASE_ADDRESS)
|
||||||
Size = 0xA00000
|
Size = 0xB00000
|
||||||
ErasePolarity = 1
|
ErasePolarity = 1
|
||||||
BlockSize = 0x10000
|
BlockSize = 0x10000
|
||||||
NumBlocks = 0xA0
|
NumBlocks = 0xB0
|
||||||
|
|
||||||
0x000000|0x006000
|
0x000000|0x006000
|
||||||
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesSize
|
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecPageTablesSize
|
||||||
|
@ -91,7 +91,7 @@ gUefiOvmfPkgTokenSpaceGuid.PcdS3AcpiReservedMemoryBase|gEfiIntelFrameworkModuleP
|
||||||
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
|
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfPeiMemFvSize
|
||||||
FV = PEIFV
|
FV = PEIFV
|
||||||
|
|
||||||
0x100000|0x900000
|
0x100000|0xA00000
|
||||||
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
|
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvBase|gUefiOvmfPkgTokenSpaceGuid.PcdOvmfDxeMemFvSize
|
||||||
FV = DXEFV
|
FV = DXEFV
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue