From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27402 invoked by alias); 24 Nov 2008 15:13:00 -0000 Received: (qmail 27375 invoked by uid 22791); 24 Nov 2008 15:12:59 -0000 X-Spam-Level: * X-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from fw9a.glodns.net (HELO fw9a.glodns.net) (196.220.48.59) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 24 Nov 2008 15:12:17 +0000 Received: from localhost (unknown [127.0.0.1]) by fw9a.glodns.net (Postfix) with ESMTP id 7B60026052 for ; Mon, 24 Nov 2008 15:09:35 +0000 (UTC) X-Quarantine-ID: X-Virus-Scanned: amavisd-new at fw9a.glodns.net X-Spam-Score: -2.599 Received: from fw9a.glodns.net ([196.220.48.59]) by localhost (fw9a.glodns.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id P1ioWivva2Py for ; Mon, 24 Nov 2008 10:09:33 -0500 (EST) Received: from control.glodns.net (smtp1w.glodns.net [75.126.138.3]) by fw9a.glodns.net (Postfix) with ESMTP id B34DC2602D for ; Mon, 24 Nov 2008 10:09:33 -0500 (EST) Received: (qmail 5837 invoked from network); 24 Nov 2008 17:12:03 +0200 Received: from dsl-242-213-115.telkomadsl.co.za (HELO ?10.15.1.136?) (41.242.213.115) by smtp1b.plesk.glodns.net with SMTP; 24 Nov 2008 17:12:03 +0200 Subject: Re: lwIP From: John Eigelaar To: "ecos-devel@ecos.sourceware.org" In-Reply-To: <492710C2.1050708@mindspring.com> References: <4926E654.2050302@barda.agala.net> <4926E76F.70307@intefo.ch> <4926EBF8.5060708@intefo.ch> <492710C2.1050708@mindspring.com> Content-Type: text/plain Organization: Keystone Electronic Solutions Date: Mon, 24 Nov 2008 15:13:00 -0000 Message-Id: <1227539519.4641.40.camel@janet> Mime-Version: 1.0 X-Mailer: Evolution 2.24.0-2mdv2009.0 Content-Transfer-Encoding: 7bit Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2008-11/txt/msg00065.txt.bz2 On Fri, 2008-11-21 at 14:49 -0500, Frank Pagliughi wrote: > Simon Kallweit wrote: > > Simon Kallweit wrote: > >> Frank J. Beckmann wrote: > >>> Hello, > >>> > >>> are there plans for updating eCos' lwIP port to a more recent version? > >> > > > > I just had a quick look of the lwIP in the current ECOS version. It > > differs just very slightly from the actual lwIP 1.1.1 release, not > > many changes. I guess an update to a more recent lwIP version should > > be pretty simple and straight forward. I'll start working on it in > > around a week, have to get my GSM modem working first :) > > I have been trying on and off tp port lwip 1.3.0 to ecos. The current version has a serious memory leak when under fire and also does not honor the backlog parameter for lwip_listen and lwip_accept mechanisms. In 1.3.0 the init part of the lwIP source has been greatly improved and now works well to initialise the lwIP stack but is of course now completely incompatible with the existing eCos port. The sys_arch API has been update as well to counetr the aforementioned memory leaks. I am also not sure what to do really with the IPv6 and IPv4 config options for the lwIP stack. I have compiled the test cases with the new 1.3.0 source but I still can not get any of them to run on the Linux synth target. Some of it is actualy me learning the synth target as I go along as well as me not really having any time to spend on this other than time set aside out of curiosity. John Eigelaar