Hi, all:<br>I'm developing with a at91sam9260ek board, os is linux 2.6.20, boot loader is u-boot 1.1.5.<br>We only have nand flash in the system.<br>And I want to load kernel from nand flash with jffs2 support, then I enabled fsload by adding some configs in at91sam9260ek.h.<br>One of those configuration commands is "CFG_CMD_JFFS2".<br>But it seems that this configuration is for _NOR_FLASH_ not for NAND.<br>I found another configuration is CONFIG_JFFS2_NAND, I guess this one will support jffs2 in NAND.<br>But I still can't use _fsload_, because cmd_jffs2.c depends on CFG_CMD_JFFS2. It seems that NAND only supports nand read.jffs2 adr off size<br>
nand write.jffs2 adr off size<br><br>
So, my question is:<br>Is there any way to load a file from nand(jffs2), e.g. I've one kernel image in rootfs, then I can use like this: "fsload /boot/uImage"<br><br>Any comments or advices are welcome.<br>Thanks<br>BR<br>feng<br><div> </div><div> </div>