Re: [Yaffs] Failed ECC read

Startseite
Anhänge:
Nachricht
+ (text/plain)
Nachricht löschen
Nachricht beantworten
Autor: ian@brightstareng.com
Datum:  
To: yaffs
Betreff: Re: [Yaffs] Failed ECC read
On Thursday 13 July 2006 06:07, Puker wrote:
> Sure, I integrated it into kernel version 2.6.11. It's yaffs
> using MTD ECC. The flash part that I'm using a
> K9F1208U0B(64MB, 512 byte per page) from Samsung.
>
> Using "nanddump" and u-bootloader "nand read" , I verified
> that the data 0xA00 and above are the same.
> However,u-bootloader's "nand read" reading bytes offset from 0
> to 0x9FF gets "Failed ECC read".
>
> "nand read 10000 0 200": read from nand offset <0x0> size
> 0x200 bytes to physical location 0x10000
>
> Question: Why is it that ECC is not used for these particular
> bytes? or is it something else I got wrong?


Are you using MTD partitioning? -- does the Yaffs data start
where you think it should, does uboot know about this?
If first 5 pages (0-9ff) are blank, then you can expect ECC check
failure on these pages.

-imcd