public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
* Upgrading to LWIP 1.4.1
@ 2013-12-06 12:10 Andrew Parlane
  0 siblings, 0 replies; only message in thread
From: Andrew Parlane @ 2013-12-06 12:10 UTC (permalink / raw)
  To: ecos-devel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-12-06 12:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-06 12:10 Upgrading to LWIP 1.4.1 Andrew Parlane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).