Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 09faa4a1ce356efdc393260678412d2dbd907d4b
      
https://github.com/tianocore/edk2/commit/09faa4a1ce356efdc393260678412d2dbd907d4b
  Author: Michael D Kinney <michael.d.kin...@intel.com>
  Date:   2025-03-31 (Mon, 31 Mar 2025)

  Changed paths:
    M BaseTools/Source/Python/build/build.py

  Log Message:
  -----------
  BaseTools/build: Reduce special FV full to warning

If an FV_SPARE_SPACE_THRESHOLD is enabled and an FV
is 100% full with 0 bytes free, then this is likely
a special FV that may have alignment requirements
for the FFS file for both the start address and the
length and the FFS file consumes all the available
FV space.

Reduce FV_SPARE_SPACE_THRESHOLD from an error to a
warning if this FV 0 bytes free condition is
detected.

PR #10828 introduced the generation of these error
conditions for an FV with large alignment requirements.
The pad region before the aligned FFS file used to
be counted as free space even though it could never
be used due to the alignment requirements. There was
actually no free space available. PR #10828 fixed the
free space calculation to properly show it as 0 bytes
free, and this change then caused build error when
FV_SPARE_SPACE_THRESHOLD feature was enabled. The
reduction to a warning for this condition allows the
build to complete with errors and also provides a
build log warning message for review.

Signed-off-by: Michael D Kinney <michael.d.kin...@intel.com>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to