From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw0-x22b.google.com (mail-yw0-x22b.google.com [IPv6:2607:f8b0:4002:c05::22b]) (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 ADB581A1E56 for ; Tue, 13 Sep 2016 20:20:18 -0700 (PDT) Received: by mail-yw0-x22b.google.com with SMTP id i129so2038579ywb.0 for ; Tue, 13 Sep 2016 20:20:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=q452sNP+pArLEajJBSFyIiSp0Eu252Usbh5FZg1MCTo=; b=TJ/aUe9aCoWedGaCYCL7GatApyczjik5wp1nHk+QF3YQHmoGv/BLBZcwoO8/mnL8+v cIQmSFGqnbboqicYV/CFupgPu7EjkfGcYQ/XTStZs3LLQnWTUbKmqVrVHb8TEwDT3hZz ZnpvYy4tWSARWre7H7EP5f1gIXhKN/evv84yU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=q452sNP+pArLEajJBSFyIiSp0Eu252Usbh5FZg1MCTo=; b=mjqpt7SesBhN4HcKSuvVeoQT1Cwy4xpzFQJweYT+4MekJOorn52w9j9Mi02WMIcs+z /a0hsEZXVChm3ztI8SePbH8E4Yvfn0Fj7eJoxae8GktPbhUcXowrgQSmmveJbjBfgNvW hbcGsIsixHTQ7xrCCmdzUSZ50KNL01ssMTu2vCmvrw7HYth6wammus2g183U6yYN6T1R Y3DnDbyibhxs7743S5tSMRkaCZ45HLU38shzvL0l/5FfHLgPSEOB0LzAWJ4pC+Ib/Hpm xHbrLHl5hyzp7ihJfeURsjrJot+vAqPrYg/JRYvUPcl6HndN7apyiZMOZKvyemdiTbhi 9nMA== X-Gm-Message-State: AE9vXwM3hoaN8fhyqGToXSy67J0NuuQ7uKX6G4ylFjVQswVQ4+OU9AaUvpVzZ6X6wEZReuqQu/5h7WB9z7Ae2bBV X-Received: by 10.129.87.74 with SMTP id l71mr277778ywb.96.1473823217525; Tue, 13 Sep 2016 20:20:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.95.66 with HTTP; Tue, 13 Sep 2016 20:20:16 -0700 (PDT) Received: by 10.129.95.66 with HTTP; Tue, 13 Sep 2016 20:20:16 -0700 (PDT) In-Reply-To: <4A89E2EF3DFEDB4C8BFDE51014F606A14B3E7995@shsmsx102.ccr.corp.intel.com> References: <10f6991b5b8925ea4823ad424dc70f56@mail.gmail.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14B3E7995@shsmsx102.ccr.corp.intel.com> From: Vladimir Olovyannikov Date: Tue, 13 Sep 2016 20:20:16 -0700 Message-ID: To: "Gao, Liming" Cc: "edk2-devel@lists.01.org" X-Content-Filtered-By: Mailman/MimeDel 2.1.21 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:20:19 -0000 Content-Type: text/plain; charset=UTF-8 Hi, Thanks for reply. I found the reason: I should have add the Shell application (which is actually a library) to the ShellPkg instead of trying to add it in the .fdf. Thank you, Vladimir On Sep 13, 2016 8:17 PM, "Gao, Liming" wrote: > Hi, > The below message is caused by the missing map file of the driver. In > build output directory /uefi/Build/NS2Pkg/DEBUG_GCC5, please check whether > the map file is generated for each driver. > > 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 > > > > Hello, > > > > I have just got this error building UEFI for AARCH64. > > > > Here is an excerpt from the output: > > > > Fd File Name:BL33_AP_UEFI > > > > Generate Region at Offset 0x0 > > Region Size = 0xF0000 > > Region Name = FV > > > > Generating FVMAIN_COMPACT FV > > #### > > Generating FVMAIN FV > > #################################### > > ######################################## > > ######################################## > > > > > > GenFds.py... > > : error C0DE: Tools code failure > > Please send email to edk2-devel@lists.01.org for help, attaching > > following call stack trace! > > > > 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 = FfsFile.GenFfs(MacroDict, FvParentAddr=BaseAddress) > > File "/uefi/BaseTools/Source/Python/GenFds/FfsFileStatement.py", line > > 156, in GenFfs > > sectList, align = section.GenSection(OutputDir, self.NameGuid, > > SecIndex, self.KeyStringList, None, Dict) > > File "/uefi/BaseTools/Source/Python/GenFds/GuidSection.py", line 97, > in > > GenSection > > ReturnSectList, align = Sect.GenSection(OutputPath, ModuleName, > > SecIndex, KeyStringList, FfsInf, Dict) > > File "/uefi/BaseTools/Source/Python/GenFds/FvImageSection.py", line > 101, > > in GenSection > > FvFileName = Fv.AddToBuffer(Buffer, self.FvAddr, MacroDict = Dict) > > File "/uefi/BaseTools/Source/Python/GenFds/Fv.py", line 115, in > > AddToBuffer > > FileName = FfsFile.GenFfs(MacroDict, FvParentAddr=BaseAddress) > > File "/uefi/BaseTools/Source/Python/GenFds/FfsInfStatement.py", line > > 480, in GenFfs > > InputSectList, InputSectAlignments = > > 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 > > > > ################# > > > > > > build.py... > > : error 7000: Failed to execute command > > GenFds -f /uefi/BroadcomPlatformPkg/NS2Pkg/NS2Pkg.fdf > > --conf=/uefi/Conf -o /uefi/Build/NS2Pkg/DEBUG_GCC5 -t GCC5 -b DEBUG -p > > /uefi/BroadcomPlatformPkg/NS2Pkg/NS2Pkg.dsc -a AARCH64 -D > > "EFI_SOURCE=/uefi/EdkCompatibilityPkg" -D > > "EDK_SOURCE=/uefi/EdkCompatibilityPkg" -D "TOOL_CHAIN_TAG=GCC5" -D > > "TOOLCHAIN=GCC5" -D "TARGET=DEBUG" -D "FAMILY=GCC" -D > > "WORKSPACE=/uefi" -D > > "EDK_TOOLS_PATH=/uefi/BaseTools" -D "ARCH=AARCH64" -D > > "ECP_SOURCE=/uefi/EdkCompatibilityPkg" [/uefi] > > > > - Failed - > > > > Please let me know if any other information is needed to identify the > > reason of the error. > > > > Thank you, > > Vladimir > > _______________________________________________ > > edk2-devel mailing list > > edk2-devel@lists.01.org > > https://lists.01.org/mailman/listinfo/edk2-devel >