[U-Boot] JFFS2 with NAND flash is very SLOW ...

Pierre Savary pierre.savary at kerlink.fr
Tue Jun 2 15:23:57 CEST 2009


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



More information about the U-Boot mailing list