Re: [Yaffs] How to investigate file corruption in a Yaffs2fi…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Ross Younger
Date:  
To: yaffs
Subject: Re: [Yaffs] How to investigate file corruption in a Yaffs2filesystem
* Brian Robertson <> wrote:
> So what we would want to do is read the entire contents of the NAND
> without altering it. [...]
> At present we have used dd to grab the image but my guess is that
> nanddump is better so we can also get the OOB data. Maybe we also need
> to consider JTAG.


If you want to be able to analyse the YAFFS tags, which you probably
do, you absolutely must have the OOB data; dd just won't do. My recent
work was on a non-MTD platform, so I had to roll my own dump tool, but
nanddump ought to do the job. JTAG is likely to work on most hardware
setups, provided you configure your interface correctly; reading out
the NAND by both methods and comparing the two dumps will be helpful in
trying to spot whether a problem lies with your MTD driver.


Ross