public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Ard Biesheuvel via groups.io" <ardb=kernel.org@groups.io>
To: devel@edk2.groups.io, richard.lyu@suse.com
Subject: Re: [edk2-devel] [OvmfPkg] Build fails due to insufficient FV size in edk2-stable202502
Date: Tue, 11 Mar 2025 08:03:34 +0100	[thread overview]
Message-ID: <CAMj1kXGkYdZooCU16ttpiRr76zJ+QhEQpr7SNdLH23PxDacTwg@mail.gmail.com> (raw)
In-Reply-To: <Z8_cC4b9mqSY8iMU@localhost.localdomain>

On Tue, 11 Mar 2025 at 07:46, Richard Lyu via groups.io
<richard.lyu=suse.com@groups.io> wrote:
>
> I built OVMF with the following options
>
> build -D TPM2_ENABLE -D TPM2_CONFIG_ENABLE -D NETWORK_IP6_ENABLE -D NETWORK_HTTP_BOOT_ENABLE -D BUILD_SHELL=FALSE -a X64 -b DEBUG -t GCC5 -p OvmfPkg/OvmfPkgX64.dsc -D FD_SIZE_2MB -D SECURE_BOOT_ENABLE
>
>
> However, I encountered an insufficient FV size issue. This issue did not occur in edk2-stable202411, but it appears in edk2-stable202502.
>
> GenFv: ERROR 3000: Invalid
>   the required fv image size 0x1affc8 exceeds the set fv image size 0x1ac000
>
>
> Is there any way to resolve this?
>

Using FD_SIZE_4MB instead of FD_SIZE_2MB should help.


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#121179): https://edk2.groups.io/g/devel/message/121179
Mute This Topic: https://groups.io/mt/111635652/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



  parent reply	other threads:[~2025-03-11  7:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-11  6:45 [edk2-devel] [OvmfPkg] Build fails due to insufficient FV size in edk2-stable202502 Richard Lyu via groups.io
2025-03-11  6:54 ` memristor2 via groups.io
2025-03-11  7:03 ` Ard Biesheuvel via groups.io [this message]
2025-03-11  7:16   ` Richard Lyu via groups.io
2025-03-11  7:30     ` memristor2 via groups.io
2025-03-11  7:47       ` Richard Lyu via groups.io
2025-03-11 12:14     ` Gerd Hoffmann via groups.io
2025-03-12  5:44       ` Richard Lyu via groups.io

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMj1kXGkYdZooCU16ttpiRr76zJ+QhEQpr7SNdLH23PxDacTwg@mail.gmail.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox