Hi Andrea,
I think you are following in the footsteps of myself & Jon Povey.....
The upshot is the FLASH mounts take ages with large amounts of FLASH and
the FLASH file system versions available in the 2.6.10 MV kernel.
Basically neither JFFS2 or YAFFS2 scale particulary well, the mount time
increases with size of partition and contents. This was not a problem
when boards typically had 32 or 64M of FLASH but is very noticable when
you have larger amounts.
To counter this both JFFS2 & YAFFS2 developers have released updated
versions. JFFS2 has become UBIFS (formerly JFFS3) and YAFFS2 has added
checkpointing (to avoid checking all files by remembering files checked
last time). Unfortunately kernel 2.6.10 is too ancient for either of
these. I attempted to port YAFFS2 + checkpointing, it sort of worked but
the checkpointing would not turn itself on. (Jon had tried this as well
with the same outcome IIRC). I did not try UBIFS but according to the
website it needs > 2.6.21 for basic functionality and later for full
functionality.
As a work around you could make the root file system partition smaller -
this will at least allow the system to start up resonably quickly. The
other FLASH partitions can then be mounted later, as required.
Regards
Phil Q
Andrea Gasparini wrote:
Hi,
I finally won against my flash :P and I'm booting a root filesystem from
/dev/mtdblock3 !
The only strange thing is I have to wait about two minutes for having it
mounted...
The only notable thing I saw is the following:
2 NAND chips detected
nand_bbt: ECC error while reading bad block table
nand_bbt: ECC error while reading bad block table
Creating 5 MTD partitions on "nand_davinci.0":
0x00000000-0x001c0000 : "bootloader"
0x001c0000-0x00400000 : "params"
0x00400000-0x00800000 : "kernel"
0x00900000-0x19900000 : "filesystem1"
0x19a00000-0x1fe00000 : "filesystem2"
... it gives two ECC error, besides the whole filesystem seems correct.
Someone has faced this previously? Some ideas?
Thanks, bye!
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source