[PATCH v19 0/4] add TCP and HTTP for downloading images

Ying-Chun Liu (PaulLiu) paul.liu at linaro.org
Wed Oct 19 19:32:56 CEST 2022


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.
v18: Add documentation for wget command.
v19: Add unit test for wget command.

Ying-Chun Liu (PaulLiu) (4):
  net: Add TCP protocol
  net: Add wget application
  doc: cmd: wget: add documentation
  test: cmd: add test for wget command.

 cmd/Kconfig            |   7 +
 cmd/net.c              |  13 +
 doc/usage/cmd/wget.rst |  61 ++++
 doc/usage/index.rst    |   1 +
 include/net.h          |  38 ++-
 include/net/tcp.h      | 299 +++++++++++++++++
 include/net/wget.h     |  22 ++
 net/Kconfig            |  16 +
 net/Makefile           |   2 +
 net/net.c              |  36 +++
 net/tcp.c              | 720 +++++++++++++++++++++++++++++++++++++++++
 net/wget.c             | 438 +++++++++++++++++++++++++
 test/cmd/Makefile      |   1 +
 test/cmd/wget.c        | 206 ++++++++++++
 14 files changed, 1850 insertions(+), 10 deletions(-)
 create mode 100644 doc/usage/cmd/wget.rst
 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
 create mode 100644 test/cmd/wget.c

-- 
2.35.1



More information about the U-Boot mailing list