public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* 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

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