All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steven Scholz <steven.scholz@imc-berlin.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] ICACHE and ARM ???
Date: Thu, 23 Oct 2003 10:11:10 +0200	[thread overview]
Message-ID: <3F978D1E.2000406@imc-berlin.de> (raw)

Hi there,

my new board using Atmel's AT91RM9200 is booting now straight up to the bash!

But I noticed that the cache is _not_ enabled while U-Boot is running.
That makes tftp und bootm very slow indeed.

Now, enabling and disabling icache by accessing CP15, Reg 1 using a BDI2000 
works fine. The speed up is remarkable.

But the icache command does not work as I woud ecpect:

MulitIO> icache
p15/c1 is = c000007c
Instruction Cache is OFF

MulitIO> icache on
icache_enable(145)
p15/c1 is = c000007c
write c000107c to p15/c1
p15/c1 is = 0000617c
p15/c1 is = 0000617c
Instruction Cache is OFF

Hmm. So instead of just setting Bit 12 three other bits are set.

Is someone using icache on ARM systems?

Thanks.

-- 
Steven Scholz

imc Measurement & Control               imc Me?systeme GmbH
Voltastr. 5                             Voltastr. 5
13355 Berlin                            13355 Berlin
Germany                                 Deutschland
fon: +49 30 467090-0                    Tel: 030 / 467090-0
fax: +49 30 4631576                     fax: 030 / 4631576

                 reply	other threads:[~2003-10-23  8:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3F978D1E.2000406@imc-berlin.de \
    --to=steven.scholz@imc-berlin.de \
    --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.