I'm happy to introduce Writable File System on FLASH for uClinux.
Sometimes ago, i thought about how useful if could use FLASH memory
just like normal hard disk. Current romfs on flash could be ok for
most applications, but romfs has basic limitation. If i want to change
some configuration files for my application, i must re-generate romfs with
and download it, and it seemed to me uneasy.
Therefore i tryed to make writeable file system on flash about 3 months
and got success.
My code is based on the progress at MTD
It's scheme is msdos fs on the top of FTL (Flash Translation Layer?) on the
top of MTD device. i've reservered 512K bytes for this at the end of flash
made MTD driver for flash and did little hacking on msdos fs driver of
I've formatted /dev/ftla with mkdosfs and mount it /mnt. And GOT DOS disk.
I've tested some file copy and power-off and reboot. after mount /dev/ftla
i could also SEE it. yah, It works!
Maybe this work could be useful or just be a one of toy :-)
But i'm now preparing my patch and you could see my code someday.
1, why msdos? -> After some test i realized that ext2fs did writing request
frequently even if i did not do anything (ex, file copy). this could be bad
FLASH. and msdosfs didnot try any writing if i do not try actual writing.
maybe ext2fs need some update for it's own purpose and it's too large to
hack for me.
2, for MTD on flash, kernel must be ram based. i've applied patch for ram
(i could'nt memory right now where this patch comes from, but somewhere in
this mailing list)
even original romfs must be copyed to ramdisk. Well,, this could be a
This message resent by the email@example.com list server http://www.uClinux.com/
This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:34 EST