From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhen Wang Date: Thu, 10 Nov 2005 14:12:15 +0800 Subject: [U-Boot-Users] TFTP times out? In-Reply-To: References: Message-ID: <4372E4BF.8020401@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Bharathi Subramanian Wrote: > On Thu, 10 Nov 2005, Zhen Wang wrote: > > >>>>I think the network condition is OK, but the TFTP always times >>>>out. > > >>But the board is connected to my PC directly through a twisted cable. > > > 1. Then TFTP is not properly configured OR not running. > 2. Restart the xinetd and try (if it is GNU/Linux Env) > 3. Try tftp from another PC, if that works, then try from the board. > > Bye :) I did check out my tftp server configurations carefully after read your reply. 1. I am running Fedora Core 4 on my PC and installed tftp-server-0.40-6.i386.rpm. I did check out it by typing 'rpm -q tftp-server'. 2. I turned on tftp service and turned off iptables service, and configured no firewall. 3. I restarted xinetd successfully by typing 'service xinted restart'. 4. After typing 'netstat -a|grep tftp' I could see the output 'udp 0 0 *:tftp *:*'. 5. The /tftpboot directory's permission was 'drwxr-xr-x'. 6. I could tftp zImage successfully from another PC running Win XP over the Ethernet but still timed out from my board. In a word, I think I should revise the tftpboot relevant codes to prolong the time before time out. But I don't the exact file(location). Best regards, Zhen Wang