Hi Jon,

I discovered /proc/yaffs and that was telling me that my file system was yaffs 
and not yaffs2.

It looks like YAFFS2 does not like the 16k erase block size of the MX27 NAND 
FLASH module. I tried a kernel with the 'auto YAFFS switch' removed (it is 
supposed to use the -t option to mount rather than 'guess' from the erase block 
size) and it refused to mount as yaffs2. From what I can see YAFFS2 needs 2k 
erase blocks and anything else forces YAFFS1.

So no checkpointing then ;-(

Regards

Phil Q

Phil Quiney, Senior Software Engineer
Trinity Convergence
Cambridge Business Park
Cowley Road
Cambridge CB4 0WZ, UK
T: +44(0)1223-435536
F: +44(0)1223-435560
www.trinityconvergence.com


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jon Povey
Sent: 24 July 2008 15:53
To: [email protected]
Subject: RE: YAFFS2 with checkpointing on DM355

> -----Original Message-----
> From: Phil Quiney [mailto:[EMAIL PROTECTED]
> Sent: 24 July 2008 15:45
> To: Jon Povey; [email protected]
> Subject: RE: YAFFS2 with checkpointing on DM355

> I tried mounting the NAND partition with yaffs2 and it seems to take 
> around 11-15 seconds to mount regardless of content.
> The MX27 core is an ARM926EJ-S running at 400MHz (199 BogoMIPS).
> 
> When unmounting - it printed 'save exit: isCheckpointed 0' on the 
> console - whatever that means.

Hmm, that looks like it's not creating a checkpoint, for whatever reason. When 
I tried the recent YAFFS2 code it said isCheckpointed 1 on unmount (but failed 
to mount again).

I have read that checkpointing can reduce several-second mount times down to 
the order of a second.. When I was googling around at some point, I don't have 
a source handy for that.

> Are there any YEFFS related settings you want me to change & try 
> again?

The kernel config looked OK to me, I don't know enough about YAFFS2 to know why 
it might not have been checkpointing properly, if that was the case.

For want of a better, and quicker, idea at the moment I am chopping down my 
root fs as much as possible and will try shrinking the mtd partition too, and 
see what that does for my boot times. If I can get it down to around 3s that 
will be acceptable.. There are some gains to be had in optimising the startup 
scripts too.

Commercial pressures are nudging me that way for an initial release:
later on I can take the time to fix YAFFS2 on DM355 and release a firmware 
update.

--
Jon Povey, Design Engineer
[EMAIL PROTECTED] | +44(0)1280 825983  

 
Racelogic is a limited company registered in England. Registered number 2743719 
. 
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks, 
MK18 1TB .
The information contained in this electronic mail transmission is intended by 
Racelogic Ltd for the use of the named individual or entity to which it is 
directed and may contain information that is confidential or privileged. If you 
have received this electronic mail transmission in error, please delete it from 
your system without copying or forwarding it, and notify the sender of the 
error by reply email so that the sender's address records can be corrected. The 
views expressed by the sender of this communication do not necessarily 
represent those of Racelogic Ltd. Please note that Racelogic reserves the right 
to monitor e-mail communications passing through its network 
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to