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

2009-06-02 Thread Pierre Savary
ese Cc : Pierre Savary; 'Cote, Sylvain'; u-boot@lists.denx.de Objet : Re: [U-Boot] JFFS2 with NAND flash is very SLOW ... On 15:59 Tue 02 Jun , Stefan Roese wrote: > On Tuesday 02 June 2009 15:56:25 Pierre Savary wrote: > > In fact it is not better with this config: > &

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

2009-06-02 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:59 Tue 02 Jun , Stefan Roese wrote: > On Tuesday 02 June 2009 15:56:25 Pierre Savary wrote: > > In fact it is not better with this config: > > #define CONFIG_ICACHE_ON > > #define CONFIG_DCACHE_ON > > #define CONFIG_SYS_DCACHE_SIZE 32768 > > #define CONFIG_SYS_ICACHE_SIZE

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

2009-06-02 Thread Stefan Roese
On Tuesday 02 June 2009 15:56:25 Pierre Savary wrote: > In fact it is not better with this config: > #define CONFIG_ICACHE_ON > #define CONFIG_DCACHE_ON > #define CONFIG_SYS_DCACHE_SIZE 32768 > #define CONFIG_SYS_ICACHE_SIZE 32768 > #define CONFIG_SYS_CACHELINE_SIZE 32 > > M

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

2009-06-02 Thread Pierre Savary
ierre Savary; 'Cote, Sylvain' Objet : Re: [U-Boot] JFFS2 with NAND flash is very SLOW ... On Tuesday 02 June 2009 15:23:57 Pierre Savary wrote: > Is it better to use or not D-cache and I-cache? Depends a bit on the "application". From my experience I-Cache is most importa

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

2009-06-02 Thread Stefan Roese
On Tuesday 02 June 2009 15:23:57 Pierre Savary wrote: > Is it better to use or not D-cache and I-cache? Depends a bit on the "application". From my experience I-Cache is most important. But for memory intensive applications (JFFS2 might be such a beast) D-cache could be very helpful as well. Bes

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

2009-06-02 Thread Pierre Savary
rt de Stefan Roese Envoyé : mardi 2 juin 2009 15:18 À : u-boot@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) :

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

2009-06-02 Thread Stefan Roese
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 >

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

2009-06-02 Thread Cote, Sylvain
> 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 M

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

2009-06-02 Thread Pierre Savary
[U-Boot] JFFS2 with NAND flash is very SLOW ... Dear Pierre, > It works... but I have a very big problem : it's very very slow How can > I decrease the time to load the kernel image? > I try with u-boot 1.3.3, 1.3.4 and 2009.03 but the problem is always > present... I have tr

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

2009-06-02 Thread Cote, Sylvain
Dear Pierre, > It works... but I have a very big problem : it's very very slow How can > I decrease the time to load the kernel image? > I try with u-boot 1.3.3, 1.3.4 and 2009.03 but the problem is always > present... I have tried to boot from nand with 1.3.4 and 2009.03. I can tell you tha

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

2009-06-02 Thread Pierre Savary
Hi all, Currently I work with the lpc3250 board of Phytec. I wish boot my Linux kernel from a NAND flash formatted with JFFS2. Here my current configuration: [...] #define CONFIG_CMD_NAND #define CONFIG_SYS_MAX_FLASH_BANKS 1 #define CONFIG_SYS_MAX_NAND_DEVICE 1 #define CONFIG_SYS_NAND_BA