tcp server with tftp
Nathaniel Hourt
i at nathaniel.land
Thu Nov 20 06:54:56 CET 2025
On 2025-11-19 17:16, Yonkee, Nathan Paul wrote:
> Hello all, I am writing some custom uboot to run a tcp server to
> communicate with our lab computer. I would like to be able to do a tftp
> file transfer while the server is connected, but when I try I get error
> -13. I wrote a custom tcp server with lwip and I am using tftp_loop()
> to do the tftp transfer.
TFTP is usually a UDP-based protocol... Are you sure you mean to be
using TCP with it?
If you're just looking to send a file to your device with u-boot, have
you looked at the wget command?
https://docs.u-boot.org/en/latest/usage/cmd/wget.html Or are you trying
to send a file from u-boot to your lab computer?
—
Nathaniel
More information about the U-Boot
mailing list