From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.20; helo=mga02.intel.com; envelope-from=mang.guo@intel.com; receiver=edk2-devel@lists.01.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 7911F210E8D4C for ; Thu, 9 Aug 2018 23:25:47 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Aug 2018 23:25:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,218,1531810800"; d="scan'208";a="223506747" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga004.jf.intel.com with ESMTP; 09 Aug 2018 23:25:47 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 9 Aug 2018 23:25:46 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.240]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.150]) with mapi id 14.03.0319.002; Fri, 10 Aug 2018 14:25:45 +0800 From: "Guo, Mang" To: "Kinney, Michael D" , "edk2-devel@lists.01.org" CC: "Wei, David" Thread-Topic: [Patch 0/4] Vlv2TbltDevicePkg: Add FmpDevicePkg support Thread-Index: AQHUMElzR9vFPB1VYU6TZopThnPRp6S4hTYg Date: Fri, 10 Aug 2018 06:25:45 +0000 Message-ID: <22D2C85ED001C54AA20BFE3B0E4751D1526CC90D@SHSMSX103.ccr.corp.intel.com> References: <20180810012826.4052-1-michael.d.kinney@intel.com> In-Reply-To: <20180810012826.4052-1-michael.d.kinney@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch 0/4] Vlv2TbltDevicePkg: Add FmpDevicePkg support X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Aug 2018 06:25:47 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Guo Mang -----Original Message----- From: Kinney, Michael D=20 Sent: Friday, August 10, 2018 9:28 AM To: edk2-devel@lists.01.org Cc: Wei, David; Guo, Mang Subject: [Patch 0/4] Vlv2TbltDevicePkg: Add FmpDevicePkg support Update Vlv2TbltDevicePkg to build UEFI capsules for system firmare and devi= ce firmware using the GenerateCapsule tool and use the FmpDevicePkg to impleme= nt drivers that produce the Firmware Management Protocol to process UEFI capsu= les. * Update Vlv2TbltDevicePkg specific BDS to notify when test key is detected= . * Add FmpDeviceLib instance for Minnow Max FLASH update * Add FmpDeviceLib instance for sample devices * Add scripts to generate UEFI Capsules for system and device firmware * Update Vlv2TbltDevicePkg DSC/FDF to use FmpDevicePkg Cc: David Wei Cc: Mang Guo Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael D Kinney Kinney, Michael D (1): Vlv2TbltDevicePkg/Override/Bds: Add test key notification Michael D Kinney (3): Vlv2TbltDevicePkg/Feature/Capsule: Add FmpDeviceLib instances Vlv2TbltDevicePkg/Capsule: Add scripts to generate capsules Vlv2TbltDevicePkg: Update DSC/FDF to use FmpDevicePkg .../Capsule/GenerateCapsule/GenCapsuleAll.bat | 35 ++ .../GenerateCapsule/GenCapsuleMinnowMax.bat | 139 +++++ .../GenerateCapsule/GenCapsuleMinnowMaxRelease.bat | 139 +++++ .../GenerateCapsule/GenCapsuleSampleColor.bat | 145 +++++ ...kenSpaceGuid.PcdFmpDevicePkcs7CertBufferXdr.inc | 1 + ...kenSpaceGuid.PcdFmpDevicePkcs7CertBufferXdr.inc | 1 + ...kenSpaceGuid.PcdFmpDevicePkcs7CertBufferXdr.inc | 1 + .../Capsule/Library/FmpDeviceLib/FmpDeviceLib.c | 607 +++++++++++++++++= ++++ .../Capsule/Library/FmpDeviceLib/FmpDeviceLib.inf | 63 +++ .../Library/FmpDeviceLibSample/FmpDeviceLib.c | 429 +++++++++++++++ .../Library/FmpDeviceLibSample/FmpDeviceLib.inf | 51 ++ Vlv2TbltDevicePkg/FmpBlueSampleDevice.dsc | 61 +++ Vlv2TbltDevicePkg/FmpCertificate.dsc | 28 + Vlv2TbltDevicePkg/FmpGreenSampleDevice.dsc | 61 +++ Vlv2TbltDevicePkg/FmpMinnowMaxSystem.dsc | 65 +++ Vlv2TbltDevicePkg/FmpRedSampleDevice.dsc | 61 +++ .../Library/GenericBdsLib/BdsConsole.c | 11 + .../Library/GenericBdsLib/GenericBdsLib.inf | 1 + Vlv2TbltDevicePkg/PlatformCapsule.dsc | 1 + Vlv2TbltDevicePkg/PlatformCapsule.fdf | 23 - Vlv2TbltDevicePkg/PlatformCapsuleGcc.fdf | 23 - Vlv2TbltDevicePkg/PlatformPkg.dec | 5 + Vlv2TbltDevicePkg/PlatformPkg.fdf | 61 +-- Vlv2TbltDevicePkg/PlatformPkgConfig.dsc | 19 +- Vlv2TbltDevicePkg/PlatformPkgGcc.fdf | 61 +-- Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc | 66 +-- Vlv2TbltDevicePkg/PlatformPkgIA32.dsc | 64 +-- Vlv2TbltDevicePkg/PlatformPkgX64.dsc | 62 +-- 28 files changed, 2032 insertions(+), 252 deletions(-) create mode 100644 Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/GenCa= psuleAll.bat create mode 100644 Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/GenCa= psuleMinnowMax.bat create mode 100644 Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/GenCa= psuleMinnowMaxRelease.bat create mode 100644 Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/GenCa= psuleSampleColor.bat create mode 100644 Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/NewRo= ot.cer.gFmpDevicePkgTokenSpaceGuid.PcdFmpDevicePkcs7CertBufferXdr.inc create mode 100644 Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/SAMPL= E_DEVELOPMENT.cer.gFmpDevicePkgTokenSpaceGuid.PcdFmpDevicePkcs7CertBufferXd= r.inc create mode 100644 Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/SAMPL= E_DEVELOPMENT_SAMPLE_PRODUCTION.cer.gFmpDevicePkgTokenSpaceGuid.PcdFmpDevic= ePkcs7CertBufferXdr.inc create mode 100644 Vlv2TbltDevicePkg/Feature/Capsule/Library/FmpDeviceLib/= FmpDeviceLib.c create mode 100644 Vlv2TbltDevicePkg/Feature/Capsule/Library/FmpDeviceLib/= FmpDeviceLib.inf create mode 100644 Vlv2TbltDevicePkg/Feature/Capsule/Library/FmpDeviceLibS= ample/FmpDeviceLib.c create mode 100644 Vlv2TbltDevicePkg/Feature/Capsule/Library/FmpDeviceLibS= ample/FmpDeviceLib.inf create mode 100644 Vlv2TbltDevicePkg/FmpBlueSampleDevice.dsc create mode 100644 Vlv2TbltDevicePkg/FmpCertificate.dsc create mode 100644 Vlv2TbltDevicePkg/FmpGreenSampleDevice.dsc create mode 100644 Vlv2TbltDevicePkg/FmpMinnowMaxSystem.dsc create mode 100644 Vlv2TbltDevicePkg/FmpRedSampleDevice.dsc --=20 2.14.2.windows.3