Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 125225

Forum Post: RE: NAND ECC error addresses above 512

$
0
0

Hi German Baranov,

I totally agree with you. I just ignored the errors above 511 in my ubl code.

Another question, since the nand flash I used needs 4-bit ecc, but in linux kernel code:

static struct nand_davinci_platform_data nand_data = {
.options = 0,
.ecc_mode = NAND_ECC_SOFT,
.cle_mask = 0x10,
.ale_mask = 0x08,
.bbt_td = &nand_davinci_bbt_main_descr,
.bbt_md = &nand_davinci_bbt_mirror_descr,
.parts = nand_partitions,
.nr_parts = ARRAY_SIZE(nand_partitions),
};

It use soft ecc for filesystem. when I change ecc_mode to NAND_ECC_HW_SYNDROME, try to burn the filesystem using nfs, then mount the partition (mtdblock3) again, I found some files and directories are lost.

Do you meet this problem before? I use 2.6.18 linux kernel.

Thanks.

Xiaoguang

 


Viewing all articles
Browse latest Browse all 125225

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>