From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Permerror (SPF Permanent Error: More than 10 MX records returned) identity=mailfrom; client-ip=134.134.136.20; helo=mga02.intel.com; envelope-from=yonghong.zhu@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 7EE9721B02839 for ; Thu, 7 Dec 2017 01:54:58 -0800 (PST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Dec 2017 01:59:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,372,1508828400"; d="scan'208";a="184489029" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga005.fm.intel.com with ESMTP; 07 Dec 2017 01:59:30 -0800 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 7 Dec 2017 01:59:30 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 7 Dec 2017 01:59:30 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.213]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.159]) with mapi id 14.03.0319.002; Thu, 7 Dec 2017 17:59:28 +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+tQsd3zxu3oaM2JnEAgAD0bjCAAJbTYA== Date: Thu, 7 Dec 2017 09:59:27 +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: 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 09:54:58 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Leif, Please help to check whether this patch " [edk2] [PATCH] BaseTools: Fix Gen= Sec can't found the depex file" can fix it. thanks a lot. Best Regards, Zhu Yonghong -----Original Message----- From: Zhu, Yonghong=20 Sent: Thursday, December 07, 2017 9:00 AM To: Leif Lindholm Cc: edk2-devel@lists.01.org; Feng, YunhuaX ; Gao, L= iming ; Zhu, Yonghong Subject: RE: [edk2] [Patch 4/4 V3] BaseTools: Update Makefile to support FF= S file generation Thanks Leif. I will provide patch to fix it soon. Best Regards, Zhu Yonghong -----Original Message----- From: Leif Lindholm [mailto:leif.lindholm@linaro.org] 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(-)