public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Rework the network stack
@ 2015-03-21  8:33 Jörg Krause
  2015-03-22  3:59 ` Joe Hershberger
  0 siblings, 1 reply; 7+ messages in thread
From: Jörg Krause @ 2015-03-21  8:33 UTC (permalink / raw)
  To: u-boot

Hi all,

there is an issue with the current network stack using netconsole. It's
impossible to use network commands as TFTP inside netconsole, because
they try to run as atomic network commands.

The issue was already reported by Stefano Babic in 2010:
[U-Boot] NetConsole and network API
http://lists.denx.de/pipermail/u-boot/2010-August/075535.html

I run into the same problem:
[U-Boot] netconsole: USB Ethernet connection dropping with ping or
tftpboot
http://lists.denx.de/pipermail/u-boot/2015-February/203838.html

I have looked at the current network stack. The stack is based on the
concept of atomic network commands. The implementation for netconsole
looks very confusing.

Sascha Hauer has reimplemented the network stack for Barebox:
http://www.spinics.net/lists/u-boot-v2/msg00914.html

Looking at the current implementation of net.c looks very clean and
well-designed.

What do you think about porting this to U-Boot?

Best regards
J?rg Krause

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-03-24  7:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-21  8:33 [U-Boot] Rework the network stack Jörg Krause
2015-03-22  3:59 ` Joe Hershberger
2015-03-22 20:37   ` Jörg Krause
2015-03-23 16:46     ` Simon Glass
2015-03-23 19:55       ` Jörg Krause
2015-03-23 20:04         ` Simon Glass
2015-03-24  7:14           ` Joe Hershberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox