Hi all,
I am using UDK.SPI.UP1 source code to build some SMM drivers. Everything is
fine as long as drivers are uncompressed; but when I change the fdf file as
below to attempt to compress the SMM driver binary, I get the following error.
Any suggestion on what I may be doing wrong. Does the tool support SMM driver
compression?
Thanks
-Alok Pant
Change in FDF file
[Rule.Common.DXE_SMM_DRIVER]
FILE SMM = $(NAMED_GUID) {
SMM_DEPEX SMM_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
COMPRESS PI_STD {
GUIDED {
PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
}
}
}
#[Rule.Common.DXE_SMM_DRIVER] <== (If I uncomment this section that the build
works fine but drivers are not compressed)
# FILE SMM = $(NAMED_GUID) {
# DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
# PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
# }
Result in following error
GenFds.EXE...
: error C0DE: Tools code failure
Please send email to
[email protected] for help, attaching following call
stack trace!
Traceback (most recent call last):
File "GenFds.py", line 256, in main
File "GenFds.py", line 366, in GenFd
File "Fd.py", line 93, in GenFd
File "Region.py", line 105, in AddToBuffer
File "Fv.py", line 111, in AddToBuffer
File "FfsInfStatement.py", line 279, in GenFfs
File "FfsInfStatement.py", line 673, in __GenComplexFileSection__
AttributeError: CompressSection instance has no attribute 'SectionType'
..
build...
: error 7000: Failed to execute command
..
(Python 2.5.4 on win32) Traceback (most recent call last):
File "build.py", line 1824, in Main
File "build.py", line 1591, in Launch
File "build.py", line 1505, in _MultiThreadBuildPlatform
File "build.py", line 288, in LaunchCommand
File "C:\NightlyTest\FreezeTool\BaseTools\Source\Python\Common\EdkLogger.py",
line 198, in error
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
edk2-buildtools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel