jffs2 filesystem on flash problem CRC errpr
gyf606-mtd at yahoo.com.cn
gyf606-mtd at yahoo.com.cn
Fri Sep 17 06:28:30 EDT 2004
--- David Woodhouse <dwmw2 at infradead.org> wrote:
> On Fri, 2004-09-17 at 10:31 +0800, gyf606-mtd at yahoo.com.cn wrote:
> > Thank you for your attention, Mr. Woodhouse. I followed your suggestion, but the problem still
> > exists. Do you think maybe that's because of the bad format of the jffs2 image file(fs1.img)?
> > How can I get a good file to be mounted ? Is it platform independent?
>
> The only platform-dependence is the endianness, and if you had that
> wrong it wouldn't manifest itself as CRC errors.
>
> Can you read back the contents of the flash from /dev/mtd4 immediately
> after writing them, but before you attempt to mount JFFS2? Check that
> there is no corruption there.
>
Yes, I can read back from /dev/mtd4 immediately after writing them!
And the bytes are exactly what I have copied(i.e. the jffs2 image file).
_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
More information about the linux-mtd
mailing list