Hi EDK team,
I am trying to build a capsule driver image for update in UEFI shell,
But not success.
The tool chain is VS2019, log as attach file.
Could you help on it ?

Thanks,

Eric.Yiu
Engineer
Software R&D Department
Tel: 886-2-89131312 ext. 132
GIGAIPC CO., LTD



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#92090): https://edk2.groups.io/g/devel/message/92090
Mute This Topic: https://groups.io/mt/92801138/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


C:\edk2>call build fds -v -p 
C:\EDK2\TigerLakeFspPkg\FoxvilleCapsuleUpdate\capsule_defs\IgcFwCapsule.dsc -f 
C:\EDK2\TigerLakeFspPkg\FoxvilleCapsuleUpdate\capsule_defs\IgcFwCapsule.fdf
Build environment: Windows-10-10.0.19044-SP0
Build start time: 18:53:30, Aug.02 2022

WORKSPACE        = c:\edk2
EDK_TOOLS_PATH   = c:\edk2\basetools
EDK_TOOLS_BIN    = c:\edk2\basetools\bin\win32
CONF_PATH        = c:\edk2\conf
PYTHON_COMMAND   = py -3


Processing meta-data
.Architecture(s)  = IA32
Build target     = RELEASE
Toolchain        = VS2019

Active Platform          = 
c:\edk2\TigerLakeFspPkg\FoxvilleCapsuleUpdate\capsule_defs\IgcFwCapsule.dsc
Flash Image Definition   = 
c:\edk2\TigerLakeFspPkg\FoxvilleCapsuleUpdate\capsule_defs\IgcFwCapsule.fdf

FLASH_DEFINITION = 
c:\edk2\TigerLakeFspPkg\FoxvilleCapsuleUpdate\capsule_defs\IgcFwCapsule.fdf
 done!

Generate IGCFWCAPSULE Capsule


build.py...
 : error C0DE: Tools code failure
        Please send email to devel@edk2.groups.io for help, attaching following 
call stack trace!

Traceback (most recent call last):
  File "C:\edk2\BaseTools\Source\Python\GenFds\GenFds.py", line 371, in 
GenFdsApi
    GenFds.GenFd('', FdfParserObj, BuildWorkSpace, ArchList)
  File "C:\edk2\BaseTools\Source\Python\GenFds\GenFds.py", line 530, in GenFd
    CapsuleObj.GenCapsule()
  File "C:\edk2\BaseTools\Source\Python\GenFds\Capsule.py", line 200, in 
GenCapsule
    return self.GenFmpCapsule()
  File "C:\edk2\BaseTools\Source\Python\GenFds\Capsule.py", line 129, in 
GenFmpCapsule
    PreSize += os.path.getsize(FileName)
  File "C:\edk2\BaseTools\Source\Python\Common\LongFilePathOsPath.py", line 21, 
in getsize
    return os.path.getsize(LongFilePath(filename))
  File "C:\Python310\lib\genericpath.py", line 50, in getsize
    return os.stat(filename).st_size
FileNotFoundError: [WinError 3] The system cannot find the path specified: 
'\\\\?\\c:\\edk2\\Build\\TigerLakeFspPkg\\RELEASE_VS2019\\X64\\IgcFwUpdateDxe.efi'



build.py...
 : error 7000: Failed to execute command


- Failed -
Build end time: 18:53:31, Aug.02 2022
Build total time: 00:00:00

Error when generating capsule FV

 CapsuleBuild failed.


C:\edk2\TigerLakeFspPkg>


































































































































































































Reply via email to