From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::244; helo=mail-wr0-x244.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x244.google.com (mail-wr0-x244.google.com [IPv6:2a00:1450:400c:c0c::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id A91562217CE23 for ; Wed, 6 Dec 2017 10:19:31 -0800 (PST) Received: by mail-wr0-x244.google.com with SMTP id z18so4888655wrb.8 for ; Wed, 06 Dec 2017 10:24:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Bbcuha1eW7frT5Hs2L7tKXhVBbNsClPxNqd+Cfhudzc=; b=BKTGL6pVH0lqfYzysmtCjqPvzfIIJRZFiXuypbXjxfwqoHh1RNetOvJ8RVMtikbeiB LeY0XMwNOmKEZa4guvGO/xTU+cHep9oiy6E/Z/0V8xo315nIPqm2w6LP2CSon/dXNkRr JvET8Gj9k6rVHSZD+uiHENj/XHY1SbE/FsM2A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Bbcuha1eW7frT5Hs2L7tKXhVBbNsClPxNqd+Cfhudzc=; b=H7CHkrM8igdbrAM6Nh5A0d8q2qlJ0LU68awK8Hr2jnhDbA9ZufPHIvDOYrz7rUItRU 4bd06AtCzhrm4bURuhAp2lfLOlI8tYpH3MTBrNsI3205ONnqjjtXHwB7QtyEP2pb8YcX vWgb5uw715xmI3cOCOLwiFXJNKBUy1RojR2250D/FhKjooJITQ1pl6OPZgc/jp/CVR2p 59XRzurIo0kmF3eX3zvp73plJCfdyelBKnQO5bx2kf/CB+OzYutLMOwCurn4l38tWexV dM2n+SSYjie41mWF+2212ENREzWFZzGMgq4CalC3Wm8RbzfJJFYoJeeHaYB3JAQMA7OS qlVA== X-Gm-Message-State: AJaThX61DN/sCuWjKyuhnwpzxZaNRoWQP2cP1vVAQcXGTKhsuiEjll5N iuYeufSrRBwEr4cmeAISrw0CjQ== X-Google-Smtp-Source: AGs4zMaVw2kJ/3Q56JiBPVLVH2qgAD4sV18BINxTkvsxGGobc8GAZuMk71V6Q3wZJC2jtZlG05UhbQ== X-Received: by 10.223.146.167 with SMTP id 36mr19214956wrn.102.1512584642337; Wed, 06 Dec 2017 10:24:02 -0800 (PST) Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id 38sm4208436wry.34.2017.12.06.10.24.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Dec 2017 10:24:00 -0800 (PST) Date: Wed, 6 Dec 2017 18:23:58 +0000 From: Leif Lindholm To: Yonghong Zhu Cc: edk2-devel@lists.01.org, Yunhua Feng , Liming Gao Message-ID: <20171206182358.o43jgl744mgrtys7@bivouac.eciton.net> References: <1511964126-6716-1-git-send-email-yonghong.zhu@intel.com> <1511964126-6716-5-git-send-email-yonghong.zhu@intel.com> MIME-Version: 1.0 In-Reply-To: <1511964126-6716-5-git-send-email-yonghong.zhu@intel.com> User-Agent: NeoMutt/20170113 (1.7.2) 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: Wed, 06 Dec 2017 18:19:33 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 with: Generating FVMAIN FV #################################### ######################################## ########Return Value = 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 case 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 > --genfds-multi-thread. > > 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(-)