Skip to contentSkip to conversation

Erase Sector Size

DISCUSSION Ashok M Padmanaban 2 participants 2 messages Aug 21, 2001 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi,
Iam using intels 28F128 Strata flash, According to its data sheet
its erase sector size is 128KB.
But with 2.4.2 kernel + rmk2 (patch,diff) + mtd patch , the erase sector size
is 256KB.
As 5 sectors have to be reserved for garbage collection in jffs2. When i make a
1MB partition iam left with no space on the jffs2 partition. How can i make the erase sector size to 128KB, is this configurable and if so
what should i do change it.

thanks and regards
ashok

begin:vcard
n:.m.padmanabhan;ashok
tel;work:5281461/5281229 ext 3096
x-mozilla-html:FALSE
org:sasken communication technologies ltd;internt access solutions version:2.1
email;internet:[email protected]
title:software engineer
adr;quoted-printable:;;3008,12 th B cross,=0D=0Aindranagar ;banglore;;;india
x-mozilla-cpt:;0
fn:ashok .m.padmanabhan
end:vcard

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

Iam using intels 28F128 Strata flash, According to its data sheet its
erase sector size is 128KB. But with 2.4.2 kernel + rmk2 (patch,diff)
+ mtd patch , the erase sector size is 256KB.

It's not configurable. You probably have two 16-bit devices arranged in a pair to give a 32-bit data path - which doubles the effective erase size because it doesn't make sense to erase one half at a time.

We just need to fix JFFS2 so it isn't so greedy.

--
dwmw2