Skip to contentSkip to conversation

Mix flash sector size and JFFS2

DISCUSSION Sylvain Meunier 2 participants 2 messages Aug 5, 2002 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hello,

Does a single filesystem JFFS2 need that all sectors of flash partition are same size or
could we use different sector size (as for some flash that mix small and big sector). ?

Thanks

Sylvain

#1 lore raw
Quoted 3 lines · [email protected] said:

Does a single filesystem JFFS2 need that all sectors of flash
partition are same size or could we use different sector size (as for some flash that mix small and big sector). ?

JFFS2 only operates with a single sector size. However, when you have smaller erase blocks you will generally find that they add up to a single block's worth of the normal erase size. For example, 8*8KiB + 15*64KiB.

JFFS2 will work OK on that, and just treat the 8*8KiB blocks as a single 64KiB block.

--
dwmw2