Home
last modified time | relevance | path

Searched refs:EdkLogger (Results 1 – 25 of 82) sorted by relevance

1234

/device/linaro/bootloader/edk2/BaseTools/Source/Python/BPDG/
DBPDG.py28 from Common import EdkLogger
51 EdkLogger.Initialize()
57 EdkLogger.SetLevel(EdkLogger.VERBOSE)
59 EdkLogger.SetLevel(EdkLogger.QUIET)
61 EdkLogger.SetLevel(Options.debug_level + 1)
63 EdkLogger.SetLevel(EdkLogger.INFO)
66EdkLogger.error("BPDG", ATTRIBUTE_NOT_AVAILABLE, "Please use the -o option to specify the file nam…
68EdkLogger.error("BPDG", ATTRIBUTE_NOT_AVAILABLE, "Please use the -m option to specify the file nam…
77EdkLogger.error("BPDG", ATTRIBUTE_NOT_AVAILABLE, "Please specify the file which contain the VPD pc…
114 EdkLogger.info("Please specify the filename.txt file which contain the VPD pcd info!")
[all …]
DGenVpd.py23 import Common.EdkLogger as EdkLogger namespace
51 EdkLogger.error("BPDG", BuildToolError.FORMAT_INVALID,
55 EdkLogger.error("BPDG", BuildToolError.FORMAT_INVALID,
59 EdkLogger.error("BPDG", BuildToolError.FORMAT_INVALID,
94 EdkLogger.error("BPDG", BuildToolError.FORMAT_INVALID,
107 EdkLogger.error("BPDG", BuildToolError.FORMAT_INVALID,
113 EdkLogger.error("BPDG", BuildToolError.FORMAT_INVALID,
123 EdkLogger.error("BPDG", BuildToolError.FORMAT_INVALID,
128 EdkLogger.error("BPDG", BuildToolError.FORMAT_INVALID,
131 EdkLogger.error("BPDG", BuildToolError.FORMAT_INVALID,
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/
DGenDepex.py25 from Common import EdkLogger as EdkLogger unknown
144 EdkLogger.debug(EdkLogger.DEBUG_8, repr(self))
147 EdkLogger.debug(EdkLogger.DEBUG_8, "\n Optimized: " + repr(self))
172EdkLogger.error("GenDepex", PARSER_ERROR, "Invalid dependency expression: missing operator before …
177EdkLogger.error("GenDepex", PARSER_ERROR, "Invalid dependency expression: mismatched parentheses",
180EdkLogger.error("GenDepex", PARSER_ERROR, "Invalid dependency expression: missing operand before c…
190EdkLogger.error("GenDepex", PARSER_ERROR, "Invalid dependency expression: missing operator before …
193EdkLogger.error("GenDepex", PARSER_ERROR, "Invalid dependency expression: missing operand before "…
206EdkLogger.error("GenDepex", PARSER_ERROR, "Invalid dependency expression: missing operator before …
217 EdkLogger.error("GenDepex", PARSER_ERROR,
[all …]
DIdfClassObject.py16 import Common.EdkLogger as EdkLogger namespace
80EdkLogger.error("Image Definition File Parser", PARSER_ERROR, 'No Image definition file is given.')
88 EdkLogger.error("build", FILE_OPEN_FAILURE, ExtraData=File)
99EdkLogger.error("Image Definition File Parser", PARSER_ERROR, 'The %s in Line %s of File %s is inv…
105EdkLogger.error("Image Definition File Parser", PARSER_ERROR, 'The format is not match #image IMAG…
107EdkLogger.error("Image Definition File Parser", PARSER_ERROR, 'Please use the keyword "TRANSPARENT…
110EdkLogger.error('Image Definition File Parser', FORMAT_INVALID, 'The Image token name %s defined …
114EdkLogger.error("Image Definition File Parser", PARSER_ERROR, 'The %s in Line %s of File %s is alr…
149 EdkLogger.debug(EdkLogger.DEBUG_5, "Found ImageID identifier: " + ID)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Table/
DTable.py17 import Common.EdkLogger as EdkLogger namespace
41 EdkLogger.verbose(SqlCommand + " ... DONE!")
55 EdkLogger.verbose("\nQuery tabel %s started ..." % self.Table)
59 EdkLogger.verbose(str(Rs))
62 EdkLogger.verbose("*** Total %s records in table %s ***" % (TotalCount, self.Table) )
63 EdkLogger.verbose("Query tabel %s DONE!" % self.Table)
72 EdkLogger.verbose("Drop tabel %s ... DONE!" % self.Table)
116 EdkLogger.debug(4, "SqlCommand: %s" % SqlCommand)
119 EdkLogger.debug(4, "RecordSet: %s" % RecordSet)
DTableDataModel.py17 import Common.EdkLogger as EdkLogger namespace
73 EdkLogger.verbose("\nInitialize table DataModel started ...")
79 EdkLogger.verbose("Initialize table DataModel ... DONE!")
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Trim/
DTrim.py26 import Common.EdkLogger as EdkLogger namespace
144 EdkLogger.error("Trim", FILE_OPEN_FAILURE, ExtraData=Source)
181 EdkLogger.verbose("Found original file content starting from line %d"
196 EdkLogger.verbose("Got line directive: line=%d" % LineNumber)
207 EdkLogger.verbose("Now we have lines: %d" % len(NewLines))
246 EdkLogger.error("Trim", FILE_OPEN_FAILURE, ExtraData=Target)
264 EdkLogger.error("Trim", FILE_OPEN_FAILURE, ExtraData=Source)
313 EdkLogger.error("Trim", FILE_OPEN_FAILURE, ExtraData=Target)
344 EdkLogger.error("Trim", "Failed to find include file %s" % Source)
346 EdkLogger.error("Trim", FILE_OPEN_FAILURE, ExtraData=Source)
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/PatchPcdValue/
DPatchPcdValue.py25 import Common.EdkLogger as EdkLogger namespace
222 … make_option("-v", "--verbose", dest="LogLevel", action="store_const", const=EdkLogger.VERBOSE,
226 make_option("-q", "--quiet", dest="LogLevel", action="store_const", const=EdkLogger.QUIET,
235 Parser.set_defaults(LogLevel=EdkLogger.INFO)
241 EdkLogger.error("PatchPcdValue", PARAMETER_INVALID, ExtraData=Parser.get_usage())
260 EdkLogger.Initialize()
262 if CommandOptions.LogLevel < EdkLogger.DEBUG_9:
263 EdkLogger.SetLevel(CommandOptions.LogLevel + 1)
265 EdkLogger.SetLevel(CommandOptions.LogLevel)
267 EdkLogger.error("PatchPcdValue", FILE_NOT_FOUND, ExtraData=InputFile)
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/
DEcc.py18 import Common.EdkLogger as EdkLogger namespace
68 EdkLogger.info(time.strftime("%H:%M:%S, %b.%d %Y ", time.localtime()) + "[00:00]" + "\n")
108 EdkLogger.info("Loading ECC configuration ... done")
160EdkLogger.error("ECC", BuildToolError.OPTION_VALUE_INVALID, ExtraData="Use -f option need to fill …
177 EdkLogger.quiet("Building database for Meta Data File ...")
180 EdkLogger.quiet("Building database for Meta Data File Done!")
203 EdkLogger.quiet("Building database for meta data files ...")
226 EdkLogger.quiet("Parsing %s" % Filename)
234 EdkLogger.quiet("Parsing %s" % Filename)
245 EdkLogger.quiet("Parsing %s" % Filename)
[all …]
DDatabase.py20 import Common.EdkLogger as EdkLogger namespace
75 EdkLogger.verbose("\nInitialize ECC database started ...")
133 EdkLogger.verbose("Initialize ECC database ... DONE!")
212 EdkLogger.verbose("Insert information from file %s ... DONE!" % File.FullPath)
220 EdkLogger.verbose("Update 'BelongsToFunction' for Identifiers started ...")
223 EdkLogger.debug(4, "SqlCommand: %s" %SqlCommand)
236 EdkLogger.debug(4, "For common identifiers ... ")
240 EdkLogger.debug(4, "SqlCommand: %s" %SqlCommand)
245 EdkLogger.debug(4, "SqlCommand: %s" %SqlCommand)
251 EdkLogger.debug(4, "For function headers ... ")
[all …]
DCheck.py48 EdkLogger.quiet("Checking whether UNI file is UTF-16 ...")
66 EdkLogger.quiet("Checking Non-ACSII char in file ...")
112 EdkLogger.quiet("Checking function layout return type ...")
125 EdkLogger.quiet("Checking function layout modifier ...")
139 EdkLogger.quiet("Checking function layout function name ...")
152 EdkLogger.quiet("Checking function layout function prototype ...")
161 EdkLogger.quiet("[PROTOTYPE]" + FullName)
167 EdkLogger.quiet("Checking function layout function body ...")
182 EdkLogger.quiet("Checking function layout local variables ...")
210 EdkLogger.quiet("Checking Declaration No use C type ...")
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DVpdInfoFile.py20 import Common.EdkLogger as EdkLogger namespace
92EdkLogger.error("VpdInfoFile", BuildToolError.ATTRIBUTE_UNKNOWN_ERROR, "Invalid VPD PCD entry.")
95EdkLogger.error("VpdInfoFile", BuildToolError.PARAMETER_INVALID, "Invalid offset parameter: %s." %…
99 EdkLogger.error("VpdInfoFile", BuildToolError.PARAMETER_INVALID,
105 EdkLogger.error("VpdInfoFile", BuildToolError.PARAMETER_INVALID,
127 EdkLogger.error("VpdInfoFile", BuildToolError.PARAMETER_INVALID,
160 EdkLogger.error("VpdInfoFile",
177EdkLogger.error("BPDG", BuildToolError.PARSER_ERROR, "Fail to parse VPD information file %s" % Fil…
190EdkLogger.error("BPDG", BuildToolError.FORMAT_INVALID, "The offset of %s has not been fixed up by …
194EdkLogger.error("BPDG", BuildToolError.PARSER_ERROR, "Can not find PCD defined in VPD guid file.")
[all …]
DDatabase.py20 import EdkLogger as EdkLogger namespace
65 EdkLogger.verbose("\nInitialize ECC database started ...")
86 EdkLogger.verbose("Initialize ECC database ... DONE!")
111 EdkLogger.Initialize()
112 EdkLogger.SetLevel(EdkLogger.DEBUG_0)
DToolDefClassObject.py19 import EdkLogger
119 EdkLogger.error("tools_def.txt parser", FILE_OPEN_FAILURE, ExtraData=FileName)
121 EdkLogger.error("tools_def.txt parser", FILE_NOT_FOUND, ExtraData=FileName)
132 EdkLogger.error("tools_def.txt parser", ATTRIBUTE_NOT_AVAILABLE,
155EdkLogger.error("tools_def.txt parser", FILE_NOT_FOUND, ExtraData=IncFile)
167EdkLogger.warn("tools_def.txt parser", "Line %d: not correct assignment statement, skipped" % (Ind…
174EdkLogger.debug(EdkLogger.DEBUG_8, "Line %d: Found identifier statement, skipped: %s" % ((Index + …
181 EdkLogger.error("tools_def.txt parser", ATTRIBUTE_NOT_AVAILABLE,
187EdkLogger.debug(EdkLogger.DEBUG_8, "Line %d: Found macro: %s = %s" % ((Index + 1), MacroName, Valu…
192 EdkLogger.error("tools_def.txt parser", ATTRIBUTE_NOT_AVAILABLE,
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
DEot.py18 import Common.EdkLogger as EdkLogger namespace
76EdkLogger.error("EOT", BuildToolError.ATTRIBUTE_NOT_AVAILABLE, "Environment variable not found",
93 EdkLogger.error("Eot", EdkLogger.EOT_ERROR, "Can not find file %s " % FvFile)
96EdkLogger.error("Eot", EdkLogger.EOT_ERROR, "The fv file list of target platform was not specified…
102 EdkLogger.error("Eot", EdkLogger.EOT_ERROR, "Can not find file %s " % MapFile)
143 EdkLogger.quiet("EOT FINISHED!")
236 EdkLogger.quiet("Generating source files list ... ")
294 EdkLogger.quiet("Generating report file ... ")
306 EdkLogger.quiet("Parsing Map file ... ")
316 EdkLogger.quiet("Parsing FV file ... ")
[all …]
DDatabase.py20 import Common.EdkLogger as EdkLogger namespace
76 EdkLogger.verbose("\nInitialize EOT database started ...")
136 EdkLogger.verbose("Initialize EOT database ... DONE!")
197 EdkLogger.verbose("Insert information from file %s ... DONE!" % File.FullPath)
206 EdkLogger.verbose("Update 'BelongsToFunction' for Identifiers started ...")
233 EdkLogger.Initialize()
234 EdkLogger.SetLevel(EdkLogger.DEBUG_0)
235 EdkLogger.verbose("Start at " + time.strftime('%H:%M:%S', time.localtime()))
254 EdkLogger.verbose("End at " + time.strftime('%H:%M:%S', time.localtime()))
DInfParserLite.py18 import Common.EdkLogger as EdkLogger namespace
136EdkLogger.error("Parser", PARSER_ERROR, "Different section names '%s' and '%s' are found in one se…
160 EdkLogger.Initialize()
161 EdkLogger.SetLevel(EdkLogger.QUIET)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/build/
Dbuild.py51 import Common.EdkLogger
99 EdkLogger.error("build", ATTRIBUTE_NOT_AVAILABLE, "Environment variable not found",
104EdkLogger.error("build", FILE_NOT_FOUND, "WORKSPACE doesn't exist", ExtraData="%s" % WorkspaceDir)
106 EdkLogger.error("build", FORMAT_NOT_SUPPORTED, "No space is allowed in WORKSPACE path",
116EdkLogger.error("build", FILE_NOT_FOUND, "One Path in PACKAGES_PATH doesn't exist", ExtraData="%s"…
118EdkLogger.error("build", FORMAT_NOT_SUPPORTED, "No space is allowed in PACKAGES_PATH", ExtraData=P…
143EdkLogger.verbose("ECP_SOURCE = %s doesn't exist. Edk modules could not be built." % EcpSourceDir)
145 EdkLogger.error("build", FORMAT_NOT_SUPPORTED, "No space is allowed in ECP_SOURCE path",
149EdkLogger.verbose("EDK_SOURCE = %s doesn't exist. Edk modules could not be built." % EdkSourceDir)
151 EdkLogger.error("build", PARAMETER_INVALID, "EDK_SOURCE does not exist",
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/MetaFileWorkspace/
DMetaDataTable.py19 import Common.EdkLogger as EdkLogger namespace
64 EdkLogger.debug(EdkLogger.DEBUG_8, SqlCommand)
78 EdkLogger.debug(EdkLogger.DEBUG_5, SqlCommand)
90 EdkLogger.verbose(str(Rs))
139 EdkLogger.debug(EdkLogger.DEBUG_5, SqlCommand)
192 EdkLogger.verbose("\nInitialize table DataModel started ...")
201 EdkLogger.verbose("Initialize table DataModel ... DONE!")
DMetaFileParser.py22 import Common.EdkLogger as EdkLogger namespace
51 EdkLogger.error('Parser', FORMAT_INVALID, "No macro name given",
60EdkLogger.error('Parser', FORMAT_INVALID, "%s can only be defined via environment variable" % Name,
64EdkLogger.error('Parser', FORMAT_INVALID, "The macro name must be in the pattern [A-Z][A-Z0-9_]*",
87 EdkLogger.error('Parser', FORMAT_INVALID, "EDK_GLOBAL can only be used in .dsc file",
90EdkLogger.error('Parser', FORMAT_INVALID, "EDK_GLOBAL can only be used under [Defines] section",
93EdkLogger.error('Parser', FORMAT_INVALID, "EDK_GLOBAL defined a macro with the same name and diffe…
274 EdkLogger.warn("Parser", "Unrecognized content", File=self.MetaFile,
294EdkLogger.error('Parser', FORMAT_INVALID, "Different section names in the same section",
301 EdkLogger.warn("Parser", "Unrecognized section", File=self.MetaFile,
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
DRegion.py25 from Common import EdkLogger
98 EdkLogger.error("GenFds", FILE_NOT_FOUND, ExtraData=RegionData)
121 EdkLogger.error("GenFds", GENFDS_ERROR,
130 EdkLogger.error("GenFds", GENFDS_ERROR,
141EdkLogger.error("GenFds", GENFDS_ERROR, "FV (%s) is NOT described in FDF file!" % (RegionData))
148 EdkLogger.error("GenFds", GENFDS_ERROR,
171 EdkLogger.error("GenFds", FILE_NOT_FOUND, ExtraData=RegionData)
194EdkLogger.error("GenFds", GENFDS_ERROR, "Capsule (%s) is NOT described in FDF file!" % (RegionData…
201 EdkLogger.error("GenFds", GENFDS_ERROR,
218EdkLogger.error('GenFds', GENFDS_ERROR, 'INF in FD region can only contain one binary: %s' % Regio…
[all …]
DGenFds.py35 from Common import EdkLogger
68 EdkLogger.Initialize()
71 EdkLogger.SetLevel(EdkLogger.VERBOSE)
78 EdkLogger.SetLevel(EdkLogger.QUIET)
80 EdkLogger.SetLevel(Options.debug + 1)
83 EdkLogger.SetLevel(EdkLogger.INFO)
86 EdkLogger.error("GenFds", OPTION_MISSING, "WORKSPACE not defined",
89 EdkLogger.error("GenFds", PARAMETER_INVALID, "WORKSPACE is invalid",
113 EdkLogger.error("GenFds", FILE_NOT_FOUND, ExtraData=FdfFilename)
118 EdkLogger.error("GenFds", OPTION_MISSING, "Missing FDF filename")
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Workspace/
DMetaDataTable.py19 import Common.EdkLogger as EdkLogger namespace
64 EdkLogger.debug(EdkLogger.DEBUG_8, SqlCommand)
78 EdkLogger.debug(EdkLogger.DEBUG_5, SqlCommand)
90 EdkLogger.verbose(str(Rs))
136 EdkLogger.debug(EdkLogger.DEBUG_5, SqlCommand)
312 EdkLogger.verbose("\nInitialize table DataModel started ...")
321 EdkLogger.verbose("Initialize table DataModel ... DONE!")
DMetaFileParser.py23 import Common.EdkLogger as EdkLogger namespace
49 EdkLogger.error('Parser', FORMAT_INVALID, "No macro name given",
58EdkLogger.error('Parser', FORMAT_INVALID, "%s can only be defined via environment variable" % Name,
62EdkLogger.error('Parser', FORMAT_INVALID, "The macro name must be in the pattern [A-Z][A-Z0-9_]*",
90 EdkLogger.error('Parser', FORMAT_INVALID, "EDK_GLOBAL can only be used in .dsc file",
93EdkLogger.error('Parser', FORMAT_INVALID, "EDK_GLOBAL can only be used under [Defines] section",
96EdkLogger.error('Parser', FORMAT_INVALID, "EDK_GLOBAL defined a macro with the same name and diffe…
277 EdkLogger.warn("Parser", "Unrecognized content", File=self.MetaFile,
301EdkLogger.error('Parser', FORMAT_INVALID, "Different section names in the same section",
308EdkLogger.error("Parser", FORMAT_UNKNOWN_ERROR, "%s is not a valid section name" % Item,
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/
DUniClassObject.py24 from Logger import Log as EdkLogger unknown
152 EdkLogger.Error("Unicode File Parser",
171 EdkLogger.Error("Unicode File Parser",
195 EdkLogger.Error("Unicode File Parser",
216 EdkLogger.Error("Unicode File Parser",
337 EdkLogger.Error("Unicode File Parser",
342 EdkLogger.Error("Unicode File Parser",
399 EdkLogger.Error("Unicode File Parser",
428 EdkLogger.Error("Unicode File Parser",
446 EdkLogger.Error("Unicode File Parser", ToolError.FILE_OPEN_FAILURE, ExtraData=File.Path)
[all …]

1234