Which filesystem for NAND?
Hello
As YAFFS2 is no longer available in the uClinux distribution I'm using, I need to move on to another filesystem. In this list, which filesystem would you recommend to hold the root filesystem in the NAND? Miscellaneousfilesystems
Also, what is the recommend way to copy the ext2 root filesystem from RAM onto the NAND? Is it OK to simply boot in RAM, and then simply mount the NAND and copy the whole root tree onto the NAND? Thank you. |
I gave JFFS2 a try, and noticed that...
1. "flash_eraseall -j /dev/mtd2" is pretty slow (15mn to format a 256MB NAND) 2. After running "mount -t jffs2 /dev/mtdblock2 /mnt", uClinux is stuck for a couple of minutes with the following message: Quote:
Thank you. |
Hello,
If you use a kernel >= 2.6.28 (not sure about the version), you should give a try to ubifs. It is supposed to be JFFS2 successor: it should be faster, more reliable... About your JFFS2 problem, is it just stuck but the command succeed ? or is it stuck and finally got a failure ? If you are in the first case, it is maybe because of the size of your partition: be aware that JFFS2 partition are very very long to mount :( Kind regards, Oliv' |
Thanks for the tip. I did move on to Ubi(fs)... with which I'm currently struggling to get to work because I don't fully understand which commands and settings to use, but I should have this figured out in a little while.
For those interested, the main source of information is here: http://www.linux-mtd.infradead.org Thank you. |
All times are GMT -5. The time now is 06:19 PM. |