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.115; helo=mga14.intel.com; envelope-from=yonghong.zhu@intel.com; receiver=edk2-devel@lists.01.org Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (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 0D05220352AB6 for ; Wed, 6 Dec 2017 16:55:28 -0800 (PST) Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Dec 2017 17:00:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,370,1508828400"; d="scan'208";a="565685" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga008.fm.intel.com with ESMTP; 06 Dec 2017 17:00:01 -0800 Received: from fmsmsx122.amr.corp.intel.com (10.18.125.37) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 6 Dec 2017 17:00:00 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx122.amr.corp.intel.com (10.18.125.37) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 6 Dec 2017 17:00:00 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.213]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.218]) with mapi id 14.03.0319.002; Thu, 7 Dec 2017 08:59:42 +0800 From: "Zhu, Yonghong" To: Leif Lindholm CC: "edk2-devel@lists.01.org" , "Feng, YunhuaX" , "Gao, Liming" , "Zhu, Yonghong" Thread-Topic: [edk2] [Patch 4/4 V3] BaseTools: Update Makefile to support FFS file generation Thread-Index: AQHTaRrFHx+Hndy1XU+tQsd3zxu3oaM2JnEAgAD0bjA= Date: Thu, 7 Dec 2017 00:59:42 +0000 Message-ID: References: <1511964126-6716-1-git-send-email-yonghong.zhu@intel.com> <1511964126-6716-5-git-send-email-yonghong.zhu@intel.com> <20171206182358.o43jgl744mgrtys7@bivouac.eciton.net> In-Reply-To: <20171206182358.o43jgl744mgrtys7@bivouac.eciton.net> 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 4/4 V3] BaseTools: Update Makefile to support FFS file generation X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Dec 2017 00:55:29 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Thanks Leif. I will provide patch to fix it soon. Best Regards, Zhu Yonghong -----Original Message----- From: Leif Lindholm [mailto:leif.lindholm@linaro.org]=20 Sent: Thursday, December 07, 2017 2:24 AM To: Zhu, Yonghong Cc: edk2-devel@lists.01.org; Feng, YunhuaX ; Gao, L= iming Subject: Re: [edk2] [Patch 4/4 V3] BaseTools: Update Makefile to support FF= S file generation Hi Yonghong, I'm afraid I have come across an issue with this one as well: When trying to build OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b into a platform (edk2-platforms/Platform/Hisilicon/HiKey/), GenSec fails wi= th: Generating FVMAIN FV #################################### ######################################## ########Return Value =3D 2 GenSec: ERROR 0001: Error opening file /work/git/tianocore/Build/HiKey/RELEASE_GCC5/AARCH64/OptionRomPkg/Bus/Usb= /UsbNetworking/Ax88772b/Ax88772b/OUTPUT/Ax88772b.depex GenSec: ERROR 2000: Status is not successful If I revert commit 37de70b7, the platform builds successfully again. D03 and D05 platforms also appear to have issues with this, but in that cas= e due to drivers in edk2-non-osi. / Leif On Wed, Nov 29, 2017 at 10:02:06PM +0800, Yonghong Zhu wrote: > Update Makefile to support FFS file generation with new build option=20 > --genfds-multi-thread. >=20 > Cc: Liming Gao > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Yonghong Zhu > Signed-off-by: Yunhua Feng > --- > 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/build/build.py | 48 ++++- > 24 files changed, 793 insertions(+), 411 deletions(-)