public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCHv4 0/5] net/lwip: add lwip library for the network stack
@ 2023-07-14 14:19 Maxim Uvarov
  2023-07-14 14:19 ` [PATCHv4 1/5] net/lwip: add lwip-external submodule Maxim Uvarov
                   ` (6 more replies)
  0 siblings, 7 replies; 20+ messages in thread
From: Maxim Uvarov @ 2023-07-14 14:19 UTC (permalink / raw)
  To: u-boot
  Cc: pbrobinson, ilias.apalodimas, joe.hershberger, rfried.dev, trini,
	goldsimon, lwip-devel, Maxim Uvarov

changelog:
	v4: - tested with tests/py/ did some minor fixes (out of tree
		build, variables set after downloads).
	    - accounted review comments for documentation.
	    - implemented dns command
            - corrected wget command to not use serverip variable and use just
		url string.
	v3: - use lwip commands for ping,tftp,wget,dhcp if this patch
	      applied. Drop CONFIG_LIB_LWIP_REPLACE_<COMMAND> option.
	    - docs: use rst variant and drop references to RFC.

build:
	git submodule init
	git submodule update
	make 

I tested with qemu and ubuntu host for the server manually and with
./test/py/test -bd qemu_arm64 --build -k net.

Maxim Uvarov (5):
  net/lwip: add lwip-external submodule
  net/lwip: add lwip library for the network stack
  net/lwip: add doc/develop/net_lwip.rst
  net/lwip: add dns command
  net/lwip: apps/http: add dns support

 .gitignore                            |   9 +
 .gitmodules                           |   3 +
 boot/bootmeth_pxe.c                   |   2 +-
 cmd/net.c                             |  89 +-------
 cmd/pxe.c                             |   2 +-
 doc/develop/index.rst                 |   1 +
 doc/develop/net_lwip.rst              |  59 +++++
 include/net.h                         |   8 +-
 lib/Kconfig                           |   2 +
 lib/Makefile                          |   2 +
 lib/lwip/Kconfig                      |  63 ++++++
 lib/lwip/Makefile                     | 103 +++++++++
 lib/lwip/apps/dhcp/lwip-dhcp.c        |  52 +++++
 lib/lwip/apps/dns/lwip-dns.c          |  46 ++++
 lib/lwip/apps/dns/lwip-dns.h          |   3 +
 lib/lwip/apps/http/lwip-wget.c        | 121 ++++++++++
 lib/lwip/apps/ping/lwip_ping.c        |  37 ++++
 lib/lwip/apps/ping/lwip_ping.h        |  24 ++
 lib/lwip/apps/ping/ping.h             |  35 +++
 lib/lwip/apps/tftp/lwip-tftp.c        | 124 +++++++++++
 lib/lwip/cmd-lwip.c                   | 308 ++++++++++++++++++++++++++
 lib/lwip/lwip-external                |   1 +
 lib/lwip/lwipopts.h                   | 203 +++++++++++++++++
 lib/lwip/port/if.c                    | 260 ++++++++++++++++++++++
 lib/lwip/port/include/arch/cc.h       |  46 ++++
 lib/lwip/port/include/arch/sys_arch.h |  59 +++++
 lib/lwip/port/include/limits.h        |   0
 lib/lwip/port/sys-arch.c              |  20 ++
 lib/lwip/ulwip.h                      |   9 +
 net/Kconfig                           |   1 +
 net/net.c                             |  24 ++
 31 files changed, 1634 insertions(+), 82 deletions(-)
 create mode 100644 .gitmodules
 create mode 100644 doc/develop/net_lwip.rst
 create mode 100644 lib/lwip/Kconfig
 create mode 100644 lib/lwip/Makefile
 create mode 100644 lib/lwip/apps/dhcp/lwip-dhcp.c
 create mode 100644 lib/lwip/apps/dns/lwip-dns.c
 create mode 100644 lib/lwip/apps/dns/lwip-dns.h
 create mode 100644 lib/lwip/apps/http/lwip-wget.c
 create mode 100644 lib/lwip/apps/ping/lwip_ping.c
 create mode 100644 lib/lwip/apps/ping/lwip_ping.h
 create mode 100644 lib/lwip/apps/ping/ping.h
 create mode 100644 lib/lwip/apps/tftp/lwip-tftp.c
 create mode 100644 lib/lwip/cmd-lwip.c
 create mode 160000 lib/lwip/lwip-external
 create mode 100644 lib/lwip/lwipopts.h
 create mode 100644 lib/lwip/port/if.c
 create mode 100644 lib/lwip/port/include/arch/cc.h
 create mode 100644 lib/lwip/port/include/arch/sys_arch.h
 create mode 100644 lib/lwip/port/include/limits.h
 create mode 100644 lib/lwip/port/sys-arch.c
 create mode 100644 lib/lwip/ulwip.h

-- 
2.30.2


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

end of thread, other threads:[~2023-08-02 16:32 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-14 14:19 [PATCHv4 0/5] net/lwip: add lwip library for the network stack Maxim Uvarov
2023-07-14 14:19 ` [PATCHv4 1/5] net/lwip: add lwip-external submodule Maxim Uvarov
2023-07-27 12:34   ` Ilias Apalodimas
2023-07-28 18:08     ` Tom Rini
2023-07-28 22:17       ` Simon Glass
2023-07-30 22:06       ` Peter Robinson
2023-08-02  8:03         ` Maxim Uvarov
2023-08-02 16:32           ` Tom Rini
2023-07-14 14:19 ` [PATCHv4 2/5] net/lwip: add lwip library for the network stack Maxim Uvarov
2023-07-27 13:29   ` Ilias Apalodimas
2023-07-27 14:23     ` Maxim Uvarov
2023-07-28 14:26     ` Maxim Uvarov
2023-07-14 14:19 ` [PATCHv4 3/5] net/lwip: add doc/develop/net_lwip.rst Maxim Uvarov
2023-07-27 12:33   ` Ilias Apalodimas
2023-07-14 14:19 ` [PATCHv4 4/5] net/lwip: add dns command Maxim Uvarov
2023-07-14 14:20 ` [PATCHv4 5/5] net/lwip: apps/http: add dns support Maxim Uvarov
2023-07-27 12:59   ` Ilias Apalodimas
2023-07-27 12:22 ` [PATCHv4 0/5] net/lwip: add lwip library for the network stack Ilias Apalodimas
2023-07-28  1:51 ` Simon Glass
2023-07-28 11:24   ` Maxim Uvarov

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