HomeSort by relevance Sort by last modified time
    Searched refs:GenFdsGlobalVariable (Results 1 - 25 of 25) sorted by null

  /device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
OptRomFileStatement.py 20 from GenFdsGlobalVariable import GenFdsGlobalVariable
45 self.FileName = GenFdsGlobalVariable.ReplaceWorkspaceMacro(self.FileName)
GenFdsGlobalVariable.py 39 class GenFdsGlobalVariable:
92 if GenFdsGlobalVariable.__BuildRuleDatabase:
93 return GenFdsGlobalVariable.__BuildRuleDatabase
94 BuildConfigurationFile = os.path.normpath(os.path.join(GenFdsGlobalVariable.ConfDir, "target.txt"))
102 GenFdsGlobalVariable.__BuildRuleDatabase = BuildRule(BuildRuleFile)
111 and GenFdsGlobalVariable.ToolChainTag in ToolDefinition[DataType.TAB_TOD_DEFINES_BUILDRULEFAMILY] \
112 and ToolDefinition[DataType.TAB_TOD_DEFINES_BUILDRULEFAMILY][GenFdsGlobalVariable.ToolChainTag]:
113 GenFdsGlobalVariable.BuildRuleFamily = ToolDefinition[DataType.TAB_TOD_DEFINES_BUILDRULEFAMILY][GenFdsGlobalVariable.ToolChainTag]
116 and GenFdsGlobalVariable.ToolChainTag in ToolDefinition[DataType.TAB_TOD_DEFINES_FAMILY] \
    [all...]
GenFds.py 24 from GenFdsGlobalVariable import GenFdsGlobalVariable
72 GenFdsGlobalVariable.VerboseMode = True
75 GenFdsGlobalVariable.FixedLoadAddress = True
81 GenFdsGlobalVariable.DebugLevel = Options.debug
93 GenFdsGlobalVariable.WorkSpaceDir = Workspace
95 GenFdsGlobalVariable.EdkSourceDir = os.path.normcase(os.environ['EDK_SOURCE'])
97 GenFdsGlobalVariable.VerboseLogger("Using Workspace:" + Workspace)
98 os.chdir(GenFdsGlobalVariable.WorkSpaceDir)
102 mws.setWs(GenFdsGlobalVariable.WorkSpaceDir, PackagesPath)
    [all...]
