Skip to contentSkip to conversation

ICACHE and ARM ???

U-Boot-Users Steven Scholz 1 participant 1 message Oct 23, 2003

lore
Share & tools
lore
#0 lore 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.

Signature · 8 lines
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