From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22013 invoked by alias); 26 Oct 2009 13:00:51 -0000 Received: (qmail 22003 invoked by uid 22791); 26 Oct 2009 13:00:50 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mail04.solnet.ch (HELO mail04.solnet.ch) (212.101.4.138) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 26 Oct 2009 13:00:45 +0000 Received: from mail04.solnet.ch ([127.0.0.1]) by localhost (mail04.solnet.ch [127.0.0.1]) (SolNet-Check, port 10024) with LMTP id 53nvGA8ir3ka; Mon, 26 Oct 2009 13:00:42 +0000 (UTC) Received: from beta.intefo.ch (static-212-101-18-64.adsl.solnet.ch [212.101.18.64]) by mail04.solnet.ch (Postfix) with ESMTP id CB75D87C2F; Mon, 26 Oct 2009 13:00:42 +0000 (UTC) Received: from beta.intefo.ch ([127.0.0.1]) by localhost (beta.intefo.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id IedK6HAAgOQq; Mon, 26 Oct 2009 14:00:42 +0100 (CET) Received: from [192.168.1.20] (simon.intefo.ch [192.168.1.20]) by beta.intefo.ch (Postfix) with ESMTP id 1ED837700DE; Mon, 26 Oct 2009 14:00:42 +0100 (CET) Message-ID: <4AE59D93.30000@intefo.ch> Date: Mon, 26 Oct 2009 13:00:00 -0000 From: Simon Kallweit User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: John Dallaway CC: ecos-devel@ecos.sourceware.org Subject: Re: lwip 1.3.1 testing References: <4A8E48C2.10802@intefo.ch> <20090821184336.GA24882@ubuntu.local> <20090824201853.GA10163@ubuntu.local> <4A938008.70909@intefo.ch> <4A939599.8040703@intefo.ch> <4AE480E7.2010803@dallaway.org.uk> In-Reply-To: <4AE480E7.2010803@dallaway.org.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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: 2009-10/txt/msg00056.txt.bz2 John Dallaway wrote: > Hi Simon > > Simon Kallweit wrote: > >> Testing on real hardware would be especially useful. Also testing on >> big-endian targets might reveal some issues, as I've only been testing >> on little-endian platforms. > > Using your sources from lwip-20090827.tar.gz, I was able to build and > run the httpd_simple test on a PowerPC (big-endian) target OK. DHCP over > ethernet was also OK. That's good to hear. > The lwIP CDL script currently builds ecos/sio.c unconditionally so > CYGPKG_IO_SERIAL is required even when both PPP and SLIP are disabled. > It would be good to compile ecos/sio.c via a CDL option which is > "calculated { CYGPKG_LWIP_PPP || CYGPKG_LWIP_SLIP }" if other source > code will permit this. sio.c is always compiled, but there is an #ifdef which includes the code only when either CYGPKG_LWIP_SLIP or CYGFUN_LWIP_PPPOS_SUPPORT is active. Also, CYGPKG_IO_SERIAL_DEVICES is only enabled if either SLIP or PPPoS support is enabled. Do you think solving that dependency in CDL is the better approach? > Some other source code files which look like they might benefit from > conditional compilation: > > ecos/ppp.c ecos/sequential.c ecos/simple.c netif/slipif.c Same principles apply here. > How is you own testing of lwIP 1.3.1 progressing? Well, I'm currently using devices with lwIP 1.3.1 in field tests. They run in the 'simple' mode (single-threaded) and use PPP for GPRS connections via a GSM modem. I have not seen any issues with the current port. The devices run for days until they may be power-cycled for updates or maintenance. Application development is done on the synthetic target, using a simulated GSM modem, simulating GPRS connections by spawning a local PPP server. No issues have occurred with this configuration either, although runtimes are usually only minutes to hours. Simon