AprioriSection.py 22 from GenFdsGlobalVariable import GenFdsGlobalVariable
57 OutputAprFilePath = os.path.join (GenFdsGlobalVariable.WorkSpaceDir, \
58 GenFdsGlobalVariable.FfsDir,\
79 InfFileName = GenFdsGlobalVariable.MacroExtend(InfFileName, Dict, Arch)
82 Inf = GenFdsGlobalVariable.WorkSpace.BuildObject[PathClass(InfFileName, GenFdsGlobalVariable.WorkSpaceDir), Arch, GenFdsGlobalVariable.TargetName, GenFdsGlobalVariable.ToolChainTag]
86 Inf = GenFdsGlobalVariable.WorkSpace.BuildObject[PathClass(InfFileName, GenFdsGlobalVariable.WorkSpaceDir), 'COMMON', GenFdsG (…)
    [all...]
DataSection.py 19 from GenFdsGlobalVariable import GenFdsGlobalVariable
56 self.SectFileName = GenFdsGlobalVariable.ReplaceWorkspaceMacro(self.SectFileName)
57 self.SectFileName = GenFdsGlobalVariable.MacroExtend(self.SectFileName, Dict, FfsFile.CurrentArch)
59 self.SectFileName = GenFdsGlobalVariable.ReplaceWorkspaceMacro(self.SectFileName)
60 self.SectFileName = GenFdsGlobalVariable.MacroExtend(self.SectFileName, Dict)
65 self.SectFileName = os.path.join (GenFdsGlobalVariable.WorkSpaceDir,
69 Filename = GenFdsGlobalVariable.MacroExtend(self.SectFileName)
96 GenFdsGlobalVariable.GenerateFirmwareImage(
98 [GenFdsGlobalVariable.MacroExtend(self.SectFileName, Dict)],
    [all...]
DepexSection.py 19 from GenFdsGlobalVariable import GenFdsGlobalVariable
41 for Arch in GenFdsGlobalVariable.ArchList:
42 PkgList = GenFdsGlobalVariable.WorkSpace.GetPackageList(GenFdsGlobalVariable.ActivePlatform,
44 GenFdsGlobalVariable.TargetName,
45 GenFdsGlobalVariable.ToolChainTag)
46 for Inf in GenFdsGlobalVariable.FdfParser.Profile.InfList:
47 ModuleFile = PathClass(Inf, GenFdsGlobalVariable.WorkSpaceDir)
48 ModuleData = GenFdsGlobalVariable.WorkSpace.BuildObject[
    [all...]
Vtf.py 18 from GenFdsGlobalVariable import GenFdsGlobalVariable
46 OutputFile = os.path.join(GenFdsGlobalVariable.FvDir, self.UiName + '.Vtf')
56 GenFdsGlobalVariable.CallExternalTool(Cmd, "GenFv -Vtf Failed!")
57 GenFdsGlobalVariable.SharpCounter = 0
69 self.BsfInfName = os.path.join(GenFdsGlobalVariable.FvDir, self.UiName + '.inf')
75 GenFdsGlobalVariable.MacroExtend(GenFdsGlobalVariable.ReplaceWorkspaceMacro(self.ResetBin)) + \
125 BinPath = GenFdsGlobalVariable.MacroExtend(GenFdsGlobalVariable.ReplaceWorkspaceMacro(BinPath))
    [all...]
UiSection.py 22 from GenFdsGlobalVariable import GenFdsGlobalVariable
65 FileNameStr = GenFdsGlobalVariable.ReplaceWorkspaceMacro(self.FileName)
66 FileNameStr = GenFdsGlobalVariable.MacroExtend(FileNameStr, Dict)
74 GenFdsGlobalVariable.GenerateSection(OutputFile, None, 'EFI_SECTION_USER_INTERFACE', Ui=NameString)
OptionRom.py 23 from GenFdsGlobalVariable import GenFdsGlobalVariable
54 GenFdsGlobalVariable.InfLogger( "\nGenerating %s Option ROM ..." %self.DriverName)
70 TmpOutputDir = os.path.join(GenFdsGlobalVariable.FvDir, self.DriverName, FfsFile.CurrentArch)
75 GenFdsGlobalVariable.GenerateOptionRom(TmpOutputFile,
88 TmpOutputDir = os.path.join(GenFdsGlobalVariable.FvDir, self.DriverName, FfsFile.CurrentArch)
93 GenFdsGlobalVariable.GenerateOptionRom(TmpOutputFile,
111 OutputFile = os.path.join(GenFdsGlobalVariable.FvDir, self.DriverName)
114 GenFdsGlobalVariable.GenerateOptionRom(
120 GenFdsGlobalVariable.InfLogger( "\nGenerate %s Option ROM Successfully" %self.DriverName)
    [all...]
Fv.py 25 from GenFdsGlobalVariable import GenFdsGlobalVariable
78 for FdName in GenFdsGlobalVariable.FdfParser.Profile.FdDict.keys():
79 FdObj = GenFdsGlobalVariable.FdfParser.Profile.FdDict[FdName]
88 GenFdsGlobalVariable.ErrorLogger("Capsule %s in FD region can't contain a FV %s in FD region." % (self.CapsuleName, self.UiFvName.upper()))
90 GenFdsGlobalVariable.InfLogger( "\nGenerating %s FV" %self.UiFvName)
91 GenFdsGlobalVariable.LargeFileInFvFlags.append(False)
103 GenFdsGlobalVariable.VerboseLogger('First generate Apriori file !')
126 FvOutputFile = os.path.join(GenFdsGlobalVariable.FvDir, self.UiFvName)
132 FvInfoFileName = os.path.join(GenFdsGlobalVariable.FfsDir, self.UiFvName + '.inf')
    [all...]
FfsFileStatement.py 24 from GenFdsGlobalVariable import GenFdsGlobalVariable
63 PcdValue = GenFdsGlobalVariable.GetPcdValue(self.NameGuid)
75 OutputDir = os.path.join(GenFdsGlobalVariable.FfsDir, self.NameGuid)
83 if self.FvName.upper() not in GenFdsGlobalVariable.FdfParser.Profile.FvDict.keys():
85 Fv = GenFdsGlobalVariable.FdfParser.Profile.FvDict.get(self.FvName.upper())
90 if self.FdName.upper() not in GenFdsGlobalVariable.FdfParser.Profile.FdDict.keys():
92 Fd = GenFdsGlobalVariable.FdfParser.Profile.FdDict.get(self.FdName.upper())
106 GenFdsGlobalVariable.ErrorLogger("Error opening RAW file %s." % (File))
111 AlignValue = GenFdsGlobalVariable.GetAlignment(self.SubAlignment[Index])
    [all...]
VerSection.py 22 from GenFdsGlobalVariable import GenFdsGlobalVariable
70 FileNameStr = GenFdsGlobalVariable.ReplaceWorkspaceMacro(self.FileName)
71 FileNameStr = GenFdsGlobalVariable.MacroExtend(FileNameStr, Dict)
79 GenFdsGlobalVariable.GenerateSection(OutputFile, [], 'EFI_SECTION_VERSION',
GuidSection.py 22 from GenFdsGlobalVariable import GenFdsGlobalVariable
62 self.CurrentArchList = GenFdsGlobalVariable.ArchList
105 if GenFdsGlobalVariable.GetAlignment (align) > GenFdsGlobalVariable.GetAlignment (MaxAlign):
118 if GenFdsGlobalVariable.GetAlignment (MaxAlign) > GenFdsGlobalVariable.GetAlignment (self.Alignment):
139 GenFdsGlobalVariable.VerboseLogger("Use GenSection function Generate CRC32 Section")
140 GenFdsGlobalVariable.GenerateSection(OutputFile, SectFile, Section.Section.SectionType[self.SectionType], InputAlign=SectAlign)
152 GenFdsGlobalVariable.GenerateSection(DummyFile, SectFile, InputAlign=SectAlign)
    [all...]
Region.py 19 from GenFdsGlobalVariable import GenFdsGlobalVariable
79 GenFdsGlobalVariable.InfLogger('\nGenerate Region at Offset 0x%X' % self.Offset)
80 GenFdsGlobalVariable.InfLogger(" Region Size = 0x%X" % Size)
81 GenFdsGlobalVariable.SharpCounter = 0
93 RegionData = GenFdsGlobalVariable.MacroExtend(RegionData, MacroDict)
94 GenFdsGlobalVariable.InfLogger(' Region FV File Name = .fv : %s' % RegionData)
96 RegionData = mws.join (GenFdsGlobalVariable.WorkSpaceDir, RegionData)
102 GenFdsGlobalVariable.InfLogger(' Region Name = FV')
109 if RegionData.upper() in GenFdsGlobalVariable.FdfParser.Profile.FvDict.keys():
    [all...]
EfiSection.py 20 from GenFdsGlobalVariable import GenFdsGlobalVariable
59 self.FileName = GenFdsGlobalVariable.GetPcdValue(self.FileName)
83 Filename = GenFdsGlobalVariable.MacroExtend(Filename, Dict)
121 GenFdsGlobalVariable.GenerateSection(OutputFile, [], 'EFI_SECTION_VERSION',
137 GenFdsGlobalVariable.GenerateSection(OutputFile, [], 'EFI_SECTION_VERSION',
153 GenFdsGlobalVariable.VerboseLogger( "Optional Section don't exist!")
159 GenFdsGlobalVariable.GenerateSection(OutputFile, [], 'EFI_SECTION_VERSION',
177 GenFdsGlobalVariable.GenerateSection(OutputFile, [], 'EFI_SECTION_USER_INTERFACE',
189 GenFdsGlobalVariable.GenerateSection(OutputFile, [], 'EFI_SECTION_USER_INTERFACE',
    [all...]
Capsule.py 18 from GenFdsGlobalVariable import GenFdsGlobalVariable
151 ExternalTool, ExternalOption = FindExtendTool([], GenFdsGlobalVariable.ArchList, fmp.Certificate_Guid)
155 CapInputFile = os.path.join(GenFdsGlobalVariable.WorkSpaceDir, fmp.ImageFile)
156 CapOutputTmp = os.path.join(GenFdsGlobalVariable.FvDir, self.UiCapsuleName) + '.tmp'
165 GenFdsGlobalVariable.CallExternalTool(CmdList, "Failed to generate FMP auth capsule")
189 CapOutputFile = os.path.join(GenFdsGlobalVariable.FvDir, self.UiCapsuleName) + '.Cap'
202 GenFdsGlobalVariable.InfLogger( "\nGenerate %s Capsule" %self.UiCapsuleName)
223 CapOutputFile = os.path.join(GenFdsGlobalVariable.FvDir, self.UiCapsuleName)
225 GenFdsGlobalVariable.GenerateFirmwareVolume(
    [all...]
CapsuleData.py 19 from GenFdsGlobalVariable import GenFdsGlobalVariable
83 if self.FvName.upper() in GenFdsGlobalVariable.FdfParser.Profile.FvDict.keys():
84 FvObj = GenFdsGlobalVariable.FdfParser.Profile.FvDict.get(self.FvName.upper())
92 FvFile = GenFdsGlobalVariable.ReplaceWorkspaceMacro(self.FvName)
115 if self.FdName.upper() in GenFdsGlobalVariable.FdfParser.Profile.FdDict.keys():
116 FdObj = GenFdsGlobalVariable.FdfParser.Profile.FdDict.get(self.FdName.upper())
120 FdFile = GenFdsGlobalVariable.ReplaceWorkspaceMacro(self.FdName)
FvImageSection.py 22 from GenFdsGlobalVariable import GenFdsGlobalVariable
78 GenFdsGlobalVariable.GenerateSection(OutputFile, [FvFileName], 'EFI_SECTION_FIRMWARE_VOLUME_IMAGE')
98 Fv = GenFdsGlobalVariable.FdfParser.Profile.FvDict.get(self.FvName)
106 if GenFdsGlobalVariable.GetAlignment (Fv.FvAlignment) > GenFdsGlobalVariable.GetAlignment (self.Alignment):
110 FvFileName = GenFdsGlobalVariable.ReplaceWorkspaceMacro(self.FvFileName)
136 GenFdsGlobalVariable.GenerateSection(OutputFile, [FvFileName], 'EFI_SECTION_FIRMWARE_VOLUME_IMAGE')
CompressSection.py 22 from GenFdsGlobalVariable import GenFdsGlobalVariable
81 GenFdsGlobalVariable.GenerateSection(OutputFile, SectFiles, Section.Section.SectionType['COMPRESS'],
Fd.py 24 from GenFdsGlobalVariable import GenFdsGlobalVariable
55 GenFdsGlobalVariable.InfLogger("Fd File Name:%s" %self.FdUiName)
61 GenFdsGlobalVariable.VerboseLogger('Following Fv will be add to Fd !!!')
62 for FvObj in GenFdsGlobalVariable.FdfParser.Profile.FvDict:
63 GenFdsGlobalVariable.VerboseLogger(FvObj)
65 GenFdsGlobalVariable.VerboseLogger('################### Gen VTF ####################')
80 GenFdsGlobalVariable.InfLogger('Padding region starting from offset 0x%X, with size 0x%X' %(PreviousRegionStart + PreviousRegionSize, RegionObj.Offset - (PreviousRegionStart + PreviousRegionSize)))
92 GenFdsGlobalVariable.VerboseLogger('Call each region\'s AddToBuffer function')
108 GenFdsGlobalVariable.InfLogger('Padding region starting from offset 0x%X, with size 0x%X' %(PreviousRegionStart + Previ (…)
    [all...]
FfsInfStatement.py 23 from GenFdsGlobalVariable import GenFdsGlobalVariable
83 FinalBuildTargetList = GenFdsGlobalVariable.GetModuleCodaTargetList(self.InfModule, self.CurrentArch)
91 PlatformDataBase = GenFdsGlobalVariable.WorkSpace.BuildObject[GenFdsGlobalVariable.ActivePlatform, self.CurrentArch, GenFdsGlobalVariable.TargetName, GenFdsGlobalVariable.ToolChainTag]
134 LibraryModule = GenFdsGlobalVariable.WorkSpace.BuildObject[LibraryPath, self.CurrentArch, GenFdsGlobalVariable.TargetName, GenFdsGlobalVariable.ToolChainTag]
    [all...]
OptRomInfStatement.py 27 from GenFdsGlobalVariable import GenFdsGlobalVariable
56 GenFdsGlobalVariable.ErrorLogger( "Expected TRUE/FALSE for PCI_COMPRESS: %s" %self.InfFileName)
72 # InfObj = GenFdsGlobalVariable.WorkSpace.BuildObject[self.PathClassObj, self.CurrentArch]
95 GenFdsGlobalVariable.VerboseLogger( "Packing binaries from inf file : %s" %self.InfFileName)
Section.py 19 from GenFdsGlobalVariable import GenFdsGlobalVariable
138 GenFdsGlobalVariable.InfLogger ("\nBuild Target \'%s\' of File %s is not in the Scope of %s specified by INF %s in FDF" %(File.Target, File.File, FfsInf.TargetOverrideList, FfsInf.InfFileName))
140 GenFdsGlobalVariable.VerboseLogger ("\nFile Type \'%s\' of File %s in %s is not same with file type \'%s\' from Rule in FDF" %(File.Type, File.File, FfsInf.InfFileName, FileType))
142 GenFdsGlobalVariable.InfLogger ("\nCurrent ARCH \'%s\' of File %s is not in the Support Arch Scope of %s specified by INF %s in FDF" %(FfsInf.CurrentArch, File.File, File.Arch, FfsInf.InfFileName))
FdfParser.py 46 from GenFdsGlobalVariable import GenFdsGlobalVariable
283 if GenFdsGlobalVariable.WorkSpaceDir == '':
284 GenFdsGlobalVariable.WorkSpaceDir = os.getenv("WORKSPACE")
654 if GenFdsGlobalVariable.ActivePlatform:
655 PlatformDir = GenFdsGlobalVariable.ActivePlatform.Dir
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/Python/
Makefile 142 $(BASE_TOOLS_PATH)\Source\Python\GenFds\GenFdsGlobalVariable.py \

Completed in 107 milliseconds