From: Pierre Savary Date: Tue, 2 Jun 2009 15:23:57 +0200 Subject: [U-Boot] JFFS2 with NAND flash is very SLOW ... In-Reply-To: <200906021517.31737.sr@denx.de> References: <579B119545DAEF4689C8FBEEFEC5793F01D4FEDA3AE0@ATLMBX.verint.corp.verintsystems.com> <200906021517.31737.sr@denx.de> Message-ID: <00c601c9e385$63278660$29769320$@savary@kerlink.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Is it better to use or not D-cache and I-cache? Currently, in my config file, I have only #define CONFIG_CMD_CACHE What do I have to add? Thanks in advance for your help. Pierre -----Message d'origine----- De?: u-boot-bounces at lists.denx.de [mailto:u-boot-bounces at lists.denx.de] De la part de Stefan Roese Envoy??: mardi 2 juin 2009 15:18 ??: u-boot at lists.denx.de Cc?: Pierre Savary; Cote, Sylvain Objet?: Re: [U-Boot] JFFS2 with NAND flash is very SLOW ... On Tuesday 02 June 2009 15:02:17 Cote, Sylvain wrote: > > In my side: > > MTD0 (720kB): U-boot > > MTD1 (80kB) : env. Variables > > MTD2 (12MB) : kernel + initramfs > > MTD3 (50MB) : rootfs > > Maybe it will not help you but I have > > MTD0 (all the nand 256M) > MTD1 uboot+ embedded config 2M RAW > MTD2 1M JFFS2 > MTD5 config 5M JFFS2 > MTD3 Kernel + initramfs 12M JFFS2 > MTD4 KernelBKp 12M JFFS2 > MTD5 content 224M > > Scanning and fsload of the MTD3 partition take 3 seconds with 2009.03 > With 1.3.4 it was something like 6-10 seconds. But never 1 minute. I have > seen that when scanning the content partition of 224M. Parameters like I-cache and D-cache handling greatly effect this scan time. Some platforms have caches enabled others don't. This might explain some differences here. Best regards, Stefan ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de ===================================================================== _______________________________________________ U-Boot mailing list U-Boot at lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot