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 <anteja.vukma...@gmail.com
> 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
>
>>
>
>

Attachment: PlatformPkgIA32.dsc
Description: Binary data

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to