From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.43; helo=mga05.intel.com; envelope-from=michael.d.kinney@intel.com; receiver=edk2-devel@lists.01.org Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (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 E81A0210E8D5A for ; Thu, 9 Aug 2018 18:28:30 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Aug 2018 18:28:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,217,1531810800"; d="scan'208";a="63770844" Received: from mdkinney-mobl2.amr.corp.intel.com ([10.241.98.57]) by orsmga007.jf.intel.com with ESMTP; 09 Aug 2018 18:28:30 -0700 From: Michael D Kinney To: edk2-devel@lists.01.org Cc: David Wei , Mang Guo Date: Thu, 9 Aug 2018 18:28:22 -0700 Message-Id: <20180810012826.4052-1-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.14.2.windows.3 Subject: [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 01:28:31 -0000 Update Vlv2TbltDevicePkg to build UEFI capsules for system firmare and device firmware using the GenerateCapsule tool and use the FmpDevicePkg to implement drivers that produce the Firmware Management Protocol to process UEFI capsules. * 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/GenCapsuleAll.bat create mode 100644 Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/GenCapsuleMinnowMax.bat create mode 100644 Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/GenCapsuleMinnowMaxRelease.bat create mode 100644 Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/GenCapsuleSampleColor.bat create mode 100644 Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/NewRoot.cer.gFmpDevicePkgTokenSpaceGuid.PcdFmpDevicePkcs7CertBufferXdr.inc create mode 100644 Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/SAMPLE_DEVELOPMENT.cer.gFmpDevicePkgTokenSpaceGuid.PcdFmpDevicePkcs7CertBufferXdr.inc create mode 100644 Vlv2TbltDevicePkg/Feature/Capsule/GenerateCapsule/SAMPLE_DEVELOPMENT_SAMPLE_PRODUCTION.cer.gFmpDevicePkgTokenSpaceGuid.PcdFmpDevicePkcs7CertBufferXdr.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/FmpDeviceLibSample/FmpDeviceLib.c create mode 100644 Vlv2TbltDevicePkg/Feature/Capsule/Library/FmpDeviceLibSample/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 -- 2.14.2.windows.3