From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Scholz Date: Thu, 23 Oct 2003 10:11:10 +0200 Subject: [U-Boot-Users] ICACHE and ARM ??? Message-ID: <3F978D1E.2000406@imc-berlin.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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