From: Pierre Savary Date: Tue, 2 Jun 2009 11:21:54 +0200 Subject: [U-Boot] JFFS2 with NAND flash is very SLOW ... Message-ID: <00b101c9e363$932c20e0$b98462a0$@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 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_BASE 0x20020000 #define NAND_MAX_CHIPS 1 #define CONFIG_ENV_IS_IN_NAND [...] #define CONFIG_CMD_JFFS2 [...] #define CONFIG_JFFS2_NAND #undef CONFIG_JFFS2_CMDLINE #define CONFIG_JFFS2_DEV "nand0" #define CONFIG_JFFS2_PART_SIZE 0x00C00000 #define CONFIG_JFFS2_PART_OFFSET 0x000C8000 [...] 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... Can you help me please? Thanks in advance, Best Regards Pierre