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

Pierre Savary pierre.savary at kerlink.fr
Tue Jun 2 11:21:54 CEST 2009


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




More information about the U-Boot mailing list