[U-Boot] Missing flush_cache in do_load function

James Chargin jimccrown at gmail.com
Mon Apr 4 18:22:58 CEST 2016


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


More information about the U-Boot mailing list