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 0ED359406C4 for ; Mon, 6 May 2024 17:24:02 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=LF2lkBgyNhGhapVWn64R1LRXohLZokSSySMQebX9yFQ=; c=relaxed/simple; d=groups.io; h=From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language: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-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1715016241; v=1; b=wxjqW7JFF9JyxYJKawAXstZp9vv/f3TXfweU/dbHitxkFD99TugwXiLFTsyfjrddZXSzeiXf lhWXYDQYjelZaeLnhr19VfwfP+wN7g5wkd+b5qwjWlkHKtZNA7d8dNG2t2uUugqXE46vwx1Gtrf /f9h3oaKt7cvGjW4wZ91BdGeUHbmA+Auj3srvI7Zpm1OfRPlFvDvaj518SNdrk3GnIebScfHPhB 00IR+gkjoTnICuGiJLaSQyO6pR+LVfYrfGGb1pQ332LsdyB13v7FDVGn3j+C6mwj5yMwnluU849 X79MW85eZ1xnmkLjn4tsunHjbEH6h+06oqX1xPs7DiEWA== X-Received: by 127.0.0.2 with SMTP id 3cqtYY7687511xS456RMXeD0; Mon, 06 May 2024 10:24:01 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.17]) by mx.groups.io with SMTP id smtpd.web11.307.1715016239869830644 for ; Mon, 06 May 2024 10:24:00 -0700 X-CSE-ConnectionGUID: 3E2+Sgk7QmaTEBtklSx3Iw== X-CSE-MsgGUID: RM/vKZroRyyN4nhodM2RUQ== X-IronPort-AV: E=McAfee;i="6600,9927,11065"; a="10899168" X-IronPort-AV: E=Sophos;i="6.07,259,1708416000"; d="scan'208";a="10899168" X-Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 May 2024 10:23:59 -0700 X-CSE-ConnectionGUID: yWmVG3RjS4OhLEQayURNrQ== X-CSE-MsgGUID: ncuGASAwTzCBl5z4ABx9cw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,259,1708416000"; d="scan'208";a="28764769" X-Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orviesa007.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 06 May 2024 10:23:59 -0700 X-Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 6 May 2024 10:23:58 -0700 X-Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 6 May 2024 10:23:58 -0700 X-Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Mon, 6 May 2024 10:23:58 -0700 X-Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.100) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Mon, 6 May 2024 10:23:58 -0700 X-Received: from MW4PR11MB5821.namprd11.prod.outlook.com (2603:10b6:303:184::5) by CY5PR11MB6415.namprd11.prod.outlook.com (2603:10b6:930:35::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.41; Mon, 6 May 2024 17:23:55 +0000 X-Received: from MW4PR11MB5821.namprd11.prod.outlook.com ([fe80::18ff:958c:8bd:aed6]) by MW4PR11MB5821.namprd11.prod.outlook.com ([fe80::18ff:958c:8bd:aed6%4]) with mapi id 15.20.7544.029; Mon, 6 May 2024 17:23:55 +0000 From: "Nate DeSimone" To: "Hsueh, DoraX" , "devel@edk2.groups.io" CC: "Chaganty, Rangasai V" , "Chuang, Rosen" , "Kasbekar, Saloni" , "Tang, Haoyu" , "Chiu, Chasel" Subject: Re: [edk2-devel] [PATCH] AlderlakeOpenBoardPkg: Fix BootStage 5 can't install Windows11. Thread-Topic: [PATCH] AlderlakeOpenBoardPkg: Fix BootStage 5 can't install Windows11. Thread-Index: AQHan5rFholSO06l4EmT17Kvihv+3LGKczyQ Date: Mon, 6 May 2024 17:23:54 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MW4PR11MB5821:EE_|CY5PR11MB6415:EE_ x-ms-office365-filtering-correlation-id: ed2ccfae-7ecf-4551-3a06-08dc6df14e66 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: =?us-ascii?Q?9SGcQv+TQTkdhYYEJd3IDp1LmpdtOS7BEDgibuvsSH257qgB4V2XDK8jUk4u?= =?us-ascii?Q?zoM++m9eTTuyqGK8YhCrtGANRPucNnhk//uo2mEiUdw2f4SntHoXoGCTRYUx?= =?us-ascii?Q?tQdUHHKnjlH0CoA+dIy1OtcezCMOP0bJ1ILzZDbCbuO6vdbBy435CjbCFAEy?= =?us-ascii?Q?BrN5FI89vdGbc8Cb73Hv5ebXFrsGJzzBdx6ej7tcGIyXe4Xnu5tlP/9hOgM/?= =?us-ascii?Q?1SrEsTF8v2nsYjjnY7xY58M0ZM5cdZ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Z69bI/vAUHSB4ecEa1CTkvSXAGkkQmKEgWL8RvCucKDMqFNhtmDAXyZ+fOy?= =?us-ascii?Q?My7dFQPF2zp91uZFkMk77KdKZnwaY+4D9Av+BRbV2rWSigKakE6paSduSPIR?= =?us-ascii?Q?XRz9S8DcjFga/qtO82DTjYygeoN4yUKeE8UGwwxXYQ=3D=3D?= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Sgc82lY7c8z4g9DRy7x0S1v+25VXR3yrLNuSzypFzn5DJWcyACTICSsyaLJC?= =?us-ascii?Q?zzLCNv4HrQrmfPqtEyFkrvc9A6iH17l3cuxhtUEO3g7uRkGCAzhtCzKEj95J?= =?us-ascii?Q?pXYXbfRIQEtTvQ2+9fZdpTW7PsI9TXHNlcRDOhNK1l7kMqRuAyy/gXfRonNB?= =?us-ascii?Q?elTF9i0didayZYDeDowZybKmm0Yr7hoKHwvgMIMLK1N9zlbr+AKjASkVySe7?= =?us-ascii?Q?iN8Xv5qAojjqHNCPmIWmW1Paw8tHMOueVCoGTo2Nmz0wNHsDE3E1BVNncFZi?= =?us-ascii?Q?pi0syEZoflX1BJkY5lnUYS1PWdtttyQLFH/2UR5PaZOBhozdResoja21ACOf?= =?us-ascii?Q?9Cr9Q+4hA5jQ7eMY5WJzLCGwGwx18Jdg8Tuxm7OhLdpCRG/8Nnoxsz37fAjl?= =?us-ascii?Q?MqCGHWPDMjYs5cWK7gfkbIa8VqlDF6v7oieVn5bvL+GdCgFh3IP7ZPVpZ70Y?= =?us-ascii?Q?Q0MZ8bTJhzapTGU7Lao9Y6e2G1F47U+mv2VVXBxbI/3ZFEIx/Xrly5vR+Kcj?= =?us-ascii?Q?NYYHFW4sX2GxCC/XTTsEPPZagC1gxDDlSpaG3BryaZoK53xt7Lolxw+YXyPD?= =?us-ascii?Q?o7uNGzglENphAo/umzx6KgrKUIlesP/jMwI3pGOEvJNTMOhOPQpoAMwgxPxZ?= =?us-ascii?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cOsm2XhRdnLQVfjvo?= =?us-ascii?Q?+bcIQfmazbGNHhFfijJB/z0OJxah2eg9zYFtqB2u+M7sLAHDzlAJnG2f/Gm2?= =?us-ascii?Q?NQ=3D=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5821.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ed2ccfae-7ecf-4551-3a06-08dc6df14e66 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 May 2024 17:23:54.9218 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: JYSqnqZVaE+wPohTypPh9GGaG0Ecu3PzdBqj1WNRPxwcq51Wp368B5QxTbba+NVLzcMofgHwa31xCwl9ZstNPpTy2rUPRdt7pYjkKlxHwRQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR11MB6415 X-OriginatorOrg: intel.com 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: Mon, 06 May 2024 10:24:00 -0700 Resent-From: nathaniel.l.desimone@intel.com Reply-To: devel@edk2.groups.io,nathaniel.l.desimone@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 3pXkKbk3XQG4WEfBCHfZkHSPx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=wxjqW7JF; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io Reviewed-by: Nate DeSimone > -----Original Message----- > From: Hsueh, DoraX > Sent: Monday, May 6, 2024 2:50 AM > To: devel@edk2.groups.io > Cc: Hsueh, DoraX ; Chaganty, Rangasai V > ; Chuang, Rosen ; > Kasbekar, Saloni ; Tang, Haoyu > ; Desimone, Nathaniel L > ; Chiu, Chasel > Subject: [PATCH] AlderlakeOpenBoardPkg: Fix BootStage 5 can't install > Windows11. >=20 > From: DoraX Hsueh >=20 > https://bugzilla.tianocore.org/show_bug.cgi?id=3D4665 >=20 > 1. Since installing windows does not meet the minimum system requirements= , > Added TPM related code to meet the requirements. > 2. Support stage 6, add FvAdvancedPreMemory. >=20 > Cc: Sai Chaganty > Cc: Rosen Chuang > Cc: Saloni Kasbekar > Cc: Haoyu Tang > Cc: Nate DeSimone > Cc: Chasel Chiu > Signed-off-by: DoraX Hsueh > --- > .../Include/Fdf/FlashMapInclude.fdf | 26 ++++---- > .../AlderlakePRvp/OpenBoardPkg.dsc | 1 + > .../AlderlakePRvp/OpenBoardPkg.fdf | 66 +++++++++++++++++-- > .../AlderlakePRvp/OpenBoardPkgPcd.dsc | 10 ++- > 4 files changed, 86 insertions(+), 17 deletions(-) >=20 > diff --git a/Platform/Intel/AlderlakeOpenBoardPkg/AlderlakePRvp/Include/F= df/FlashMapInclude.fdf b/Platform/Intel/AlderlakeOpenBoardPkg/AlderlakePRvp= /Include/Fdf/FlashMapInclude.fdf > index 03c198c0..3e515d4e 100644 > --- a/Platform/Intel/AlderlakeOpenBoardPkg/AlderlakePRvp/Include/Fdf/Flas= hMapInclude.fdf > +++ b/Platform/Intel/AlderlakeOpenBoardPkg/AlderlakePRvp/Include/Fdf/Flas= hMapInclude.fdf > @@ -26,27 +26,29 @@ SET gMinPlatformPkgTokenSpaceGuid.PcdFlashNvStorageFt= wSpareOffset =3D 0x000300 > SET gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize = =3D 0x00030000 # > =20 > SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvAdvancedOffset = =3D 0x000E0000 # Flash addr (0xFF0E0000) > -SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvAdvancedSize = =3D 0x00310000 # > -SET gBoardModuleTokenSpaceGuid.PcdFlashFvOptionalOffset = =3D 0x003F0000 # Flash addr (0xFF400000) > +SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvAdvancedSize = =3D 0x002E0000 # > +SET gBoardModuleTokenSpaceGuid.PcdFlashFvOptionalOffset = =3D 0x003C0000 # Flash addr (0xFF3C0000) > SET gBoardModuleTokenSpaceGuid.PcdFlashFvOptionalSize = =3D 0x00360000 # > -SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvSecurityOffset = =3D 0x00750000 # Flash addr (0xFF760000) > +SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvSecurityOffset = =3D 0x00720000 # Flash addr (0xFF720000) > SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvSecuritySize = =3D 0x00090000 # > -SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvOsBootOffset = =3D 0x007E0000 # Flash addr (0xFF7F0000) > +SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvOsBootOffset = =3D 0x007B0000 # Flash addr (0xFF7B0000) > SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvOsBootSize = =3D 0x000A0000 # > -SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvUefiBootOffset = =3D 0x00880000 # Flash addr (0xFF860000) > +SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvUefiBootOffset = =3D 0x00850000 # Flash addr (0xFF850000) > SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvUefiBootSize = =3D 0x00180000 # > =20 > -SET gBoardModuleTokenSpaceGuid.PcdFlashFvFirmwareBinariesOffset = =3D 0x00A00000 # Flash addr (0xFFA00000) > +SET gBoardModuleTokenSpaceGuid.PcdFlashFvFirmwareBinariesOffset = =3D 0x009D0000 # Flash addr (0xFF9D0000) > SET gBoardModuleTokenSpaceGuid.PcdFlashFvFirmwareBinariesSize = =3D 0x00080000 # Keep 0x80000 or larger > -SET gIntelSiliconPkgTokenSpaceGuid.PcdFlashMicrocodeFvOffset = =3D 0x00A80000 # Flash addr (0xFFA80000) > +SET gIntelSiliconPkgTokenSpaceGuid.PcdFlashMicrocodeFvOffset = =3D 0x00A50000 # Flash addr (0xFFA50000) > SET gIntelSiliconPkgTokenSpaceGuid.PcdFlashMicrocodeFvSize = =3D 0x00230000 # > -SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvPostMemoryOffset = =3D 0x00CB0000 # Flash addr (0xFFCB0000) > -SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvPostMemorySize = =3D 0x00040000 # > -SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspSOffset = =3D 0x00CF0000 # Flash addr (0xFFCF0000) > +SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvPostMemoryOffset = =3D 0x00C80000 # Flash addr (0xFFC80000) > +SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvPostMemorySize = =3D 0x00060000 # > +SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspSOffset = =3D 0x00CE0000 # Flash addr (0xFFCE0000) > SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspSSize = =3D 0x000A0000 > -SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspMOffset = =3D 0x00D90000 # Flash addr (0xFFD90000) > +SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspMOffset = =3D 0x00D80000 # Flash addr (0xFFD80000) > SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspMSize = =3D 0x00150000 > -SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspTOffset = =3D 0x00EE0000 # Flash addr (0xFFEE0000) > +SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspTOffset = =3D 0x00ED0000 # Flash addr (0xFFED0000) > SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspTSize = =3D 0x00010000 > +SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvAdvancedPreMemoryOffset = =3D 0x00EE0000 # Flash addr (0xFFEE0000) > +SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvAdvancedPreMemorySize = =3D 0x00010000 # > SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvPreMemoryOffset = =3D 0x00EF0000 # Flash addr (0xFFEF0000) > SET gMinPlatformPkgTokenSpaceGuid.PcdFlashFvPreMemorySize = =3D 0x00110000 > diff --git a/Platform/Intel/AlderlakeOpenBoardPkg/AlderlakePRvp/OpenBoard= Pkg.dsc b/Platform/Intel/AlderlakeOpenBoardPkg/AlderlakePRvp/OpenBoardPkg.d= sc > index 4cdc9c01..8468410e 100644 > --- a/Platform/Intel/AlderlakeOpenBoardPkg/AlderlakePRvp/OpenBoardPkg.dsc > +++ b/Platform/Intel/AlderlakeOpenBoardPkg/AlderlakePRvp/OpenBoardPkg.dsc > @@ -49,6 +49,7 @@ > # Include PCD configuration for this board > # > !include OpenBoardPkgPcd.dsc > + !include AdvancedFeaturePkg/Include/AdvancedFeaturesPcd.dsc > =20 > ########################################################################= ######## > # > diff --git a/Platform/Intel/AlderlakeOpenBoardPkg/AlderlakePRvp/OpenBoard= Pkg.fdf b/Platform/Intel/AlderlakeOpenBoardPkg/AlderlakePRvp/OpenBoardPkg.f= df > index f1ce271b..39afcf4c 100644 > --- a/Platform/Intel/AlderlakeOpenBoardPkg/AlderlakePRvp/OpenBoardPkg.fdf > +++ b/Platform/Intel/AlderlakeOpenBoardPkg/AlderlakePRvp/OpenBoardPkg.fdf > @@ -113,9 +113,15 @@ DATA =3D { > #Blockmap[1]: End > 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, > ## This is the VARIABLE_STORE_HEADER > +!if gMinPlatformPkgTokenSpaceGuid.PcdUefiSecureBootEnable =3D=3D TRUE > + # Signature: gEfiAuthenticatedVariableGuid =3D { 0xaaf32c78, 0x947b, = 0x439a, { 0xa1, 0x80, 0x2e, 0x14, 0x4e, 0xc3, 0x77, 0x92 }} > + 0x78, 0x2c, 0xf3, 0xaa, 0x7b, 0x94, 0x9a, 0x43, > + 0xa1, 0x80, 0x2e, 0x14, 0x4e, 0xc3, 0x77, 0x92, > +!else > # Signature: gEfiVariableGuid =3D { 0xddcf3616, 0x3275, 0x4164, { 0x9= 8, 0xb6, 0xfe, 0x85, 0x70, 0x7f, 0xfe, 0x7d }} > 0x16, 0x36, 0xcf, 0xdd, 0x75, 0x32, 0x64, 0x41, > 0x98, 0xb6, 0xfe, 0x85, 0x70, 0x7f, 0xfe, 0x7d, > +!endif > #Size: 0x2E000 (gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariab= leSize) - 0x48 (size of EFI_FIRMWARE_VOLUME_HEADER) =3D 0x2DFB8 > # This can speed up the Variable Dispatch a bit. > 0xB8, 0xDF, 0x02, 0x00, > @@ -189,6 +195,10 @@ gMinPlatformPkgTokenSpaceGuid.PcdFlashFvFspTBase|gMi= nPlatformPkgTokenSpaceGuid.P > # FSP_T Section > FILE =3D $(PLATFORM_FSP_BIN_PACKAGE)/Fsp_Rebased_T.fd > =20 > +gMinPlatformPkgTokenSpaceGuid.PcdFlashFvAdvancedPreMemoryOffset|gMinPlat= formPkgTokenSpaceGuid.PcdFlashFvAdvancedPreMemorySize > +gMinPlatformPkgTokenSpaceGuid.PcdFlashFvAdvancedPreMemoryBase|gMinPlatfo= rmPkgTokenSpaceGuid.PcdFlashFvAdvancedPreMemorySize > +FV =3D FvAdvancedPreMemory > + > gMinPlatformPkgTokenSpaceGuid.PcdFlashFvPreMemoryOffset|gMinPlatformPkgT= okenSpaceGuid.PcdFlashFvPreMemorySize > gMinPlatformPkgTokenSpaceGuid.PcdFlashFvPreMemoryBase|gMinPlatformPkgTok= enSpaceGuid.PcdFlashFvPreMemorySize > FV =3D FvPreMemory > @@ -646,6 +656,53 @@ INF $(PLATFORM_PACKAGE)/Tcg/Tcg2PlatformDxe/Tcg2Pla= tformDxe.inf > =20 > INF IntelSiliconPkg/Feature/SmmAccess/SmmAccessDxe/SmmAccess.inf > =20 > +# > +# Pre-memory Advanced Features > +# > +[FV.FvAdvancedPreMemory] > +FvAlignment =3D 16 > +ERASE_POLARITY =3D 1 > +MEMORY_MAPPED =3D TRUE > +STICKY_WRITE =3D TRUE > +LOCK_CAP =3D TRUE > +LOCK_STATUS =3D TRUE > +WRITE_DISABLED_CAP =3D TRUE > +WRITE_ENABLED_CAP =3D TRUE > +WRITE_STATUS =3D TRUE > +WRITE_LOCK_CAP =3D TRUE > +WRITE_LOCK_STATUS =3D TRUE > +READ_DISABLED_CAP =3D TRUE > +READ_ENABLED_CAP =3D TRUE > +READ_STATUS =3D TRUE > +READ_LOCK_CAP =3D TRUE > +READ_LOCK_STATUS =3D TRUE > +FvNameGuid =3D 6053D78A-457E-4490-A237-31D0FBE2F305 > + > +!include AdvancedFeaturePkg/Include/PreMemory.fdf > + > +# > +# Post-Memory Advanced Features > +# > +[FV.FvAdvancedUncompact] > +FvAlignment =3D 16 > +ERASE_POLARITY =3D 1 > +MEMORY_MAPPED =3D TRUE > +STICKY_WRITE =3D TRUE > +LOCK_CAP =3D TRUE > +LOCK_STATUS =3D TRUE > +WRITE_DISABLED_CAP =3D TRUE > +WRITE_ENABLED_CAP =3D TRUE > +WRITE_STATUS =3D TRUE > +WRITE_LOCK_CAP =3D TRUE > +WRITE_LOCK_STATUS =3D TRUE > +READ_DISABLED_CAP =3D TRUE > +READ_ENABLED_CAP =3D TRUE > +READ_STATUS =3D TRUE > +READ_LOCK_CAP =3D TRUE > +READ_LOCK_STATUS =3D TRUE > +FvNameGuid =3D BE3DF86F-E464-44A3-83F7-0D27E6B88C27 > + > +!include AdvancedFeaturePkg/Include/PostMemory.fdf > =20 > [FV.FvAdvanced] > BlockSize =3D $(FLASH_BLOCK_SIZE) > @@ -667,6 +724,11 @@ READ_LOCK_CAP =3D TRUE > READ_LOCK_STATUS =3D TRUE > FvNameGuid =3D B23E7388-9953-45C7-9201-0473DDE5487A > =20 > +FILE FV_IMAGE =3D 5248467B-B87B-4E74-AC02-398AF4BCB712 { > + SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_RE= QUIRED =3D TRUE { > + SECTION FV_IMAGE =3D FvAdvancedUncompact > + } > + } > =20 > [FV.FvFwBinaries] > BlockSize =3D $(FLASH_BLOCK_SIZE) > @@ -688,10 +750,6 @@ READ_LOCK_CAP =3D TRUE > READ_LOCK_STATUS =3D TRUE > FvNameGuid =3D 8B98AB22-E354-42f0-88B9-049810F0FDAA > =20 > - > - > - > - > [FV.FvOptional] > BlockSize =3D $(FLASH_BLOCK_SIZE) > FvAlignment =3D 16 > diff --git a/Platform/Intel/AlderlakeOpenBoardPkg/AlderlakePRvp/OpenBoard= PkgPcd.dsc b/Platform/Intel/AlderlakeOpenBoardPkg/AlderlakePRvp/OpenBoardPk= gPcd.dsc > index 3eb9a575..b52ed92c 100644 > --- a/Platform/Intel/AlderlakeOpenBoardPkg/AlderlakePRvp/OpenBoardPkgPcd.= dsc > +++ b/Platform/Intel/AlderlakeOpenBoardPkg/AlderlakePRvp/OpenBoardPkgPcd.= dsc > @@ -25,7 +25,7 @@ > # Stage 5 - boot to OS with security boot enabled > # Stage 6 - boot with advanced features enabled > # > - gMinPlatformPkgTokenSpaceGuid.PcdBootStage|4 > + gMinPlatformPkgTokenSpaceGuid.PcdBootStage|5 > =20 > # > # 0: FSP Wrapper is running in Dispatch mode. > @@ -313,6 +313,14 @@ gIntelFsp2WrapperTokenSpaceGuid.PcdFspsUpdDataAddres= s|0x00000000 > gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber|16 > gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|F= ALSE > =20 > +!if gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable =3D=3D TRUE > + gEfiSecurityPkgTokenSpaceGuid.PcdTpmInitializationPolicy|1 > + gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x5a, 0xf2, 0x6b, 0x= 28, 0xc3, 0xc2, 0x8c, 0x40, 0xb3, 0xb4, 0x25, 0xe6, 0x75, 0x8b, 0x73, 0x17} > +!endif > + > +[PcdsDynamicHii.common.DEFAULT] > + gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg= 2ConfigFormSetGuid|0x8|4|NV,BS > + > [PcdsDynamicHii.X64.DEFAULT] > gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalV= ariableGuid|0x0|5 # Variable: L"Timeout" > gEfiMdePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|L"HwErrRecSupport= "|gEfiGlobalVariableGuid|0x0|1 # Variable: L"HwErrRecSupport" > --=20 > 2.26.2.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 (#118606): https://edk2.groups.io/g/devel/message/118606 Mute This Topic: https://groups.io/mt/105936343/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-