
I have found the reason. My host PC has 2 ethernet cards, and the tftp server is installed on the eth0 which ip is 192.168.0.11.
Thank you for your reply!
-----Original Message----- From: u-boot-users-admin@lists.sourceforge.net [mailto:u-boot-users-admin@lists.sourceforge.net] On Behalf Of Jerry Van Baren Sent: Wednesday, November 02, 2005 8:59 PM To: u-boot-users@lists.sourceforge.net Subject: Re: [U-Boot-Users] Help about tftp download
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@dellserver:~$ uname -a Linux dellserver.lan 2.4.27-050821 #17 SMP Sun Aug 21 22:46:01 EDT 2005 i686 GNU/Linux
vanbaren@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@dellserver:~$ ls /tftpboot/hello_world hello_world
vanbaren@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@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
SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server.
Download
it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users