[U-Boot] TFTP retry count Infinite

Rick Stranberg ras63 at psu.edu
Fri Jun 22 17:05:42 CEST 2012


Hello Everyone,

 

I'm new to this list and thought I would post a question.  We are developing
a FLASH-based board based on Micrel's KSZ9692 SOC that will run Linux
version 2.6.23.17.   Our desire is to be able to load a new Linux/rootfs
image via TFTP for testing without overwriting the current kernel/rootfs
stored in FLASH.

 

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.  

 

I looked in the README file and found the variable CONFIG_NET_RETRY_COUNT
and it seems to be set in a lot of files.  However, if this variable applies
to this, the script just ignores it and continues.

 

Does this parameter apply to this situation?  If not, what section of code
would I add/change to include this?  Not having modified Uboot, the task
seems to be daunting.  How would I begin?  Where would I start? 

 

Thanks a lot!

 

Regards,

Rick

 

 

 



More information about the U-Boot mailing list