Hi, When I link DebugCommunicationLib ( SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommunicationLibUsb.inf ) in PlatformPkgIA32.pkg and build firmware image with success, firmware image don't boot correctly. I link PeCoffExtraActionLib like Jeff told me, but firmware don't boot correctly.
Problem: Why DebugCommunicationLibUsb library make problem? Best regards, Anteja >On Wed, Apr 1, 2015 at 1:47 PM, Anteja Vuk-Maček <[email protected] > wrote: > >Hi, > > >I link PeCoffExtraActionLib in PlatformPkgIA32.dsc (Vlv2TbltDevicePkg ). > > >!if $(SOURCE_DEBUG_ENABLE) == TRUE > > > > PeCoffExtraActionLib|SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf > > > > #DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf > > > DebugCommunicationLib|SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommunicationLibUsb.inf > > > #PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf > > > #SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf > > > DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf > >!else > > > PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf > > > DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf > >!endif > > >May you tell me is this correct? I boot firmware without HOST and it > don't work correctly. > > >!if $(SOURCE_DEBUG_ENABLE) == TRUE > > MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable > > GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable > > INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable > > #*_*_*_GENFW_FLAGS = --keepexceptiontable > >!if $(TARGET) == DEBUG > > DEFINE SOURCE_LEVEL_DEBUG_BUILD_OPTIONS = /Od /Oy- > >!endif > >!else > > DEFINE SOURCE_LEVEL_DEBUG_BUILD_OPTIONS = > > >!endif > > >May you tell me is SOURCE_LEVEL_DEBUG_BUILD_OPTIONS macro correctly > defined? > >Best regards, > >Anteja > >> > >
PlatformPkgIA32.dsc
Description: Binary data
_______________________________________________ elinux-MinnowBoard mailing list [email protected] http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
