* GenFds.py error CODE: Tools code failure @ 2016-09-13 19:51 Vladimir Olovyannikov 2016-09-14 3:17 ` Gao, Liming 0 siblings, 1 reply; 5+ messages in thread From: Vladimir Olovyannikov @ 2016-09-13 19:51 UTC (permalink / raw) To: edk2-devel 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/GenFds.p y", line 307, in main GenFds.GenFd('', FdfParserObj, BuildWorkSpace, ArchList) File "/uefi/BaseTools/BinWrappers/PosixLike/../../Source/Python/GenFds/GenFds.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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: GenFds.py error CODE: Tools code failure 2016-09-13 19:51 GenFds.py error CODE: Tools code failure Vladimir Olovyannikov @ 2016-09-14 3:17 ` Gao, Liming 2016-09-14 3:20 ` Vladimir Olovyannikov 0 siblings, 1 reply; 5+ messages in thread From: Gao, Liming @ 2016-09-14 3:17 UTC (permalink / raw) To: Vladimir Olovyannikov, edk2-devel@ml01.01.org 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: GenFds.py error CODE: Tools code failure 2016-09-14 3:17 ` Gao, Liming @ 2016-09-14 3:20 ` Vladimir Olovyannikov 2016-09-14 3:22 ` Gao, Liming 0 siblings, 1 reply; 5+ messages in thread From: Vladimir Olovyannikov @ 2016-09-14 3:20 UTC (permalink / raw) To: Gao, Liming; +Cc: edk2-devel@lists.01.org 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" <liming.gao@intel.com> 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 > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: GenFds.py error CODE: Tools code failure 2016-09-14 3:20 ` Vladimir Olovyannikov @ 2016-09-14 3:22 ` Gao, Liming 2016-09-14 15:05 ` Vladimir Olovyannikov 0 siblings, 1 reply; 5+ messages in thread From: Gao, Liming @ 2016-09-14 3:22 UTC (permalink / raw) To: Vladimir Olovyannikov; +Cc: edk2-devel@lists.01.org Vladimir: You add one library INF into FDF file, then cause this issue? Thanks Liming From: Vladimir Olovyannikov [mailto:vladimir.olovyannikov@broadcom.com] Sent: Wednesday, September 14, 2016 11:20 AM To: Gao, Liming <liming.gao@intel.com> Cc: edk2-devel@lists.01.org <edk2-devel@ml01.01.org> Subject: RE: [edk2] GenFds.py error CODE: Tools code failure 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" <liming.gao@intel.com<mailto:liming.gao@intel.com>> 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<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<mailto: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<mailto: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<mailto:edk2-devel@lists.01.org> > https://lists.01.org/mailman/listinfo/edk2-devel ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: GenFds.py error CODE: Tools code failure 2016-09-14 3:22 ` Gao, Liming @ 2016-09-14 15:05 ` Vladimir Olovyannikov 0 siblings, 0 replies; 5+ messages in thread From: Vladimir Olovyannikov @ 2016-09-14 15:05 UTC (permalink / raw) To: Gao, Liming; +Cc: edk2-devel@lists.01.org Hi Liming, Exactly. I added the .inf file for the shell application I worked on, thinking that it would be an .efi file, and only later I recognized it should actually be a Shell library (I derived from tftp command source as an example)… Thank you, Vladimir *From:* Gao, Liming [mailto:liming.gao@intel.com] *Sent:* Tuesday, September 13, 2016 8:23 PM *To:* Vladimir Olovyannikov *Cc:* edk2-devel@lists.01.org *Subject:* RE: [edk2] GenFds.py error CODE: Tools code failure Vladimir: You add one library INF into FDF file, then cause this issue? Thanks Liming *From:* Vladimir Olovyannikov [mailto:vladimir.olovyannikov@broadcom.com] *Sent:* Wednesday, September 14, 2016 11:20 AM *To:* Gao, Liming <liming.gao@intel.com> *Cc:* edk2-devel@lists.01.org <edk2-devel@ml01.01.org> *Subject:* RE: [edk2] GenFds.py error CODE: Tools code failure 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" <liming.gao@intel.com> 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-09-14 15:05 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-09-13 19:51 GenFds.py error CODE: Tools code failure Vladimir Olovyannikov 2016-09-14 3:17 ` Gao, Liming 2016-09-14 3:20 ` Vladimir Olovyannikov 2016-09-14 3:22 ` Gao, Liming 2016-09-14 15:05 ` Vladimir Olovyannikov
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox