[Bug 1712] New: Add LWIP Support to RTEMS

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Thu Oct 28 16:14:24 UTC 2010


           Summary: Add LWIP Support to RTEMS
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: networking
        AssignedTo: norume at aps.anl.gov
        ReportedBy: joel.sherrill at oarcorp.com

Created an attachment (id=1056)
 --> (https://www.rtems.org/bugzilla/attachment.cgi?id=1056)
LWIP + BSP modifications as received

This port was done by Marcello Presulli <m.presulli at embed-it.com> and has been
in my inbox for a while.  I think I have merged most of their BSP specific work
but the lwip has been pending.  They managed to run LWIP+SNMP and an
application in something like 128K RAM

Here are some email fragments about it.

For now we have just finished to port the latest lwip-1.3.2 based on the latest
rtems 4.9.4 version successfully including
a test_app for pings.

We have stressed the stack with ping floods (packetsize 1400 Bytes interval
~150ms) about 250.000 sequences or more without
packet losses and an average latency of 2ms. 

Additional we have adopted a new bsp target for the mcf5225x platform.

To lwip now:

we integrated it directly via the autoconfigure/automake process under the
rtems cpukit/liblwip subtree and therefore it gets built with rtems
when u configure it with --enable-networking=lwip appropriately.
The driver on the other side we put it in libcpu/m68k/mcf5225x and it got
built in the library context of the librtemsbsp.a.
The driver has only 2 references on lwip headers ...

To the bsp:

The bsp we have adopted from mcf52223 and have created it as a own
bsp-target=mcf5225x also via the autoconfig/automake mechanism.
In the bsp itself i have modified the bsp_get_CPU_clock_speed() and some
improvements in the console driver and PIT2 timer interrupt.
The bsp_start() we have defined as weak symbol so we don't have to touch
the "empty" bsp_start() of rtems coz it's platform-circuit
specific you know.

Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the bugs mailing list