[edk2] [PATCH v2 0/5] OvmfPkg: add FD_SIZE_4MB for Windows HCK SB tests, and for future proofing

Laszlo Ersek posted 5 patches 7 years, 7 months ago
Failed in applying to current master (apply log)
OvmfPkg/OvmfPkgIa32.dsc    | 25 +++++++++
OvmfPkg/OvmfPkgIa32X64.dsc | 25 +++++++++
OvmfPkg/OvmfPkgX64.dsc     | 25 +++++++++
OvmfPkg/OvmfPkg.fdf.inc    | 46 ++++++++++++-----
OvmfPkg/VarStore.fdf.inc   | 54 +++++++++++++++++++-
5 files changed, 161 insertions(+), 14 deletions(-)
[edk2] [PATCH v2 0/5] OvmfPkg: add FD_SIZE_4MB for Windows HCK SB tests, and for future proofing
Posted by Laszlo Ersek 7 years, 7 months ago
This is version 2 of the series posted at
<https://lists.01.org/pipermail/edk2-devel/2017-April/010334.html>.

Changes in v2:
- consolidate FD_SIZE_1MB, FD_SIZE_2MB, FD_SIZE_4MB, basing them all on
  the new macro FD_SIZE_IN_KB,
- increase the variable store from 248 KB to 256 KB, and propagate that
  change as necessary, at the expense of FVMAIN_COMPACT [Jordan],
- make the 4MB build the general default [Jordan].

V1->v2 changes are also marked on the individual patches.

Thoroughly retested with the usual S3 stuff, the Secure Boot Logo Test,
multiple purposefully triggered reclaims, hexdumps of varstore files,
etc.

Formatted with 13 lines of context for easier review.

Repo:   https://github.com/lersek/edk2.git
Branch: fd_size_4mb_v2

Cc: Gary Ching-Pang Lin <glin@suse.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>

Thanks,
Laszlo

Laszlo Ersek (5):
  OvmfPkg: introduce the FD_SIZE_IN_KB macro / build flag
  OvmfPkg/OvmfPkg.fdf.inc: extract VARS_LIVE_SIZE and VARS_SPARE_SIZE
    macros
  OvmfPkg: introduce 4MB flash image (mainly) for Windows HCK
  OvmfPkg: raise max variable size (auth & non-auth) to 33KB for
    FD_SIZE_4MB
  OvmfPkg: make the 4MB flash size the default

 OvmfPkg/OvmfPkgIa32.dsc    | 25 +++++++++
 OvmfPkg/OvmfPkgIa32X64.dsc | 25 +++++++++
 OvmfPkg/OvmfPkgX64.dsc     | 25 +++++++++
 OvmfPkg/OvmfPkg.fdf.inc    | 46 ++++++++++++-----
 OvmfPkg/VarStore.fdf.inc   | 54 +++++++++++++++++++-
 5 files changed, 161 insertions(+), 14 deletions(-)

-- 
2.9.3

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel