From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Chargin Date: Mon, 4 Apr 2016 09:22:58 -0700 Subject: [U-Boot] Missing flush_cache in do_load function In-Reply-To: References: Message-ID: <570294E2.5010303@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On 03/31/2016 11:24 PM, Borsodi Petr wrote: > Hi all, > > I found a problem with load command on ARM based board. When I load hello_world standalone application using filesystem load command, the u-boot crashes. Loading with loads is OK. > I think that the problem is caused by cache inconsistency. If I add calling the flush_cache function, problem is solved. I also ran into cache inconsistency problems when copying the stand alone from NOR flash to RAM. I was using Freescale 85xx SOC. Based on a few email conversations I had at the time, I added http://www.denx.de/wiki/view/DULG/UBootStandalone#Section_5.12.3. Maybe you will find something useful. Jim > > Petr Borsodi > > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot > -- Jim Chargin AJA Video Systems jimc at aja.com (530) 271-3334 http://www.aja.com