Re: [Yaffs] How to partition a Nandsim?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Bounlith Sirivong
Date:  
To: Charles Manning
CC: yaffs
Subject: Re: [Yaffs] How to partition a Nandsim?
On Fri, 8 Oct 2010 08:18:47 +1300
Charles Manning <> wrote:

> On Friday 08 October 2010 04:57:10 Bounlith Sirivong wrote:
> > On Thu, 7 Oct 2010 16:25:02 +0200
> >
>
> When you did the nandwrite did you include the argument to write spare bytes?


I use these arguments:
nandwrite -a -o /dev/mtd0 dump.img

Is it right?

> Also, I wonder if perhaps there is a problem due to the checkpoint not
> matching the nandsim. Try mounting with the option to ignore checkpoints.
>
> mount -t yaffs2 -o"no-checkpoint-read" /dev/mtdblock0 /mnt
>
> -- Charles
>


I just try this -o "no-checkpoint-read", but it changes nothing.

When dumping the original NAND with nanddump, the write size and oob size were detected as 2048 and 56 respectively. The 56 OOB size is not conventional. This is why I modify the source code of nanddump to overwrite the OOB size to 64. Perhaps is it this point which is my issue. What do you think about this?

Bounlith.