All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rick Stranberg <ras63@psu.edu>
To: u-boot@lists.denx.de
Subject: [U-Boot] TFTP retry count Infinite
Date: Fri, 22 Jun 2012 13:22:40 -0400	[thread overview]
Message-ID: <017f01cd509b$a0b0d9b0$e2128d10$@edu> (raw)
In-Reply-To: <20120622162334.5759020225A@gemini.denx.de>

Hello Wolfgang,

Yes, of course.  The board is a Micrel KSZ9692 (ARM 922T) SoC-based board, specifically, a Micrel KSZ9692-PB Eval Board.  The version of Uboot (which I forgot to mention) is U-Boot 1.1.4 (August 28, 2009).  Right now, all of the development will be done on this EVAL board, but we are developing a board ourselves.

The message I keep getting is:

	TFTP from server 192.168.1.11; our IP address is 192.168.1.1
	Filename 'mImage_exp'.
	Load address: 0x800000
	Loading: *
	TFTP error: 'File not found' (1)
	Starting again

And it keeps repeating itself.

Thanks a lot.  I appreciate your response.

Regards,

Rick


**********************************************************
Richard A. Stranberg                
Research and Development Engineer   http://www.arl.psu.edu
Applied Research Laboratory         
N. Atherton St.
State College PA, 16804
**********************************************************



-----Original Message-----
From: Wolfgang Denk [mailto:wd at denx.de] 
Sent: Friday, June 22, 2012 12:24 PM
To: Rick Stranberg
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] TFTP retry count Infinite

Dear Rick,

In message <016501cd5088$7e212c50$7a6384f0$@edu> you wrote:
> 
> My original thought was to write a script using environmental variables.
> The script would look for a mImage on a server and load it if it is there.
> If we don't want to load an experimental linux/rootfs mImage, we would 
> simply do not have the file present on the server, and the script 
> would proceed to the next command having not found the file on the server.
> However, when it gets to that point in the code, it continues to retry 
> over and over, and never gets past the 'File not Found' error.

It would help if you provide at least a tiny bit of information about your system, like which architecture / SoC // board you are using, and especially which exact version of U-Boot you are talking about.

The thing is, I cannot reproduce the behaviour you report.

Test on "canyonlands" (PPC):

	=> tftp 400000 foo/bar
	Waiting for PHY auto negotiation to complete... done
	ENET Speed is 1000 Mbps - FULL duplex connection (EMAC0)
	Using ppc_4xx_eth0 device
	TFTP from server 192.168.1.1; our IP address is 192.168.100.6
	Filename 'foo/bar'.
	Load address: 0x400000
	Loading: T 
	TFTP error: 'File not found' (1)
	Not retrying...
	=> 

Test on "TQM5200" (PPC):

	=> tftp 400000 foo/bar
	Using FEC device
	TFTP from server 192.168.1.1; our IP address is 192.168.160.4
	Filename 'foo/bar'.
	Load address: 0x400000
	Loading: *
	TFTP error: 'File not found' (1)
	Not retrying...
	=>

Test on m28evk (ARM):

	=> tftp 42000000 foo/bar
	Using FEC0 device
	TFTP from server 192.168.1.1; our IP address is 192.168.20.33
	Filename 'foo/bar'.
	Load address: 0x42000000
	Loading: *
	TFTP error: 'File not found' (1)
	Not retrying...
	=>



Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "The first rule of magic is simple. Don't waste your time waving your hands and hoping when a rock or a club will do."
                                               - McCloctnik the Lucid

  reply	other threads:[~2012-06-22 17:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-22 15:05 [U-Boot] TFTP retry count Infinite Rick Stranberg
2012-06-22 16:23 ` Wolfgang Denk
2012-06-22 17:22   ` Rick Stranberg [this message]
2012-06-22 18:17     ` Wolfgang Denk

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='017f01cd509b$a0b0d9b0$e2128d10$@edu' \
    --to=ras63@psu.edu \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.