TODO: Rewrite network stack.

Sascha Hauer s.hauer at pengutronix.de
Mon May 5 06:22:40 PDT 2014


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 |



More information about the barebox mailing list