[ECOS] Newbie: JFFS2 & serial flash

Savin Zlobec savin@elatec.si
Wed Jan 12 08:33:00 GMT 2005


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



More information about the Ecos-discuss mailing list