[Yaffs] Fwd: YAFFS ECC error

Charles Manning manningc2@actrix.gen.nz
Thu, 14 Apr 2005 07:59:31 +1200


I only see mtd errors here.

Since you're getting these errors during the mount it suggests that the N=
AND=20
is full of garbage. Please erase the NAND and start again.

Have you tried turning on more tracing in YAFFS.? Set yaffs_traceMask.

-- Charles



On Wednesday 13 April 2005 23:41, zheng wei wrote:
> ---------- Forwarded message ----------
> From: zheng wei <jeanwelly@gmail.com>
> Date: Apr 11, 2005 6:45 PM
> Subject: YAFFS ECC error
> To: yaffs@stoneboat.aleph1.co.uk
>
>
> Hi, all
>    I'm running yaffs+nandflash on my S3C2410, and I don't use the ecc
> check of MTD. I open the yaffs ecc. Errors found as follows:
>
> Revise the Makefile of yaffs:
> # USE_NANDECC =3D -DCONFIG_YAFFS_USE_NANDECC #zw
> USE_NANDECC =3D -DCONFIG_YAFFS_USE_NANDECC
>
> Copy the new yaffs.o to root_china/lib/, then use the nfs mode to log i=
n.
> Then...
> #mount -t yaffs /dev/mtdblock/4 /usr
> oob : 0 0 d0 ff ff ff 47 1 3f ff 3 cc c1 aa a6 57
> ecc_code : 99 aa 97 c3 ff 3
<snip ...>
> ecc_calc : ff 3 f f0 33 3
> oob : 0 0 d0 ff ff ff 1f 2 3 ff f 58 c1 33 f0 3
> #
> # mount -t yaffs /dev/mtdblock/4 /usr
> mount: Mounting /dev/mtdblock/4 on /usr failed: Device or resource busy
> #