All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Chargin <jimccrown@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Missing flush_cache in do_load function
Date: Mon, 4 Apr 2016 09:22:58 -0700	[thread overview]
Message-ID: <570294E2.5010303@gmail.com> (raw)
In-Reply-To: <E6216C80788EE04CBCEC3CBB6C131DF82B351432@SCBU101.ad.i.cz>

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

      reply	other threads:[~2016-04-04 16:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-01  6:24 [U-Boot] Missing flush_cache in do_load function Borsodi Petr
2016-04-04 16:22 ` James Chargin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=570294E2.5010303@gmail.com \
    --to=jimccrown@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.