[PATCH v17 0/2] add TCP and HTTP for downloading images

Ying-Chun Liu (PaulLiu) paul.liu at linaro.org
Fri Jul 8 20:01:54 CEST 2022


From: "Ying-Chun Liu (PaulLiu)" <paul.liu at linaro.org>

This patch is a refresh from previous patches made by
Duncan Hare <DuncanCHare at yahoo.com>. I've contacted him and
continue to work on this patch.

This patch introduce a TCP stack with SACK. And a simple wget command
to download images from http server.

v1-v12: Made by Duncan, didn't tracked.
v13: Fix some issues which is reviewed by Christian
v14: Add options to enable/disable SACK.
v15: Fix various syntax errors reviewed by Michal.
     Remove magic numbers. Use kernel-doc format.
v16: Add more kernel-doc. Fix more double spaces.
v17: Fix wget with address timeout issue reported by Ramon.

Ying-Chun Liu (PaulLiu) (2):
  net: Add TCP protocol
  net: Add wget application

 cmd/Kconfig        |   7 +
 cmd/net.c          |  13 +
 include/net.h      |  38 ++-
 include/net/tcp.h  | 312 ++++++++++++++++++++
 include/net/wget.h |  22 ++
 net/Kconfig        |  16 +
 net/Makefile       |   2 +
 net/net.c          |  36 +++
 net/tcp.c          | 720 +++++++++++++++++++++++++++++++++++++++++++++
 net/wget.c         | 428 +++++++++++++++++++++++++++
 10 files changed, 1584 insertions(+), 10 deletions(-)
 create mode 100644 include/net/tcp.h
 create mode 100644 include/net/wget.h
 create mode 100644 net/tcp.c
 create mode 100644 net/wget.c

-- 
2.35.1



More information about the U-Boot mailing list