From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric BENARD / Free Date: Sun, 13 Mar 2005 16:54:54 +0100 Subject: [U-Boot-Users] Re: Bug in AT91RM9200: icache not enabled! In-Reply-To: <42345FB4.9070806@imc-berlin.de> References: <42345CB8.2020807@free.fr> <42345FB4.9070806@imc-berlin.de> Message-ID: <4234624E.8040406@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Steven Scholz a ?crit : > thanks for your reply. Please include mailing list next time. > sorry, I'm reading through gmane and I'm not subscribed to the list. > > So you realy have both data and instruction cache enable in U-Boot? > yes, at least I think so as kernel uncompressing is really faster when using this setting. Just add CFG_CMD_CACHE to #define CONFIG_COMMANDS in your include/configs/x.h file and you will be able to get cache informations : => icache Instruction Cache is ON => dcache Data (writethrough) Cache is ON The strange thing is that : - it's possible to turn icache off but not to enable it again - it's not possible to turn dcache off. => icache off Instruction Cache is OFF => icache on Instruction Cache is OFF => dcache off Data (writethrough) Cache is ON => dcache on Data (writethrough) Cache is ON I'm trying to understand why. Eric