[edk2] [Patch 0/4 V3] BaseTools: Enable multiple thread to generate FFS file

Yonghong Zhu posted 4 patches 6 years, 3 months ago
Failed in applying to current master (apply log)
BaseTools/Source/C/GenFfs/GenFfs.c                 | 135 +++++++++++++-
BaseTools/Source/C/GenSec/GenSec.c                 |  74 ++++++++
BaseTools/Source/Python/AutoGen/AutoGen.py         |  23 ++-
BaseTools/Source/Python/AutoGen/GenMake.py         |  90 ++++++++-
BaseTools/Source/Python/Common/GlobalData.py       |   1 +
BaseTools/Source/Python/GenFds/AprioriSection.py   |  14 +-
BaseTools/Source/Python/GenFds/CompressSection.py  |  10 +-
BaseTools/Source/Python/GenFds/DataSection.py      |  37 ++--
BaseTools/Source/Python/GenFds/DepexSection.py     |   6 +-
BaseTools/Source/Python/GenFds/EfiSection.py       |  78 +++++---
BaseTools/Source/Python/GenFds/Fd.py               |  24 ++-
BaseTools/Source/Python/GenFds/FfsFileStatement.py |   4 +-
BaseTools/Source/Python/GenFds/FfsInfStatement.py  | 202 ++++++++++++---------
BaseTools/Source/Python/GenFds/Fv.py               | 189 ++++++++++---------
BaseTools/Source/Python/GenFds/FvImageSection.py   |   8 +-
BaseTools/Source/Python/GenFds/GenFds.py           |  20 ++
.../Source/Python/GenFds/GenFdsGlobalVariable.py   | 174 ++++++++++++++----
BaseTools/Source/Python/GenFds/GuidSection.py      | 168 +++++++++--------
.../Source/Python/GenFds/OptRomFileStatement.py    |   4 +-
.../Source/Python/GenFds/OptRomInfStatement.py     |  12 +-
BaseTools/Source/Python/GenFds/OptionRom.py        |  25 +--
BaseTools/Source/Python/GenFds/Region.py           |  49 +++--
BaseTools/Source/Python/GenFds/Section.py          |   4 +-
BaseTools/Source/Python/GenFds/UiSection.py        |   5 +-
BaseTools/Source/Python/GenFds/VerSection.py       |   9 +-
BaseTools/Source/Python/Trim/Trim.py               |  81 ++++++++-
BaseTools/Source/Python/build/build.py             |  48 ++++-
27 files changed, 1077 insertions(+), 417 deletions(-)
[edk2] [Patch 0/4 V3] BaseTools: Enable multiple thread to generate FFS file
Posted by Yonghong Zhu 6 years, 3 months ago
V3: add a new build option --genfds-multi-thread for this feature, default is
False.

These patches enable multiple thread to generate ffs file by merge FFS file's
generation into Make phase.

Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>

Yonghong Zhu (4):
  BaseTools: GenFfs support to get alignment value from SectionFile
  BaseTools: Update Trim to generate VfrBinOffset Binary
  BaseTools: Update Gensec to set PROCESSING_REQUIRED value
  BaseTools: Update Makefile to support FFS file generation

 BaseTools/Source/C/GenFfs/GenFfs.c                 | 135 +++++++++++++-
 BaseTools/Source/C/GenSec/GenSec.c                 |  74 ++++++++
 BaseTools/Source/Python/AutoGen/AutoGen.py         |  23 ++-
 BaseTools/Source/Python/AutoGen/GenMake.py         |  90 ++++++++-
 BaseTools/Source/Python/Common/GlobalData.py       |   1 +
 BaseTools/Source/Python/GenFds/AprioriSection.py   |  14 +-
 BaseTools/Source/Python/GenFds/CompressSection.py  |  10 +-
 BaseTools/Source/Python/GenFds/DataSection.py      |  37 ++--
 BaseTools/Source/Python/GenFds/DepexSection.py     |   6 +-
 BaseTools/Source/Python/GenFds/EfiSection.py       |  78 +++++---
 BaseTools/Source/Python/GenFds/Fd.py               |  24 ++-
 BaseTools/Source/Python/GenFds/FfsFileStatement.py |   4 +-
 BaseTools/Source/Python/GenFds/FfsInfStatement.py  | 202 ++++++++++++---------
 BaseTools/Source/Python/GenFds/Fv.py               | 189 ++++++++++---------
 BaseTools/Source/Python/GenFds/FvImageSection.py   |   8 +-
 BaseTools/Source/Python/GenFds/GenFds.py           |  20 ++
 .../Source/Python/GenFds/GenFdsGlobalVariable.py   | 174 ++++++++++++++----
 BaseTools/Source/Python/GenFds/GuidSection.py      | 168 +++++++++--------
 .../Source/Python/GenFds/OptRomFileStatement.py    |   4 +-
 .../Source/Python/GenFds/OptRomInfStatement.py     |  12 +-
 BaseTools/Source/Python/GenFds/OptionRom.py        |  25 +--
 BaseTools/Source/Python/GenFds/Region.py           |  49 +++--
 BaseTools/Source/Python/GenFds/Section.py          |   4 +-
 BaseTools/Source/Python/GenFds/UiSection.py        |   5 +-
 BaseTools/Source/Python/GenFds/VerSection.py       |   9 +-
 BaseTools/Source/Python/Trim/Trim.py               |  81 ++++++++-
 BaseTools/Source/Python/build/build.py             |  48 ++++-
 27 files changed, 1077 insertions(+), 417 deletions(-)

