public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] ICACHE and ARM ???
@ 2003-10-23  8:11 Steven Scholz
  0 siblings, 0 replies; only message in thread
From: Steven Scholz @ 2003-10-23  8:11 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-23  8:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-23  8:11 [U-Boot-Users] ICACHE and ARM ??? Steven Scholz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox