[MinnowBoard] How to build the firmware image with SourceLevelDebugPkg?
Anteja Vuk-Maček
anteja.vukmacek at gmail.com
Thu Apr 2 10:54:38 UTC 2015
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.vukmacek at 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
>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elinux.org/pipermail/elinux-minnowboard/attachments/20150402/9aeb0a67/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PlatformPkgIA32.dsc
Type: application/octet-stream
Size: 64564 bytes
Desc: not available
URL: <http://lists.elinux.org/pipermail/elinux-minnowboard/attachments/20150402/9aeb0a67/attachment-0001.obj>
More information about the elinux-MinnowBoard
mailing list