From: Vladimir Olovyannikov <vladimir.olovyannikov@broadcom.com>
To: edk2-devel@ml01.01.org
Subject: GenFds.py error CODE: Tools code failure
Date: Tue, 13 Sep 2016 12:51:21 -0700 [thread overview]
Message-ID: <10f6991b5b8925ea4823ad424dc70f56@mail.gmail.com> (raw)
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
next reply other threads:[~2016-09-13 19:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-13 19:51 Vladimir Olovyannikov [this message]
2016-09-14 3:17 ` GenFds.py error CODE: Tools code failure Gao, Liming
2016-09-14 3:20 ` Vladimir Olovyannikov
2016-09-14 3:22 ` Gao, Liming
2016-09-14 15:05 ` Vladimir Olovyannikov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10f6991b5b8925ea4823ad424dc70f56@mail.gmail.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox