]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: lwip: add wget command
authorJerome Forissier <jerome.forissier@linaro.org>
Wed, 16 Oct 2024 10:04:09 +0000 (12:04 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 16 Oct 2024 17:11:56 +0000 (11:11 -0600)
commit3c656c928bd7c8bd48341b813057db8ed08d6bfb
tree6ffcbe7faee884b1c82d971861f1c3aec2aa4e00
parent3135b9a9162a51a22447d1e269871c4cacac3a4e
net: lwip: add wget command

Add support for the wget command with NET_LWIP. The command normally
expects a URL: wget [loadaddr] url, but it also accepts the legacy
syntax: wget [loadaddr] [server:]file.
The server IP may alternatively be supplied via ${httpserverip} which
has higher priority than ${serverip}.

Based on code initially developed by Maxim U.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Co-developed-by: Maxim Uvarov <muvarov@gmail.com>
Cc: Maxim Uvarov <muvarov@gmail.com>
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
cmd/Kconfig
cmd/net-lwip.c
include/net-lwip.h
net/lwip/Makefile
net/lwip/wget.c [new file with mode: 0644]