[U-Boot] [PATCH] net: Change the NFS_TIMEOUT to 20s for using nfs load image.

Wolfgang Denk wd at denx.de
Mon Aug 16 12:45:39 CEST 2010


Dear Li Yang,

In message <AANLkTi=o6z1eBM1af94ZP5-s6_3Vf6TTP2VEdHDZWe=A at mail.gmail.com> you wrote:
>
> >>  #define NFS_RETRY_COUNT 30
> >> -#define NFS_TIMEOUT 2000UL
> >> +#define NFS_TIMEOUT 20000UL
> >
> > You mean 30 retries (NFS_RETRY_COUNT) every two seconds were not
> > sufficient in your case?
> >
> > That's a full minute...
> 
> It didn't retry 30 times before it fails completely in our test:
> 
> Load address: 0x400000
> Loading: T T T T T *** ERROR: Cannot mount
> T T *** ERROR: Cannot umount
> 
> Looks like the state machine is not working as expected?

...or something else is causing errors.

I have never seen such behaviour yet.  Please try and debug it. Simply
raising the timeout limit seems the wrong approach to me.

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
When the bosses talk about improving  productivity,  they  are  never
talking about themselves.


More information about the U-Boot mailing list