This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Newbie: JFFS2 & serial flash


Lee Davies wrote:

Hi Everyone,

This is probably a very silly question but here goes...

I noticed the ECOS has support for JFFS2 and serial flash devices, can JFFS2 use serial flash?

Yes it can, but there are some issues with DataFlash's sector size wich is not a power of 2.
There are a few places in JFFS2 where the sector size is presumed to be power of 2 - mostly
code like this '... & ~(sector_size-1)'. Also there are some issues with mkfs.jffs2.


Check the following link for more insights :

http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2004-June/023041.html

savin


--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]