From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 893301A1E56 for ; Tue, 13 Sep 2016 20:17:07 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP; 13 Sep 2016 20:17:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,332,1470726000"; d="scan'208";a="1029624287" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga001.jf.intel.com with ESMTP; 13 Sep 2016 20:17:06 -0700 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 13 Sep 2016 20:17:06 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 13 Sep 2016 20:17:06 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.109]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.250]) with mapi id 14.03.0248.002; Wed, 14 Sep 2016 11:17:04 +0800 From: "Gao, Liming" To: Vladimir Olovyannikov , "edk2-devel@ml01.01.org" Thread-Topic: [edk2] GenFds.py error CODE: Tools code failure Thread-Index: AdIN96f1sewGhDUdRCW5KjQEeKmdewAPko/w Date: Wed, 14 Sep 2016 03:17:04 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14B3E7995@shsmsx102.ccr.corp.intel.com> References: <10f6991b5b8925ea4823ad424dc70f56@mail.gmail.com> In-Reply-To: <10f6991b5b8925ea4823ad424dc70f56@mail.gmail.com> 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: GenFds.py error CODE: Tools code failure X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2016 03:17:07 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi,=20 The below message is caused by the missing map file of the driver. In bui= ld output directory /uefi/Build/NS2Pkg/DEBUG_GCC5, please check whether th= e map file is generated for each driver.=20 Thanks Liming > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of > Vladimir Olovyannikov > Sent: Wednesday, September 14, 2016 3:51 AM > To: edk2-devel@ml01.01.org > Subject: [edk2] GenFds.py error CODE: Tools code failure >=20 > Hello, >=20 > I have just got this error building UEFI for AARCH64. >=20 > Here is an excerpt from the output: >=20 > Fd File Name:BL33_AP_UEFI >=20 > Generate Region at Offset 0x0 > Region Size =3D 0xF0000 > Region Name =3D FV >=20 > Generating FVMAIN_COMPACT FV > #### > Generating FVMAIN FV > #################################### > ######################################## > ######################################## >=20 >=20 > GenFds.py... > : error C0DE: Tools code failure > Please send email to edk2-devel@lists.01.org for help, attaching > following call stack trace! >=20 > Traceback (most recent call last): > File > "/uefi/BaseTools/BinWrappers/PosixLike/../../Source/Python/GenFds/GenF > ds.p > y", line 307, in main > GenFds.GenFd('', FdfParserObj, BuildWorkSpace, ArchList) > File > "/uefi/BaseTools/BinWrappers/PosixLike/../../Source/Python/GenFds/GenF > ds.p > y", line 553, in GenFd > FdObj.GenFd() > File "/uefi/BaseTools/Source/Python/GenFds/Fd.py", line 93, in GenFd > RegionObj.AddToBuffer (TempFdBuffer, self.BaseAddress, > self.BlockSizeList, self.ErasePolarity, GenFds.ImageBinDict, > self.vtfRawDict, self.DefineVarDict) > File "/uefi/BaseTools/Source/Python/GenFds/Region.py", line 127, in > AddToBuffer > FvObj.AddToBuffer(FvBuffer, FvBaseAddress, BlockSize, BlockNum, > ErasePolarity, vtfDict) > File "/uefi/BaseTools/Source/Python/GenFds/Fv.py", line 115, in > AddToBuffer > FileName =3D FfsFile.GenFfs(MacroDict, FvParentAddr=3DBaseAddress) > File "/uefi/BaseTools/Source/Python/GenFds/FfsFileStatement.py", line > 156, in GenFfs > sectList, align =3D section.GenSection(OutputDir, self.NameGuid, > SecIndex, self.KeyStringList, None, Dict) > File "/uefi/BaseTools/Source/Python/GenFds/GuidSection.py", line 97, in > GenSection > ReturnSectList, align =3D Sect.GenSection(OutputPath, ModuleName, > SecIndex, KeyStringList, FfsInf, Dict) > File "/uefi/BaseTools/Source/Python/GenFds/FvImageSection.py", line 101= , > in GenSection > FvFileName =3D Fv.AddToBuffer(Buffer, self.FvAddr, MacroDict =3D Dict= ) > File "/uefi/BaseTools/Source/Python/GenFds/Fv.py", line 115, in > AddToBuffer > FileName =3D FfsFile.GenFfs(MacroDict, FvParentAddr=3DBaseAddress) > File "/uefi/BaseTools/Source/Python/GenFds/FfsInfStatement.py", line > 480, in GenFfs > InputSectList, InputSectAlignments =3D > self.__GenComplexFileSection__(Rule, FvChildAddr, FvParentAddr) > File "/uefi/BaseTools/Source/Python/GenFds/FfsInfStatement.py", line > 948, in __GenComplexFileSection__ > self.__GenUniVfrOffsetFile (VfrUniOffsetList, UniVfrOffsetFileName) > File "/uefi/BaseTools/Source/Python/GenFds/FfsInfStatement.py", line > 1052, in __GenUniVfrOffsetFile > for Item in VfrUniOffsetList: > TypeError: 'NoneType' object is not iterable >=20 > ################# >=20 >=20 > build.py... > : error 7000: Failed to execute command > GenFds -f /uefi/BroadcomPlatformPkg/NS2Pkg/NS2Pkg.fdf > --conf=3D/uefi/Conf -o /uefi/Build/NS2Pkg/DEBUG_GCC5 -t GCC5 -b DEBUG -p > /uefi/BroadcomPlatformPkg/NS2Pkg/NS2Pkg.dsc -a AARCH64 -D > "EFI_SOURCE=3D/uefi/EdkCompatibilityPkg" -D > "EDK_SOURCE=3D/uefi/EdkCompatibilityPkg" -D "TOOL_CHAIN_TAG=3DGCC5" -D > "TOOLCHAIN=3DGCC5" -D "TARGET=3DDEBUG" -D "FAMILY=3DGCC" -D > "WORKSPACE=3D/uefi" -D > "EDK_TOOLS_PATH=3D/uefi/BaseTools" -D "ARCH=3DAARCH64" -D > "ECP_SOURCE=3D/uefi/EdkCompatibilityPkg" [/uefi] >=20 > - Failed - >=20 > Please let me know if any other information is needed to identify the > reason of the error. >=20 > Thank you, > Vladimir > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel