All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Missing flush_cache in do_load function
@ 2016-04-01  6:24 Borsodi Petr
  2016-04-04 16:22 ` James Chargin
  0 siblings, 1 reply; 2+ messages in thread
From: Borsodi Petr @ 2016-04-01  6:24 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] Missing flush_cache in do_load function
  2016-04-01  6:24 [U-Boot] Missing flush_cache in do_load function Borsodi Petr
@ 2016-04-04 16:22 ` James Chargin
  0 siblings, 0 replies; 2+ messages in thread
From: James Chargin @ 2016-04-04 16:22 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-04 16:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-01  6:24 [U-Boot] Missing flush_cache in do_load function Borsodi Petr
2016-04-04 16:22 ` James Chargin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.