public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Eric BENARD / Free <ebenard@free.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Re: Bug in AT91RM9200: icache not enabled!
Date: Sun, 13 Mar 2005 16:54:54 +0100	[thread overview]
Message-ID: <4234624E.8040406@free.fr> (raw)
In-Reply-To: <42345FB4.9070806@imc-berlin.de>

Steven Scholz a ?crit :
> thanks for your reply. Please include mailing list next time.
> 
sorry, I'm reading through gmane and I'm not subscribed to the list.
> 
> So you realy have both data and instruction cache enable in U-Boot?
> 
yes, at least I think so as kernel uncompressing is really faster when
using this setting.

Just add CFG_CMD_CACHE to #define CONFIG_COMMANDS in your
include/configs/x.h file
and you will be able to get cache informations :
=> icache
Instruction Cache is ON
=> dcache
Data (writethrough) Cache is ON

The strange thing is that :
- it's possible to turn icache off but not to enable it again
- it's not possible to turn dcache off.

=> icache off
Instruction Cache is OFF
=> icache on
Instruction Cache is OFF
=> dcache off
Data (writethrough) Cache is ON
=> dcache on
Data (writethrough) Cache is ON

I'm trying to understand why.

Eric

  parent reply	other threads:[~2005-03-13 15:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <42345CB8.2020807@free.fr>
2005-03-13 15:43 ` [U-Boot-Users] Re: Bug in AT91RM9200: icache not enabled! Steven Scholz
2005-03-13 15:49   ` Steven Scholz
2005-03-13 15:54   ` Eric BENARD / Free [this message]
2005-03-13 16:00     ` Steven Scholz

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=4234624E.8040406@free.fr \
    --to=ebenard@free.fr \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox