Hi all,
I received the following error message when trying to compile ptlp embedded BIOS using Edk2. The error message said to send an email to this address with the stack trace, so here is the error message I am receiving. Any help would be appreciated:
build.py...
: error C0DE: Unknown fatal error when processing [c:\users\nfacciol\bios\ptl\Intel\PantherLakeBoardPkg\BoardPkg.dsc]
(Please send email to
devel@edk2.groups.io for help, attaching following call stack trace!)
(Python 3.8.19 on win32) Traceback (most recent call last):
File "C:\Users\nfacciol\BIOS\PTL\Edk2\BaseTools\Source\Python\build\build.py", line 2695, in Main
MyBuild.Launch()
File "C:\Users\nfacciol\BIOS\PTL\Edk2\BaseTools\Source\Python\build\build.py", line 2490, in Launch
self._MultiThreadBuildPlatform()
File "C:\Users\nfacciol\BIOS\PTL\Edk2\BaseTools\Source\Python\build\build.py", line 2282, in _MultiThreadBuildPlatform
Wa, self.BuildModules = self.PerformAutoGen(BuildTarget,ToolChain)
File "C:\Users\nfacciol\BIOS\PTL\Edk2\BaseTools\Source\Python\build\build.py", line 2133, in PerformAutoGen
Wa = WorkspaceAutoGen(
File "C:\Users\nfacciol\BIOS\PTL\Edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 43, in __init__
self._InitWorker(Workspace, MetaFile, Target, Toolchain, Arch, *args, **kwargs)
File "C:\Users\nfacciol\BIOS\PTL\Edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 116, in _InitWorker
self.ProcessModuleFromPdf()
File "C:\Users\nfacciol\BIOS\PTL\Edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 208, in ProcessModuleFromPdf
if self.FdfProfile:
File "C:\Users\nfacciol\BIOS\PTL\Edk2\BaseTools\Source\Python\Common\caching.py", line 28, in __get__
Value = obj.__dict__[self._function.__name__] = self._function(obj)
File "C:\Users\nfacciol\BIOS\PTL\Edk2\BaseTools\Source\Python\AutoGen\WorkspaceAutoGen.py", line 184, in FdfProfile
Fdf.ParseFile()
File "C:\Users\nfacciol\BIOS\PTL\Edk2\BaseTools\Source\Python\GenFds\FdfParser.py", line 1320, in ParseFile
while self._GetFd() or self._GetFv() or self._GetFmp() or self._GetCapsule() or self._GetRule() or self._GetOptionRom():
File "C:\Users\nfacciol\BIOS\PTL\Edk2\BaseTools\Source\Python\GenFds\FdfParser.py", line 1432, in _GetFd
raise Warning.Expected("[FD.]", self.FileName, self.CurrentLineNumber)
GenFds.FdfParser.Warning: expected [FD.] near line 281, column 6: FvUefiBoot
- Failed -
Build end time: 13:33:44, Mar.25 2025
Build total time: 00:00:57
C:\Users\nfacciol\BIOS\PTL\Intel\PantherLakeBoardPkg
********************* BLD.BAT *****************************
ERRORLEVEL=1
----------------
ACTIVE_PLATFORM = C:\Users\nfacciol\BIOS\PTL\Intel/PantherLakeBoardPkg/BoardPkg.dsc
ACTIVE FLASH MAP FDF = C:\Users\nfacciol\BIOS\PTL\Intel\PantherLakeBoardPkg\Include\Fdf\FlashMapInclude.fdf
----------------
The BIOS Build has failed
Best Regards,
Nicholas Facciola
NEX EPE PDE
(Product Development Engineer)