From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.151, mailfrom: liming.gao@intel.com) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by groups.io with SMTP; Mon, 01 Jul 2019 04:28:00 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Jul 2019 04:28:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,439,1557212400"; d="scan'208";a="186453449" Received: from shwde7172.ccr.corp.intel.com ([10.239.158.22]) by fmsmga004.fm.intel.com with ESMTP; 01 Jul 2019 04:27:58 -0700 From: "Liming Gao" To: devel@edk2.groups.io Cc: Bob Feng , Ard Biesheuvel , Leif Lindholm , Michael D Kinney , Cetola Stephano Subject: [Patch v3 0/3] BaseTools: Move FCE & FMMT tools to edk2 repo Date: Mon, 1 Jul 2019 19:27:28 +0800 Message-Id: <1561980451-11308-1-git-send-email-liming.gao@intel.com> X-Mailer: git-send-email 2.8.0.windows.1 REF:FMMT(https://bugzilla.tianocore.org/show_bug.cgi?id=1847) FCE(https://bugzilla.tianocore.org/show_bug.cgi?id=1848) Changes are committed in forked repository: https://github.com/shenglei10/edk2/commits/movetool FCE & FMMT tools are in https://firmware.intel.com/develop Intel UEFI tools and utilities. Now, this patch moves them to edk2 repo BaseTools directory. Besides, this patch updates their license header to BSD-2-Clause-Patent, and does some bug fixes. In V2: Without ARM/AARCH64 Linux build verification, and give the proposal to move it to edk2-platform Platform\Intel\Tools https://edk2.groups.io/g/devel/message/42545 In V3: Collect more feedback in edk2 community and Design Meeting. https://edk2.groups.io/g/announce/message/49 One option is to ask help for the people who work on ARM/AARCH64 Linux to compile these patch set before those patches are pushed. Now, these patches have been reviewed and tested on IA32/X64. I plan to push them on July 3rd (UTC+8 10AM). If you find any issue, please let me know. After push, if you find any break, please let me know. Cc: Bob Feng Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Michael D Kinney Cc: Cetola Stephano Shenglei Zhang (3): BaseTools/BfmLib: Add BfmLib to edk2/master BaseTools/FCE: Add FCE tool to edk2/master BaseTools/FMMT: Add a new tool FMMT BaseTools/Source/C/BfmLib/BfmLib.c | 4355 +++++++++++++ BaseTools/Source/C/BfmLib/BinFileManager.c | 1024 ++++ BaseTools/Source/C/FCE/BinaryCreate.c | 216 + BaseTools/Source/C/FCE/BinaryParse.c | 1326 ++++ BaseTools/Source/C/FCE/Common.c | 2183 +++++++ BaseTools/Source/C/FCE/Expression.c | 2367 +++++++ BaseTools/Source/C/FCE/Fce.c | 6449 ++++++++++++++++++++ BaseTools/Source/C/FCE/IfrParse.c | 4836 +++++++++++++++ BaseTools/Source/C/FCE/MonotonicBasedVariable.c | 874 +++ BaseTools/Source/C/FCE/TimeBasedVariable.c | 878 +++ BaseTools/Source/C/FCE/Variable.c | 1091 ++++ BaseTools/Source/C/FMMT/FirmwareModuleManagement.c | 2559 ++++++++ BaseTools/Source/C/FMMT/FmmtLib.c | 5051 +++++++++++++++ BaseTools/Source/C/FMMT/Rebase.c | 846 +++ BaseTools/BinWrappers/PosixLike/BfmLib | 29 + BaseTools/BinWrappers/PosixLike/FCE | 29 + BaseTools/BinWrappers/PosixLike/FMMT | 29 + BaseTools/Source/C/BfmLib/BinFileManager.h | 439 ++ BaseTools/Source/C/BfmLib/GNUmakefile | 15 + BaseTools/Source/C/BfmLib/Makefile | 17 + BaseTools/Source/C/FCE/BinaryCreate.h | 157 + BaseTools/Source/C/FCE/BinaryParse.h | 187 + BaseTools/Source/C/FCE/Common.h | 999 +++ BaseTools/Source/C/FCE/Fce.h | 447 ++ BaseTools/Source/C/FCE/GNUmakefile | 55 + BaseTools/Source/C/FCE/IfrParse.h | 789 +++ BaseTools/Source/C/FCE/Makefile | 19 + BaseTools/Source/C/FCE/MonotonicBasedVariable.h | 162 + BaseTools/Source/C/FCE/TimeBasedVariable.h | 166 + BaseTools/Source/C/FCE/Variable.h | 154 + BaseTools/Source/C/FCE/VariableCommon.h | 55 + BaseTools/Source/C/FMMT/FirmwareModuleManagement.h | 479 ++ BaseTools/Source/C/FMMT/FmmtConf.ini | 6 + BaseTools/Source/C/FMMT/GNUmakefile | 16 + BaseTools/Source/C/FMMT/Makefile | 17 + BaseTools/Source/C/FMMT/Rebase.h | 31 + BaseTools/Source/C/GNUmakefile | 5 +- BaseTools/Source/C/Makefile | 5 +- 38 files changed, 38360 insertions(+), 2 deletions(-) create mode 100644 BaseTools/Source/C/BfmLib/BfmLib.c create mode 100644 BaseTools/Source/C/BfmLib/BinFileManager.c create mode 100644 BaseTools/Source/C/FCE/BinaryCreate.c create mode 100644 BaseTools/Source/C/FCE/BinaryParse.c create mode 100644 BaseTools/Source/C/FCE/Common.c create mode 100644 BaseTools/Source/C/FCE/Expression.c create mode 100644 BaseTools/Source/C/FCE/Fce.c create mode 100644 BaseTools/Source/C/FCE/IfrParse.c create mode 100644 BaseTools/Source/C/FCE/MonotonicBasedVariable.c create mode 100644 BaseTools/Source/C/FCE/TimeBasedVariable.c create mode 100644 BaseTools/Source/C/FCE/Variable.c create mode 100644 BaseTools/Source/C/FMMT/FirmwareModuleManagement.c create mode 100644 BaseTools/Source/C/FMMT/FmmtLib.c create mode 100644 BaseTools/Source/C/FMMT/Rebase.c create mode 100755 BaseTools/BinWrappers/PosixLike/BfmLib create mode 100755 BaseTools/BinWrappers/PosixLike/FCE create mode 100755 BaseTools/BinWrappers/PosixLike/FMMT create mode 100644 BaseTools/Source/C/BfmLib/BinFileManager.h create mode 100644 BaseTools/Source/C/BfmLib/GNUmakefile create mode 100644 BaseTools/Source/C/BfmLib/Makefile create mode 100644 BaseTools/Source/C/FCE/BinaryCreate.h create mode 100644 BaseTools/Source/C/FCE/BinaryParse.h create mode 100644 BaseTools/Source/C/FCE/Common.h create mode 100644 BaseTools/Source/C/FCE/Fce.h create mode 100644 BaseTools/Source/C/FCE/GNUmakefile create mode 100644 BaseTools/Source/C/FCE/IfrParse.h create mode 100644 BaseTools/Source/C/FCE/Makefile create mode 100644 BaseTools/Source/C/FCE/MonotonicBasedVariable.h create mode 100644 BaseTools/Source/C/FCE/TimeBasedVariable.h create mode 100644 BaseTools/Source/C/FCE/Variable.h create mode 100644 BaseTools/Source/C/FCE/VariableCommon.h create mode 100644 BaseTools/Source/C/FMMT/FirmwareModuleManagement.h create mode 100644 BaseTools/Source/C/FMMT/FmmtConf.ini create mode 100644 BaseTools/Source/C/FMMT/GNUmakefile create mode 100644 BaseTools/Source/C/FMMT/Makefile create mode 100644 BaseTools/Source/C/FMMT/Rebase.h -- 2.13.0.windows.1