From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6366 invoked by alias); 6 Dec 2013 12:10:10 -0000 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 Received: (qmail 6356 invoked by uid 89); 6 Dec 2013 12:10:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_40 autolearn=ham version=3.3.2 X-HELO: mail.carallon.com Received: from Unknown (HELO mail.carallon.com) (95.177.28.122) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 06 Dec 2013 12:10:08 +0000 X-MDAV-Result: clean X-MDAV-Processed: mail.carallon.com, Fri, 06 Dec 2013 12:10:00 +0000 Received: from [172.20.1.41] by mail.carallon.com (Cipher TLSv1:-SHA:128) (MDaemon PRO v13.6.0) with ESMTP id md50001475653.msg for ; Fri, 06 Dec 2013 12:10:00 +0000 X-Spam-Processed: mail.carallon.com, Fri, 06 Dec 2013 12:10:00 +0000 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 172.20.1.41 X-Return-Path: andrewp@carallon.com X-Envelope-From: andrewp@carallon.com X-MDaemon-Deliver-To: ecos-devel@ecos.sourceware.org Message-ID: <52A1BE97.7020501@carallon.com> Date: Fri, 06 Dec 2013 12:10:00 -0000 From: Andrew Parlane User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: ecos-devel@ecos.sourceware.org Subject: Upgrading to LWIP 1.4.1 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2013-12/txt/msg00000.txt.bz2 A few months ago I did some work to port the latest stable LWIP to eCos. Bug report: http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001873 I'm trying to address the problems mentioned in comment 25, specifically the ppp test not compiling. PPP was one part that I didn't spend too much time looking at originally, because I don't know much about it or have any means of testing it. Looking again now, I see that when LWIP 1.3.2 was ported to eCos, there was a patch applied along with the port (not as separate patches) which is confusing matters. This extra patch seems to have modified src/netif/ppp/ppp.c, and added to netif/ppp/ chat.c, timesys.c timesys.h record.c, record.h and added include/netif/ppp/chat.h From what I can gather the change to ppp.c was to fix PPP as LWIP 1.3.2 didn't support this properly, however LWIP 1.4.1 apparently does. chat.c and .h seem to implement chat scripts which seems genuinely useful, and is the reason the tests/ppp.c is failing to compile (because I removed these). Adding these back is pretty trivial and should just work. timesys and record were only used by src/netif/ppp/ppp.c and specifically weren't required by the original LWIP code and were added as part of this extra patch. I don't think these are needed anymore and could just be removed. Does anyone have any comments about any of this, does keeping chat.c and .h and dropping the other files and extra changes to ppp.c seem sensible? Finally while I'm happy to do this work including reapplying all the ppp changes, I have no way of testing this, so would anyone be up for trying these changes and making sure they work? Thanks, Andrew Parlane