* TODO: Rewrite network stack. @ 2014-05-05 10:55 Antony Pavlov 2014-05-05 12:29 ` Alessandro Rubini 2014-05-05 13:22 ` Sascha Hauer 0 siblings, 2 replies; 7+ messages in thread From: Antony Pavlov @ 2014-05-05 10:55 UTC (permalink / raw) To: barebox Hi! I have inspected TODO file from barebox repo. Here is a quote: [ ] Rewrite network stack. The one-loop-for-all-protocols stack is just too ugly and big and uses thousands of global variables. Identify common functions and make a loop per network protocol There is no much tiny TCP/IP stack candidates for porting to barebox. The most notable is lwIP (http://savannah.nongnu.org/projects/lwip/). See "project that use lwIP" list here: http://lwip.wikia.com/wiki/Projects_that_use_lwIP lwip code is BSD-licensed. Is it possible to use lwip code in barebox? -- Best regards, Antony Pavlov P.S. Anyway TODO file from barebox repo is outdated (last change Jul 22 2010). _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: TODO: Rewrite network stack. 2014-05-05 10:55 TODO: Rewrite network stack Antony Pavlov @ 2014-05-05 12:29 ` Alessandro Rubini 2014-05-05 13:08 ` Antony Pavlov 2014-05-08 12:43 ` Jean-Christophe PLAGNIOL-VILLARD 2014-05-05 13:22 ` Sascha Hauer 1 sibling, 2 replies; 7+ messages in thread From: Alessandro Rubini @ 2014-05-05 12:29 UTC (permalink / raw) To: antonynpavlov; +Cc: barebox > The most notable is lwIP (http://savannah.nongnu.org/projects/lwip/). I'm not happy at all about this code base, it looks quite ugly and old-fashioned. It's not the barebox kind of quality. I'd stay with the current code rather than lwip, despite the number of users. If any, I'd evaluate picotcp (https://github.com/tass-belgium/picotcp). /alessandro _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: TODO: Rewrite network stack. 2014-05-05 12:29 ` Alessandro Rubini @ 2014-05-05 13:08 ` Antony Pavlov 2014-05-08 12:43 ` Jean-Christophe PLAGNIOL-VILLARD 1 sibling, 0 replies; 7+ messages in thread From: Antony Pavlov @ 2014-05-05 13:08 UTC (permalink / raw) To: Alessandro Rubini; +Cc: barebox On Mon, 5 May 2014 14:29:44 +0200 Alessandro Rubini <rubini-list@gnudd.com> wrote: > > The most notable is lwIP (http://savannah.nongnu.org/projects/lwip/). > > I'm not happy at all about this code base, it looks quite ugly and > old-fashioned. It's not the barebox kind of quality. I'd stay with the > current code rather than lwip, despite the number of users. > > If any, I'd evaluate picotcp (https://github.com/tass-belgium/picotcp). Thanks for very interesting picotcp link! At a glance picotcp looks better than lwip. -- Best regards, Antony Pavlov _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: TODO: Rewrite network stack. 2014-05-05 12:29 ` Alessandro Rubini 2014-05-05 13:08 ` Antony Pavlov @ 2014-05-08 12:43 ` Jean-Christophe PLAGNIOL-VILLARD 2014-05-08 17:20 ` Antony Pavlov 1 sibling, 1 reply; 7+ messages in thread From: Jean-Christophe PLAGNIOL-VILLARD @ 2014-05-08 12:43 UTC (permalink / raw) To: Alessandro Rubini; +Cc: barebox On 14:29 Mon 05 May , Alessandro Rubini wrote: > > > The most notable is lwIP (http://savannah.nongnu.org/projects/lwip/). > > I'm not happy at all about this code base, it looks quite ugly and > old-fashioned. It's not the barebox kind of quality. I'd stay with the > current code rather than lwip, despite the number of users. > > If any, I'd evaluate picotcp (https://github.com/tass-belgium/picotcp). uIP too Best Regards, J. > > /alessandro > > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: TODO: Rewrite network stack. 2014-05-08 12:43 ` Jean-Christophe PLAGNIOL-VILLARD @ 2014-05-08 17:20 ` Antony Pavlov 0 siblings, 0 replies; 7+ messages in thread From: Antony Pavlov @ 2014-05-08 17:20 UTC (permalink / raw) To: Jean-Christophe PLAGNIOL-VILLARD; +Cc: barebox On Thu, 8 May 2014 14:43:15 +0200 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> wrote: > On 14:29 Mon 05 May , Alessandro Rubini wrote: > > > > > The most notable is lwIP (http://savannah.nongnu.org/projects/lwip/). > > > > I'm not happy at all about this code base, it looks quite ugly and > > old-fashioned. It's not the barebox kind of quality. I'd stay with the > > current code rather than lwip, despite the number of users. > > > > If any, I'd evaluate picotcp (https://github.com/tass-belgium/picotcp). > > uIP too Hmm, uIP looks like a light version of lwip or have I missed something? > > Best Regards, > J. > > > > /alessandro > > > > _______________________________________________ > > barebox mailing list > > barebox@lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/barebox -- -- Best regards, Antony Pavlov _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: TODO: Rewrite network stack. 2014-05-05 10:55 TODO: Rewrite network stack Antony Pavlov 2014-05-05 12:29 ` Alessandro Rubini @ 2014-05-05 13:22 ` Sascha Hauer 2014-05-08 7:32 ` Uwe Kleine-König 1 sibling, 1 reply; 7+ messages in thread From: Sascha Hauer @ 2014-05-05 13:22 UTC (permalink / raw) To: Antony Pavlov; +Cc: barebox On Mon, May 05, 2014 at 02:55:12PM +0400, Antony Pavlov wrote: > Hi! > > I have inspected TODO file from barebox repo. Here is a quote: > > [ ] Rewrite network stack. The one-loop-for-all-protocols stack is just too > ugly and big and uses thousands of global variables. Identify common > functions and make a loop per network protocol > > There is no much tiny TCP/IP stack candidates for porting to barebox. > The most notable is lwIP (http://savannah.nongnu.org/projects/lwip/). > > See "project that use lwIP" list here: http://lwip.wikia.com/wiki/Projects_that_use_lwIP > > lwip code is BSD-licensed. Is it possible to use lwip code in barebox? > > -- > Best regards, > Antony Pavlov > > P.S. Anyway TODO file from barebox repo is outdated (last change Jul 22 2010). Indeed. Maybe we should add the following item to it. Sascha diff --git a/TODO b/TODO index 6350799..59fdade 100644 --- a/TODO +++ b/TODO @@ -76,6 +76,7 @@ TODO devices should be represented as a hierarchical tree in /dev [ ] Work out, how to mount driver on PCI devices. The mechanism should be transparent to the driver code. +[ ] remove this file. It doesn't contain much useful information. DONE ---- -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: TODO: Rewrite network stack. 2014-05-05 13:22 ` Sascha Hauer @ 2014-05-08 7:32 ` Uwe Kleine-König 0 siblings, 0 replies; 7+ messages in thread From: Uwe Kleine-König @ 2014-05-08 7:32 UTC (permalink / raw) To: Sascha Hauer; +Cc: barebox On Mon, May 05, 2014 at 03:22:40PM +0200, Sascha Hauer wrote: > On Mon, May 05, 2014 at 02:55:12PM +0400, Antony Pavlov wrote: > > Hi! > > > > I have inspected TODO file from barebox repo. Here is a quote: > > > > [ ] Rewrite network stack. The one-loop-for-all-protocols stack is just too > > ugly and big and uses thousands of global variables. Identify common > > functions and make a loop per network protocol > > > > There is no much tiny TCP/IP stack candidates for porting to barebox. > > The most notable is lwIP (http://savannah.nongnu.org/projects/lwip/). > > > > See "project that use lwIP" list here: http://lwip.wikia.com/wiki/Projects_that_use_lwIP > > > > lwip code is BSD-licensed. Is it possible to use lwip code in barebox? > > > > -- > > Best regards, > > Antony Pavlov > > > > P.S. Anyway TODO file from barebox repo is outdated (last change Jul 22 2010). > > Indeed. Maybe we should add the following item to it. > > Sascha > > diff --git a/TODO b/TODO > index 6350799..59fdade 100644 > --- a/TODO > +++ b/TODO > @@ -76,6 +76,7 @@ TODO > devices should be represented as a hierarchical tree in /dev > [ ] Work out, how to mount driver on PCI devices. The mechanism should be > transparent to the driver code. > +[ ] remove this file. It doesn't contain much useful information. I took this patch, removed the file and wanted to move this entry below DONE. This resulted in a git conflict. Please advise. Uwe > > DONE > ---- > > -- > Pengutronix e.K. | | > Industrial Linux Solutions | http://www.pengutronix.de/ | > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | > > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox > -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-05-08 17:18 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2014-05-05 10:55 TODO: Rewrite network stack Antony Pavlov 2014-05-05 12:29 ` Alessandro Rubini 2014-05-05 13:08 ` Antony Pavlov 2014-05-08 12:43 ` Jean-Christophe PLAGNIOL-VILLARD 2014-05-08 17:20 ` Antony Pavlov 2014-05-05 13:22 ` Sascha Hauer 2014-05-08 7:32 ` Uwe Kleine-König
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox