[U-Boot-Users] How to support fsload in NAND

Hi, all: I'm developing with a at91sam9260ek board, os is linux 2.6.20, boot loader is u-boot 1.1.5. We only have nand flash in the system. And I want to load kernel from nand flash with jffs2 support, then I enabled fsload by adding some configs in at91sam9260ek.h. One of those configuration commands is "CFG_CMD_JFFS2". But it seems that this configuration is for _NOR_FLASH_ not for NAND. I found another configuration is CONFIG_JFFS2_NAND, I guess this one will support jffs2 in NAND. 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 nand write.jffs2 adr off size
So, my question is: 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"
Any comments or advices are welcome. Thanks BR feng

In message 19981213.273291198737104702.JavaMail.coremail@bj126app68.126.com you wrote:
I'm developing with a at91sam9260ek board, os is linux 2.6.20, boot loader is u-boot 1.1.5.
Why are you posting the very same message twice with a different subject?
Please make sure to read http://www.catb.org/%7eesr/faqs/smart-questions.html
------=_Part_72026_14575315.1198737104700 Content-Type: text/html; charset=gbk Content-Transfer-Encoding: 7bit
And stop posting HTML.
Best regards,
Wolfgang Denk

Why are you posting the very same message twice with a different subject?
Sorry, wrong window while sending the emails.
Why are you using such a old boot loader u-boot 1.1.5
Because that new one (1.3.1) doesn't support board AT91SAM9260EK provided by ATMEL. The old one modified by ATMEL supports. Don't know if it's easy to make 1.3.1 supports this board, we are really on a tight schedule :)
在2007-12-27,"Wolfgang Denk" wd@denx.de 写道: In message 19981213.273291198737104702.JavaMail.coremail@bj126app68.126.com you wrote:
I'm developing with a at91sam9260ek board, os is linux 2.6.20, boot loader is u-boot 1.1.5.
Why are you posting the very same message twice with a different subject?
Please make sure to read http://www.catb.org/%7eesr/faqs/smart-questions.html
------=_Part_72026_14575315.1198737104700 Content-Type: text/html; charset=gbk Content-Transfer-Encoding: 7bit
And stop posting HTML.
Best regards,
Wolfgang Denk
participants (3)
-
feng_tian
-
feng_tian@126.com
-
Wolfgang Denk