OOB data difference

Rupesh Kumar Rupesh.Kumar at Lntemsys.com
Sun Aug 2 23:21:17 EDT 2009


Hi all,

I booted with ramdisk rfs image and erased one of the flash partition with 
flash_eraseall (with -j option) utility. The OOB data written in the 
partition was as shown as below.

OOB:
        ff ff ff ff ff ff 9a a5
        a6 ff ff ff ff ff ff ff
        ff ff ff ff ff ff 03 33
        0c ff ff ff ff ff ff ff
        ff ff ff ff ff ff 03 c0
        3f ff ff ff ff ff ff ff
        ff ff ff ff ff ff a5 65
        a6 ff ff ff ff ff ff ff

Then, booted with jffs2 rfs image and repeated same operation, the OOB 
data written was

OOB:
        ff ff ff ff ff ff 0c 33
        0c ff ff ff ff ff ff ff
        ff ff ff ff ff ff 30 ff
        0c ff ff ff ff ff ff ff
        ff ff ff ff ff ff f3 cf
        3c ff ff ff ff ff ff ff
        ff ff ff ff ff ff ff c0
        0c ff ff ff ff ff ff ff

command used for erasing flash partition in both cases was 
# flash_eraseall -j /dev/mtd11

I want to know :-
1) why there is difference between written OOB data when erasing while 
booted with ramdisk image and that of when booted with jffs2 image , even 
though i am using same utility (with same option) to erase flash 
partition.
2) is flash_eraseall utility functionality depends on the type of RFS 
system booted with ?
 

Thanks
Rupesh 





More information about the linux-mtd mailing list