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 ECB4478003C for ; Tue, 11 Mar 2025 07:16:39 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=SkhjiX3dM86icfG7IRhpswzEfeKB3bxz25eDDpU4j+s=; 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=1741677399; v=1; x=1741936598; b=JfM1MtSXljnveuyeZfOlfHe0FXVHdir5jx3UrYvXsigf04ax6t3qNcByyQCICVy4wRWXHQeQ pGYJZESJp0/OcoZd0OL+BRqttiSsXAAdOM6s1NuBYEIdobDvCuzKZOjqnJQkabHUM+Z7BplUDzO G4w9p40CizkqufHYSSjZAYWEWfZqfSzWczpVxc+U0oxdZr0VPzAeaBWpvqgCyMkcxJDQFwuKq4u 3p/w4a+TI1AOF2v0w1lPwW8KpfNcXBXIpPbuK3GERr4XX/URXmiXY+z81FPR2SgnG55NXWdsoz1 9lQsJ4L0b4o2sL5nf0nt6COXIvvAZdSQocs5L6B4cK0Fw== X-Received: by 127.0.0.2 with SMTP id aUIMYY7687511xbxRRVW2hSD; Tue, 11 Mar 2025 00:16:38 -0700 X-Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by mx.groups.io with SMTP id smtpd.web11.3233.1741677397042816682 for ; Tue, 11 Mar 2025 00:16:37 -0700 X-Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-43cf06eabdaso23515965e9.2 for ; Tue, 11 Mar 2025 00:16:36 -0700 (PDT) X-Gm-Message-State: ygP9OH8fuTvj0IVk9CC6Yf88x7686176AA= X-Gm-Gg: ASbGncsP8N3OKm9ekUjVE6tmJtUKXellmclUdqVfpSWKevLJ8UkCuTdrDMMXkPd0CaA dYPD/5v+42FN66QYISUMLy7KBek8kzTJ+5gi10h95s66Mgm7U5HlGY0r6l/EHJg+tJprkacUMbP L8B6w9WsbnWvtVg6+PVwXw7+NSgS5lydbbhR6zoESzjMnf68S+EfluIYoQkZfPADsVoVFCxv/cS LtNh4B2IEHDDGDaQBz1tfY2mdtT+TCTd6kUroLuH3oAntktHlrNTY0Tx2AdxeK9G0VmynH0DIbM CnCLVn1V0byEz7yXyQsYQsrQWAfM1bH0M4Bw310nIEU0NcMbNv0eyvuZ0DuShXrzLCLfXfwaDmv VOtANZIS1pI1GbvSyoKymYmR4WBfmDyTa4irZONU= X-Google-Smtp-Source: AGHT+IFOj38ApPROPU1lSkxjqeS111lxJRrI5d/XbcJ66dFzx/1ziCYPGULWaMezDIeWoBOk1fLxrA== X-Received: by 2002:a05:6000:144d:b0:391:a43:8bbd with SMTP id ffacd0b85a97d-39132d3adaamr18447484f8f.21.1741677395167; Tue, 11 Mar 2025 00:16:35 -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 98e67ed59e1d1-2ff4e75ed7csm11090446a91.3.2025.03.11.00.16.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Mar 2025 00:16:34 -0700 (PDT) From: "Richard Lyu via groups.io" X-Google-Original-From: Richard Lyu Date: Tue, 11 Mar 2025 15:16:29 +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:16:37 -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=JfM1MtSX; 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 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 > 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 (#121180): https://edk2.groups.io/g/devel/message/121180 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] -=-=-=-=-=-=-=-=-=-=-=-