From: Jerry Van Baren <gerald.vanbaren@smiths-aerospace.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Help about tftp download
Date: Wed, 02 Nov 2005 07:58:32 -0500 [thread overview]
Message-ID: <4368B7F8.4030506@smiths-aerospace.com> (raw)
In-Reply-To: <4368250e.034a60ea.7467.547a@mx.gmail.com>
Li Weichen wrote:
>>Another suggestion: from a (linux) box command line, tftp to your server
>>and verify that it works. Your message is indicating that your server
>>is 192.168.4.1 and the file you are trying to get is
>>/tftpboot/u-boot.bin so do the following (I'm typing this from memory,
>>so it may not be quite right)...
>>
>>$ tftp 192.168.4.1
>>tftp> get /tftpboot/u-boot.bin
>
> Sorry but after I typed tftp 192.168.4.1, it came up with message looks like
> get uImage froam tftp server automatically.
>
>>Getting TFTP to work (i.e. properly configured) usually solves the
>>problem in my experience.
>>
>>gvb
Hi Li,
You result description ment nothing to me. Please cut & paste real
messages. Are you typing "tftp 192.168.4.1" from your _host_ (linux
server) command line?
OK, I ran a real instance on my home box (Debian 3.1 x86)
vanbaren at dellserver:~$ uname -a
Linux dellserver.lan 2.4.27-050821 #17 SMP Sun Aug 21 22:46:01 EDT 2005
i686 GNU/Linux
vanbaren at dellserver:~$ dpkg-query -l "*tftp*"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii tftp 0.17-13 Trivial file transfer protocol client
ii tftpd 0.17-13 Trivial file transfer protocol server
vanbaren at dellserver:~$ ls /tftpboot/hello_world
hello_world
vanbaren at dellserver:~$ tftp localhost
tftp> get hello_world
Received 101214 bytes in 0.1 seconds
tftp> get /tftpboot/hello_world
Received 101214 bytes in 0.0 seconds
tftp> quit
vanbaren at dellserver:~$ grep tftp /etc/inetd.conf
tftp dgram udp wait nobody /usr/sbin/tcpd
/usr/sbin/in.tftpd /tftpboot
I was a little surprised that the tftp "get" worked with the /tftpboot
full path. On a different box that I used (RH), it is configured as "-s
/tftpboot" for the option (rather than "/tftpboot") so tftpd treats
paths as relative to /tftpboot and thus the get "/tftpboot/foo" won't
work because there is no /tftpboot/tftpboot/foo on the server. This
should not be your problem since your configuration matches mine.
HTH,
gvb
next prev parent reply other threads:[~2005-11-02 12:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-01 12:50 [U-Boot-Users] Help about tftp download Li Weichen
2005-11-01 13:11 ` Wolfgang Denk
2005-11-02 2:56 ` Li Weichen
2005-11-01 14:53 ` Bob Peterson
2005-11-01 15:37 ` Jerry Van Baren
2005-11-02 2:31 ` Li Weichen
2005-11-02 12:58 ` Jerry Van Baren [this message]
2005-11-03 3:08 ` Li Weichen
2005-11-02 2:27 ` Li Weichen
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=4368B7F8.4030506@smiths-aerospace.com \
--to=gerald.vanbaren@smiths-aerospace.com \
--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