U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Nathaniel Hourt <i@nathaniel.land>
To: u-boot@lists.denx.de
Subject: Re: tcp server with tftp
Date: Wed, 19 Nov 2025 23:54:56 -0600	[thread overview]
Message-ID: <faaa20665a2fa04ee12ec08b2c3d1250@nathaniel.land> (raw)
In-Reply-To: <BY5PR09MB49772032490F7E91C03B9760D2D7A@BY5PR09MB4977.namprd09.prod.outlook.com>

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

  reply	other threads:[~2025-11-20  5:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-19 23:16 tcp server with tftp Yonkee, Nathan Paul
2025-11-20  5:54 ` Nathaniel Hourt [this message]
2025-11-25 22:19   ` [EXTERNAL] " Yonkee, Nathan Paul

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=faaa20665a2fa04ee12ec08b2c3d1250@nathaniel.land \
    --to=i@nathaniel.land \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox