From nobody Mon Feb 9 09:17:22 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+85855+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85855+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1642641278; cv=none; d=zohomail.com; s=zohoarc; b=bjwVSMHxwN3bjNYKN2SzsAfPJoa/QING+WODRCvYs+hd5HFELYCZiLNGQ6g3NhKKocm5QWFeTjj8hNnSRT4XKrgv5MDR2XMg4UGrumfcXEKWrDE5R/dAUM354RIrrFjW4gzfj+u11U9uc2n63JPc2tVU5wvNIidAhgQHKJECrqk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1642641278; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=DkFnir7k8SUyDsFZ7UG5toGbm9WdC+um0snVmmZce18=; b=n8uR5tHUPpuwK/vCr5XV5+tt47snIaDBhpPVBNCgKzqXNK6K405JCl9WeXIeLJw0K2vfEs48pZoMexs1GYOMKa+gRdTRWoHFP1JZd/YIP4fqE1K2ZNq4zU2KvuQoBryDKvwXk1zCbJOvi9krkupXNEJse3Q3K+Wlr/HM+yQy2TY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+85855+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1642641278627266.14520179302815; Wed, 19 Jan 2022 17:14:38 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id gfIAYY1788612x33E3iEV3dw; Wed, 19 Jan 2022 17:14:38 -0800 X-Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web12.5672.1642641269163839556 for ; Wed, 19 Jan 2022 17:14:30 -0800 X-IronPort-AV: E=McAfee;i="6200,9189,10231"; a="308578754" X-IronPort-AV: E=Sophos;i="5.88,300,1635231600"; d="scan'208";a="308578754" X-Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jan 2022 17:14:28 -0800 X-IronPort-AV: E=Sophos;i="5.88,301,1635231600"; d="scan'208";a="532559831" X-Received: from iworam-desk.amr.corp.intel.com ([10.7.150.79]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jan 2022 17:14:27 -0800 From: "Oram, Isaac W" To: devel@edk2.groups.io Cc: Sai Chaganty , Liming Gao Subject: [edk2-devel][edk2-platforms][PATCH V2 13/14] AdvancedFeaturePkg/Build: Add FDF to create FV for all features Date: Wed, 19 Jan 2022 17:14:08 -0800 Message-Id: In-Reply-To: References: MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,isaac.w.oram@intel.com X-Gm-Message-State: cTshKAKkjbjAND1J6S0fE4oHx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1642641278; bh=pM55eesmi9V5UHjrqMp0jx+0LVHBGdRXc9RUqdiCF74=; h=Cc:Date:From:Reply-To:Subject:To; b=SxQb8oJXbeQy4YW1H4Atk1MYl4GfhvvdWyFkLNjKMaBB6gXYY54+MUudypSl8KgG/Sa J7jaxOORuc2LwL2Oj59w0+E7+Hif5f9GlRRd29ncUGJvRwGGt30Nz+c/wpHB9jvqB8HgY 1cxLq4ZaGewDD+1Ia1ENheNcQYluSlO3hXk= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1642641279235100050 Content-Type: text/plain; charset="utf-8" This produces three FV and no FD. FvAdvancedPreMemory.fv contains PEIM for pre-memory use. FvAdvancedUncompressed.fv contains post memory PEIM and drivers for DXE and SMM. FvAdvanced.fv contains the compressed FvAdvancedUncompressed.fv in an FV file format as is common practice. These FV are not expected to be used as is, but are needed to test the individual features for things like filename collisions. Some features require build customization so binary reuse is not feasible at this time. Cc: Sai Chaganty Cc: Liming Gao Signed-off-by: Isaac Oram --- Features/Intel/AdvancedFeaturePkg/AdvancedFeaturePkg.dsc | 1 + Features/Intel/AdvancedFeaturePkg/AdvancedFeaturePkg.fdf | 49 ++++++++++++= ++++++++ 2 files changed, 50 insertions(+) diff --git a/Features/Intel/AdvancedFeaturePkg/AdvancedFeaturePkg.dsc b/Fea= tures/Intel/AdvancedFeaturePkg/AdvancedFeaturePkg.dsc index 02636da916..28530b8c67 100644 --- a/Features/Intel/AdvancedFeaturePkg/AdvancedFeaturePkg.dsc +++ b/Features/Intel/AdvancedFeaturePkg/AdvancedFeaturePkg.dsc @@ -29,6 +29,7 @@ SKUID_IDENTIFIER =3D DEFAULT PEI_ARCH =3D IA32 DXE_ARCH =3D X64 + FLASH_DEFINITION =3D AdvancedFeaturePkg/AdvancedFeatu= rePkg.fdf =20 [Packages] MdePkg/MdePkg.dec diff --git a/Features/Intel/AdvancedFeaturePkg/AdvancedFeaturePkg.fdf b/Fea= tures/Intel/AdvancedFeaturePkg/AdvancedFeaturePkg.fdf new file mode 100644 index 0000000000..76a02c5d1c --- /dev/null +++ b/Features/Intel/AdvancedFeaturePkg/AdvancedFeaturePkg.fdf @@ -0,0 +1,49 @@ +## @file +# FDF file generating AdvancedFeature FV for inclusion in a MinPlatform de= sign. +# +# There are three FV produced, FvAdvancedPreMemory.fv, FvAdvancedUncompres= sed.fv, and +# FvAdvanced.fv. The sizes are arbitrary as these are not expected to be = used as is +# in today's usages. Boards will tune FV by selecting or deseleting featu= res and building. +# +# @copyright +# Copyright (C) 2022 Intel Corporation +# +# SPDX-License-Identifier: BSD-2-Clause-Patent +## + +[Defines] + DEFINE UNCOMPRESSED_FV_ADVANCED_FILENAME =3D 6d606b5c-2d45-4705-a700-733= 24306be06 + +[FV.FvAdvancedPreMemory] + !include MinPlatformPkg/Include/Fdf/CommonSpiFvHeaderInfo.fdf + FvNameGuid =3D ea9da344-a7f3-468c-ae84-2d22fc03b28e + + !include AdvancedFeaturePkg/Include/PreMemory.fdf + +[FV.FvAdvancedUncompressed] + !include MinPlatformPkg/Include/Fdf/CommonSpiFvHeaderInfo.fdf + FvNameGuid =3D $(UNCOMPRESSED_FV_ADVANCED_FILENAME) + + !include AdvancedFeaturePkg/Include/PostMemory.fdf + +[FV.FvAdvanced] + !include MinPlatformPkg/Include/Fdf/CommonSpiFvHeaderInfo.fdf + FvNameGuid =3D 445b121d-28d6-4801-8958-8253cf426cf7 + + FILE FV_IMAGE =3D $(UNCOMPRESSED_FV_ADVANCED_FILENAME) { + SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRE= D =3D TRUE { + SECTION FV_IMAGE =3D FvAdvancedUncompressed + } + } + + +##########################################################################= ###### +# +# Rules are use with the [FV] section's module INF type to define +# how an FFS file is created for a given INF file. The following Rule are = the default +# rules for the different module type. User can add the customized rules t= o define the +# content of the FFS file. +# +##########################################################################= ###### + +!include MinPlatformPkg/Include/Fdf/RuleInclude.fdf --=20 2.27.0.windows.1 -=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 (#85855): https://edk2.groups.io/g/devel/message/85855 Mute This Topic: https://groups.io/mt/88549777/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-