[U-Boot] Missing flush_cache in do_load function

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.
Petr Borsodi

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@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
participants (2)
-
Borsodi Petr
-
James Chargin