[ECOS] How to enable diag_printf at Redboot
Tales Toledo
toledo.tales@gmail.com
Fri Jul 6 19:37:00 GMT 2007
On 7/6/07, Sergei Gavrikov <w3sg@softhome.net> wrote:
> On Fri, Jul 06, 2007 at 03:32:01PM -0300, Tales Toledo wrote:
> > Hi,
> >
> > I would like to enable all diag_printf messages at Redboot.
> > How can I do this?
> > Which cdl option should I have to enable to make it works?
>
> There are a lot of debug messages in RedBoot. That depends on packages
> are used to build RedBoot (RedBoot is a closely target related stuff).
> You can see that, U.T.S.L.
>
> find $ECOS_REPOSITORY/redboot/current/src | xargs grep DEBUG
>
> You can meet ZM_DEBUG, DEBUG_TCP, etc., etc., etc.
>
> but it seems, that more suitable way is to look at any CYGDBG_REDBOOT_*
> options in your `ecos.ecc' is prepared to build RedBoot
>
I enable CYGDBG_REDBOOT_NET_DEBUG that is the most important for me
right now. Unfortunately I am having some problems with flash
configuration at boot that override it with 0.
I can't see any messages until now...
Thx anyway,
TT
> ecosconfig new <target> redboot
> ecosconfig import <redboot_{ROM|RAM|ROMRAM}.ecm>
> grep CYGDBG_REDBOOT ecos.ecc
>
> Sergei
>
> >
> > Thx,
> > TT
> >
> > --
> > Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> > and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list