[ECOS] Re: Few questions on lwip stack

Alexander Aganichev aaganichev@gmail.com
Wed Nov 24 15:51:00 GMT 2010


On Wed, Nov 24, 2010 at 3:40 PM, Sergei Gavrikov
<sergei.gavrikov@gmail.com> wrote:
> On Tue, 23 Nov 2010, Alexander Aganichev wrote:
>> I rewrote lwip to use POSIX threads if they enabled (just wondering if
>> anyone wants it to be published?), increased stack sizes (looks like
>> default too low if you enable debug output for PHY), increased number
>> of timers (though I do not use my own, the default number is not
>> enough for two threads that use LWIP), increased some other buffers.
>
> Hi,
>
> What does mean 'rewrote lwip'? Does it mean that you have a patch for
> current lwip package to use POSIX threads or you worked on CDL config
> options only? What were your steps? As we have not some kind of 'eCos
> Magazine' it would be fine to share your experience on the list (IMO).

Oops, wrong term. Yes, I patched lwip's layer to use POSIX threads
instead of native threads if eCos configured to use POSIX threads (so,
no explicit CDL option). I'm just not sure if anyone wants it. I can
post it to bugzilla if you want. All other things was done based on
options only. It looks like some options should be better documented
so other people will not spend time trying to figure out why it does
not work for them.

I have few other improvements over eCos which need some CDL code (for
example, LCP2468 require copying transmission buffers to internal
memory if we work with external RAM due to too low speed of transfer)
or review from someone more familiar with eCos internals.

Best regards,
Alexander

-- 
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