[U-Boot-Users] [PATCH] ppc flush_cache: add watch-dog triggering into the loops.

Wolfgang Denk wd at denx.de
Tue Apr 29 15:47:13 CEST 2008


Dear Kumar,

in message <DD1539F4-3992-4D8E-92D1-8C53826FDB06 at kernel.crashing.org> you wrote:
> 
> > Some boards (e.g. lwmon5) need rather a frequent watch-dog
> > kicking. Since the time it takes for the flush_cache() function
> > to complete its job depends on the size of data being flushed, one
> > may encounter watch-dog resets on such boards when, for example,
> > download big files over ethernet.
> 
> is this because the size argument being passed to flush_cache is well  
> beyond the size of the cache itself?

Yes - the thing is that after a TFTP download flush_cache() is called
for the size of the downloaded filr; this may be 8 or 32 MiB or  more
;-)

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
Severe culture shock results when experts from another protocol suite
[...] try to read OSI documents. The term "osified" is used to  refer
to  such  documents. [...] Any relationship to the word "ossified" is
purely intentional.                                - Marshall T. Rose




More information about the U-Boot mailing list