From: Wolfgang Denk Date: Tue, 29 Apr 2008 15:47:13 +0200 Subject: [U-Boot-Users] [PATCH] ppc flush_cache: add watch-dog triggering into the loops. In-Reply-To: Your message of "Tue, 29 Apr 2008 08:28:24 CDT." Message-ID: <20080429134714.0C51824681@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Kumar, in message 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