Re: [ECOS] JFFS2 questions with eCos

2005-09-21 Thread Andrew Lunn
On Wed, Sep 21, 2005 at 01:47:39PM +0800, Steven_cheng wrote: Hi Andrew, Does it have the command like ls or dir to display the content of the jffs2 imge ?? There is an ls command. You can also load images into memory using the file method. I try to use the ls, load command,

Re: [ECOS] JFFS2 questions with eCos

2005-09-21 Thread Andrew Lunn
On Wed, Sep 21, 2005 at 11:33:55AM +0800, Steven_cheng wrote: Hi Andrew, When I compile my platform with JFFS2 for RedBoot, It takes a error message, it display as following : /opt/ecoscvs/ecos/packages/fs/jffs2/current/src/readinode.c:144: parse error before int32_t

Re: [ECOS] JFFS2 questions with eCos

2005-09-21 Thread Steven_cheng
Hi Andrew, Thank you for your respond. But I still have questions. I use the command to get the source code from anoncvs, cvs -z3 -d :pserver:[EMAIL PROTECTED]:/cvs/ecos co -P ecos. But the content of the compat\linux\current\include\linux\types.h as following: /

Re: [ECOS] JFFS2 questions with eCos

2005-09-20 Thread Steven_cheng
Dear Andrws, I use the mkfs.jffs2 to create a filesystem on my host, the command is $ ./mkfs.jffs2 -o jffs2.img -r jffs2_test/ Then I put the image jffs2.img to my platform by load command. And save it as jffs2 as following in the flash: RedBoot fis list Name FLASH addr Mem

Re: [ECOS] JFFS2 questions with eCos

2005-09-20 Thread Andrew Lunn
On Tue, Sep 20, 2005 at 05:38:49PM +0800, Steven_cheng wrote: Dear Andrws, I use the mkfs.jffs2 to create a filesystem on my host, the command is $ ./mkfs.jffs2 -o jffs2.img -r jffs2_test/ Then I put the image jffs2.img to my platform by load command. And save it as jffs2 as

Re: [ECOS] JFFS2 questions with eCos

2005-09-20 Thread Steven_cheng
Hi Andrew, Thank you for your help ~~ If I have mounted the jffs2.img, then what thing I can do with JFFS2 ?? Like display the files and directories of the img or ?? Does it have the command like ls or dir to display the content of the jffs2 imge ?? Thans in advance !! Steven

Re: [ECOS] JFFS2 questions with eCos

2005-09-20 Thread Andrew Lunn
On Tue, Sep 20, 2005 at 07:41:17PM +0800, Steven_cheng wrote: Hi Andrew, Thank you for your help ~~ If I have mounted the jffs2.img, then what thing I can do with JFFS2 ?? Like display the files and directories of the img or ?? Does it have the command like ls or dir to

[ECOS] JFFS2 questions with eCos

2005-09-15 Thread Steven_cheng
Hi All, I use redboot as my bootloader, currently It works by using FIS. But I hope it can manage my flash images with JFFS2 to prevent the image upgrade failed issue when power loss. It will make device can not boot-up due to boot image damage. I have many questions about JFFS2