Can't use fsload command
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071227/605c0f7c/attachment.htm
Quoted 2 lines · In message <[email protected]>…
I'm developing with a at91sam9260ek board, os is linux 2.6.20, boot loader is u-boot 1.1.5.
Why are you using such an old (actually a prehistoric) version of U-Boot? Please do yourself (and us) a favour and use current code (1.3.1 or later) instead.
Quoted 2 lines
Content-Type: text/html; charset=gbk
Content-Transfer-Encoding: 7bit
And don't post HTML on this list.
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de ... Jesus cried with a loud voice: Lazarus, come forth; the bug hath been found and thy program runneth. And he that was dead came forth... -- John 11:43-44 [version 2.0?]