Author: Puker Date: To: ian CC: yaffs Subject: Re: [Yaffs] Failed ECC read
> Are you using MTD partitioning? -- does the Yaffs data start > where you think it should, does uboot know about this?
No, I'm not using MTD partitioning for this NAND flash but I'm using
partitioning for NOR flash (shouldn't have any impact here).
I copied that data to the NAND flash by first mounting the system on
NFS, "eraseall /dev/mtd3", "mount -t yaffs /dev/mtd3 /mnt" and "cp -drf"
the necessary files into /mnt.
~ # dmesg
...
Creating 1 MTD partitions on "K9F1208U0B":
0x00000000-0x04000000 : "Filesystems"
...
yaffs: dev is 32505859 name is "mtdblock3"
yaffs: Attempting MTD mount on 31.3, "mtdblock3"
VFS: Mounted root (yaffs filesystem).
...
> If first 5 pages (0-9ff) are blank, then you can expect ECC check
> failure on these pages.
No, the first 5 pages are not blank. They seemed to be valid data. The
first 0x1B bytes are "..........Source............" in ascii