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 AD6B1D8094F for ; Tue, 11 Mar 2025 07:48:01 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=zwMVtU/3nB3CA0vbqfF/aS0n3A4B6Epl5jvfJ4ayLnI=; c=relaxed/simple; d=groups.io; h=From:Date:To:Subject:Message-ID:References:MIME-Version:In-Reply-To:User-Agent: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-Disposition; s=20240830; t=1741679281; v=1; x=1741938480; b=TNk3of3sR/b71CqWPP9SRydo7xHA4UQpApTh6yxHCUkD3uFV13QLnwlQ7j2XQ1mnGv3j4Gje m1tzF6M6K7jwM+vdpZl1xfqduEEFXlXFxAnDzRcOhUpm3j/zTN+6035G7QjX5Hgnn5qWcErDae6 l2E5ugDwD+BTlCdadVoaAUIG+dgaYo4AqUwWOFrG0CPI4ZeQxYnnvAR0EfR6J8QEhvQkhGep549 2txser0lQbAv+dA2MUrioEbCo8Bclg/e61lYuu9+TilgaJ0u/gcUNH+vXUmv2KdSFHALwhg+h9Y UCAkNRj4g3fU0Xz6wo8H1Xc0yPgKR0cPYk+KUJvLiz/Eg== X-Received: by 127.0.0.2 with SMTP id GmNIYY7687511xhjMEdeiIBu; Tue, 11 Mar 2025 00:48:00 -0700 X-Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) by mx.groups.io with SMTP id smtpd.web11.3513.1741679279276011667 for ; Tue, 11 Mar 2025 00:47:59 -0700 X-Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-43cebe06e9eso15332455e9.3 for ; Tue, 11 Mar 2025 00:47:59 -0700 (PDT) X-Gm-Message-State: FBbqurNebjrHAwj7eDQC2QIrx7686176AA= X-Gm-Gg: ASbGncuc9W3YBUsLXM8fdgYXsWhRR+BKu/E2PzaN3YRFDo7ItdjhVC587qDCjRymM1P OqfVaJ41d7oEPehNmlNp613BAGqKrFDwC9mShClUrVBZCYOPJuuG7j44yD5aOmNArHtsKpvfVhI YoANHh+Aail9dU/xAkgEFx69YBsVPMySEFjfdlXcVyepysr3c5VkBTJmCY9AAaH9+T+nk0YecDZ 5LzhErQc9yNkejfu29HV2f13OvugwGoZ/hvHbGUZG/UHvh8asKz8NIh+CdaXvAD1mDWzRKW67Hn zkvHFaKNS4vImkDoEj09tTvzys+6Yo6P07c39EZPbjKE6BKfMAEi/st2bCYA8tOHGFyVHhhtMWu pzkYCSlo4XLIedV06M4RgUg+tIk5F X-Google-Smtp-Source: AGHT+IE6iWyYPx56d61k7HE7z4mZv4HH7vo6xsUpJQ6bwNUAei0emgxVzpQ1CnX16tZOpyZ4dHMt9A== X-Received: by 2002:a5d:6d0c:0:b0:391:9b2:f48d with SMTP id ffacd0b85a97d-39132d89abdmr14851354f8f.33.1741679277346; Tue, 11 Mar 2025 00:47:57 -0700 (PDT) X-Received: from localhost.localdomain (1-169-198-30.dynamic-ip.hinet.net. [1.169.198.30]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-22410a7f6f5sm91398345ad.145.2025.03.11.00.47.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Mar 2025 00:47:56 -0700 (PDT) From: "Richard Lyu via groups.io" X-Google-Original-From: Richard Lyu Date: Tue, 11 Mar 2025 15:47:52 +0800 To: devel@edk2.groups.io Subject: Re: [edk2-devel] [OvmfPkg] Build fails due to insufficient FV size in edk2-stable202502 Message-ID: References: MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/2.2.13 (2024-03-09) 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:47:59 -0700 Resent-From: richard.lyu@suse.com Reply-To: devel@edk2.groups.io,richard.lyu@suse.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240830 header.b=TNk3of3s; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=pass (policy=none) header.from=groups.io Thanks! It's good for me, and I will try it. On 2025/03/11 07:30, memristor2 via groups.io wrote: > Yes you could do this manually. one way is to extend the size of the FD that is small and reduce the size of other FDs if they have unused space so the overall size wouldn't change. Look into the FDF specification for a better 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, > > > > 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 other way to reduce the size, such as by modifying the fdf file? > > Would this method be worth trying? > > > > Best Regards, > > Richard Lyu > > > > On 2025/03/11 08:03, Ard Biesheuvel wrote: > > > > > 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 (#121182): https://edk2.groups.io/g/devel/message/121182 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] -=-=-=-=-=-=-=-=-=-=-=-