[U-Boot-Users] ICACHE and ARM ???
Steven Scholz
steven.scholz at imc-berlin.de
Thu Oct 23 10:11:10 CEST 2003
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
More information about the U-Boot
mailing list