* tcp server with tftp
@ 2025-11-19 23:16 Yonkee, Nathan Paul
2025-11-20 5:54 ` Nathaniel Hourt
0 siblings, 1 reply; 3+ messages in thread
From: Yonkee, Nathan Paul @ 2025-11-19 23:16 UTC (permalink / raw)
To: u-boot@lists.denx.de
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: tcp server with tftp
2025-11-19 23:16 tcp server with tftp Yonkee, Nathan Paul
@ 2025-11-20 5:54 ` Nathaniel Hourt
2025-11-25 22:19 ` [EXTERNAL] " Yonkee, Nathan Paul
0 siblings, 1 reply; 3+ messages in thread
From: Nathaniel Hourt @ 2025-11-20 5:54 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [EXTERNAL] Re: tcp server with tftp
2025-11-20 5:54 ` Nathaniel Hourt
@ 2025-11-25 22:19 ` Yonkee, Nathan Paul
0 siblings, 0 replies; 3+ messages in thread
From: Yonkee, Nathan Paul @ 2025-11-25 22:19 UTC (permalink / raw)
To: u-boot@lists.denx.de
Thanks for the response. I am sending files from the pc to uboot. I tried wget and still get connection error -13 from lwip. It's coming from the function bound by tcp_err.
Nathan Yonkee
Sandia National Laboratories
Department 5324, NPC Motion Systems
npyonke@sandia.gov
505-844-7031
-----Original Message-----
From: U-Boot <u-boot-bounces@lists.denx.de> On Behalf Of Nathaniel Hourt
Sent: Wednesday, November 19, 2025 10:55 PM
To: u-boot@lists.denx.de
Subject: [EXTERNAL] Re: tcp server with tftp
[You don't often get email from i@nathaniel.land. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-11-26 0:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-19 23:16 tcp server with tftp Yonkee, Nathan Paul
2025-11-20 5:54 ` Nathaniel Hourt
2025-11-25 22:19 ` [EXTERNAL] " Yonkee, Nathan Paul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox