Re: [Yaffs] Fwd: YAFFS ECC error

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: zheng wei, yaffs
Subject: Re: [Yaffs] Fwd: YAFFS ECC error
I only see mtd errors here.

Since you're getting these errors during the mount it suggests that the NAND
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 <>
> Date: Apr 11, 2005 6:45 PM
> Subject: YAFFS ECC error
> To:
>
>
> 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 = -DCONFIG_YAFFS_USE_NANDECC #zw
> USE_NANDECC = -DCONFIG_YAFFS_USE_NANDECC
>
> Copy the new yaffs.o to root_china/lib/, then use the nfs mode to log in.
> 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
> #