]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: lwip: add TFTP support and tftpboot command
authorJerome Forissier <jerome.forissier@linaro.org>
Wed, 16 Oct 2024 10:04:05 +0000 (12:04 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 16 Oct 2024 17:11:56 +0000 (11:11 -0600)
commit4d4d7838127ec8a95d256285759e8cc781041408
tree55618cc1557ed1072d311ae5f7b8c1bb2ce0e4bb
parent5634ecc88e9fc9bd1bd422861ee4d9dbac851b32
net: lwip: add TFTP support and tftpboot command

Implement do_tftpb(). This implementation of the tftp command
supports an optional port number. For example:

 tftp 192.168.0.30:9069:file.bin

It also supports taking the server IP from ${tftpserverip} if
defined, before falling back to ${serverip}.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Tested-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
cmd/Kconfig
cmd/net-lwip.c
include/net-common.h
include/net-lwip.h
lib/binman.c
net/lwip/dhcp.c
net/lwip/net-lwip.c
net/lwip/tftp.c