This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1000703] New: CL CS8900A driver: assertion fail in 8-bit mode


http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000703

           Summary: CL CS8900A driver: assertion fail in 8-bit mode
           Product: eCos
           Version: 3.0beta1
          Platform: Other (please specify)
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: normal
         Component: Ethernet
        AssignedTo: gary@mlbassoc.com
        ReportedBy: sergei.gavrikov@gmail.com
         QAContact: ecos-bugs@ecos.sourceware.org
             Class: ---


Created an attachment (id=653)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=653)
A patch to fix a problem

The 'bug' can be reproduced 1) only on Olimex LPC-E2294 target (this is only
one target which uses CL CS8900A Ethernet controller in 8-bit non-interrupt
driven mode) and 2) when tracing is enabling only. See attached gdb.txt for
details.

I'm sorry that I never build eCos 'net' template with tracing enabling. Today I
found that one assertion fails in if_cs8900a.c: cs8900a_init(). The 'bug' is an
order of an initializing the Ethernet delivery hooks (interrupt vs. thread).
Assertion occurs on cyg_interrupt_attach call, but this call shouldn't be
invoked for the target.

A patch is attached (diff has been done against ecos-v3_0-branch). The patched
ecos-3.0b1 sources were retested with 'net' template and with tracing on/off.

The patch can be applied and against CVS HEAD too.

Sergei


-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]