On Mon, Dec 08, 2008 at 10:18:05AM -0000, Jon Povey wrote: > Phil Quiney wrote: > > 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). > > Yep I gave up fast :) We are living on "seems to work" for now, when the > hallowed GIT kernel matures for DM355 + drivers, maybe we will port and > everything will be roses. > > > 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. > > That's what I did. I run a 32MB root partiton. > > I also see these ECC failures for the bad block table. However: the BBT > still gets created, read by u-boot, and flash_erase and yaffs2 mounts > seem aware of > bad blocks under Linux.. and nothing has broken yet.. touch wood. > So, I have more important fires to put out. But it is on the list of > "worrying things" :(
did you get davinci_nand.c working with current GIT and dm355 ?? I added supported to dm355 and have also a cleanup patch to the driver so it looks more sane. The behaviour right now is that it creates the partitions, but looks like the devnodes are not created, look below: Creating 5 MTD partitions on "davinci_nand": 0x00000000-0x003c0000 : "bootloader" 0x003c0000-0x00400000 : "params" 0x00400000-0x00800000 : "kernel" 0x00800000-0x20800000 : "filesystem1" 0x20800000-0x40000000 : "filesystem2" davinci_nand davinci_nand: controller rev. 95.190 VFS: Cannot open root device "mtdblock3" or unknown-block(2,0) Please append a correct "root=" boot option; here are the available partitions: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0) Also, see how the controller revision is completely messed up. -- balbi _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