-- 
2.6.1.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [Patch 0/4 V3] BaseTools: Enable multiple thread to generate FFS file
Posted by Gao, Liming 6 years, 3 months ago
Reviewed-by: Liming Gao <liming.gao@intel.com>

>-----Original Message-----
>From: Zhu, Yonghong
>Sent: Wednesday, November 29, 2017 10:02 PM
>To: edk2-devel@lists.01.org
>Cc: Gao, Liming <liming.gao@intel.com>
>Subject: [edk2] [Patch 0/4 V3] BaseTools: Enable multiple thread to generate
>FFS file
>
>V3: add a new build option --genfds-multi-thread for this feature, default is
>False.
>
>These patches enable multiple thread to generate ffs file by merge FFS file's
>generation into Make phase.
>
>Cc: Liming Gao <liming.gao@intel.com>
>Contributed-under: TianoCore Contribution Agreement 1.1
>Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
>
>Yonghong Zhu (4):
>  BaseTools: GenFfs support to get alignment value from SectionFile
>  BaseTools: Update Trim to generate VfrBinOffset Binary
>  BaseTools: Update Gensec to set PROCESSING_REQUIRED value
>  BaseTools: Update Makefile to support FFS file generation
>
> BaseTools/Source/C/GenFfs/GenFfs.c                 | 135 +++++++++++++-
> BaseTools/Source/C/GenSec/GenSec.c                 |  74 ++++++++
> BaseTools/Source/Python/AutoGen/AutoGen.py         |  23 ++-
> BaseTools/Source/Python/AutoGen/GenMake.py         |  90 ++++++++-
> BaseTools/Source/Python/Common/GlobalData.py       |   1 +
> BaseTools/Source/Python/GenFds/AprioriSection.py   |  14 +-
> BaseTools/Source/Python/GenFds/CompressSection.py  |  10 +-
> BaseTools/Source/Python/GenFds/DataSection.py      |  37 ++--
> BaseTools/Source/Python/GenFds/DepexSection.py     |   6 +-
> BaseTools/Source/Python/GenFds/EfiSection.py       |  78 +++++---
> BaseTools/Source/Python/GenFds/Fd.py               |  24 ++-
> BaseTools/Source/Python/GenFds/FfsFileStatement.py |   4 +-
> BaseTools/Source/Python/GenFds/FfsInfStatement.py  | 202
>++++++++++++---------
> BaseTools/Source/Python/GenFds/Fv.py               | 189 ++++++++++---------
> BaseTools/Source/Python/GenFds/FvImageSection.py   |   8 +-
> BaseTools/Source/Python/GenFds/GenFds.py           |  20 ++
> .../Source/Python/GenFds/GenFdsGlobalVariable.py   | 174
>++++++++++++++----
> BaseTools/Source/Python/GenFds/GuidSection.py      | 168 +++++++++-------
>-
> .../Source/Python/GenFds/OptRomFileStatement.py    |   4 +-
> .../Source/Python/GenFds/OptRomInfStatement.py     |  12 +-
> BaseTools/Source/Python/GenFds/OptionRom.py        |  25 +--
> BaseTools/Source/Python/GenFds/Region.py           |  49 +++--
> BaseTools/Source/Python/GenFds/Section.py          |   4 +-
> BaseTools/Source/Python/GenFds/UiSection.py        |   5 +-
> BaseTools/Source/Python/GenFds/VerSection.py       |   9 +-
> BaseTools/Source/Python/Trim/Trim.py               |  81 ++++++++-
> BaseTools/Source/Python/build/build.py             |  48 ++++-
> 27 files changed, 1077 insertions(+), 417 deletions(-)
>
>--
>2.6.1.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel