[Yaffs] Verify problem with ECC

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Pihet Jean-jpih01
Date:  
To: yaffs
Subject: [Yaffs] Verify problem with ECC
Hello,

I am using the latest YAFFS and MTD tarballs on a 2.6.10 kernel on ARM1136.
My board has a Samsung NAND device with hardware ECC enabled.

The YAFFS write verify always fails. The dump shows that the ECC bytes (bytes 6..10) are in cause:
Verify failed:
Addr s0 data:
0x0000: 00 00 d0 ff ff ff f0 d6 8c ff ff ff 05 01 d8 c1
Addr s1 data:
0x0000: 00 00 d0 ff ff ff c3 fc f0 65 02 ff 05 01 d8 c1

Do you know what is the cause of this problem ? I checked that ECC and VERIFY are enabled in the config, that the oobinfo structs are correctly filled in.

Any thoughts ?

Kind regards,
Jean.