From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 5EC4574003E for ; Tue, 11 Mar 2025 07:30:35 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=yF6QaFbSd4mlDo2mSNJ2TUWd+gR1E7IrJBQpvfuAMyA=; c=relaxed/simple; d=groups.io; h=Date:To:From:Subject:Message-ID:In-Reply-To:References:Feedback-ID:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Transfer-Encoding; s=20240830; t=1741678235; v=1; x=1741937433; b=UvK7KSyHUR6ZMqHzB3k2bMzlGa9lZkIAAY3cb/dFp3y9fIutozGWezmAoKsUDeaMWf9mrrZv oIWT7wz/MblGc5ufwW13ejpvndCu+2ZeXyXxsCPJx0d+FvVyUXVepEvlujG0JLoGMrUapHvVyrV iqws3fUGmzalJIVFi4caVgvOHxuASliwZQ0RZ9Wj7S2f2rcyk84Y0snlhR4Oo8FdR3eOeFu6k+h 5HPo8roNfurNhmBVkIoLIrIDgYNgNj1tI/3iffch10enNVLU+Xyv/S3cw5UNvmBaOt9dxX6RA/j YP4gOftx4xd16aQJ1vO06/BGJvwF6QrkTEjWv131fiPkA== X-Received: by 127.0.0.2 with SMTP id L443YY7687511xuON9ffpvFW; Tue, 11 Mar 2025 00:30:33 -0700 X-Received: from mail-43166.protonmail.ch (mail-43166.protonmail.ch [185.70.43.166]) by mx.groups.io with SMTP id smtpd.web11.3356.1741678232870252682 for ; Tue, 11 Mar 2025 00:30:33 -0700 Date: Tue, 11 Mar 2025 07:30:25 +0000 To: devel@edk2.groups.io From: "memristor2 via groups.io" Subject: Re: [edk2-devel] [OvmfPkg] Build fails due to insufficient FV size in edk2-stable202502 Message-ID: In-Reply-To: References: Feedback-ID: 99609138:user:proton X-Pm-Message-ID: a8184a84201949e7dfdc92b7c29e4b1f951e63f6 MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Tue, 11 Mar 2025 00:30:33 -0700 Resent-From: memristor2@proton.me Reply-To: devel@edk2.groups.io,memristor2@proton.me List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 3a909mwe7bMuFIGfJifZxSI4x7686176AA= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240830 header.b=UvK7KSyH; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io Yes you could do this manually. one way is to extend the size of the FD tha= t is small and reduce the size of other FDs if they have unused space so th= e overall size wouldn't change. Look into the FDF specification for a bette= r understanding and it's not that complicated you'd resolve this quickly. Sent with Proton Mail secure email. On Tuesday, March 11th, 2025 at 10:46 AM, Richard Lyu via groups.io wrote: > Hi memristor2, ardb, >=20 > Thank you for your suggestions, but since there is a requirement to use a= 2MB size, I need to maintain the size at FD_SIZE_2MB. So, is there any oth= er way to reduce the size, such as by modifying the fdf file? > Would this method be worth trying? >=20 > Best Regards, > Richard Lyu >=20 > On 2025/03/11 08:03, Ard Biesheuvel wrote: >=20 > > On Tue, 11 Mar 2025 at 07:46, Richard Lyu via groups.io > > richard.lyu=3Dsuse.com@groups.io wrote: > >=20 > > > I built OVMF with the following options > > >=20 > > > build -D TPM2_ENABLE -D TPM2_CONFIG_ENABLE -D NETWORK_IP6_ENABLE -D N= ETWORK_HTTP_BOOT_ENABLE -D BUILD_SHELL=3DFALSE -a X64 -b DEBUG -t GCC5 -p O= vmfPkg/OvmfPkgX64.dsc -D FD_SIZE_2MB -D SECURE_BOOT_ENABLE > > >=20 > > > However, I encountered an insufficient FV size issue. This issue did = not occur in edk2-stable202411, but it appears in edk2-stable202502. > > >=20 > > > GenFv: ERROR 3000: Invalid > > > the required fv image size 0x1affc8 exceeds the set fv image size 0x1= ac000 > > >=20 > > > Is there any way to resolve this? > >=20 > > Using FD_SIZE_4MB instead of FD_SIZE_2MB should help. >=20 >=20 >=20 >=20 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#121181): https://edk2.groups.io/g/devel/message/121181 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] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-