linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* enhance ONFI table reliability/stable
@ 2015-07-21 14:42 Bean Huo 霍斌斌 (beanhuo)
  2015-11-18  2:50 ` Brian Norris
  0 siblings, 1 reply; 6+ messages in thread
From: Bean Huo 霍斌斌 (beanhuo) @ 2015-07-21 14:42 UTC (permalink / raw)
  To: linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org

Hi, 

Recently, I faced some case about ONFI table reliability, now it used CRC.
If there is bit flips in ONFI parameter pages, parameter backup page will be taken. 
For latest linux,default read three copys.

	chip->cmdfunc(mtd, NAND_CMD_PARAM, 0, -1);
	for (i = 0; i < 3; i++) {
		for (j = 0; j < sizeof(*p); j++)
			((uint8_t *)p)[j] = chip->read_byte(mtd);
		if (onfi_crc16(ONFI_CRC_BASE, (uint8_t *)p, 254) ==
				le16_to_cpu(p->crc)) {
			break;
		}
	}

However ,with technoogy improvement,for TLC and new generatin MLC,I think, three copys of 
Parameter tables is not powerful enough.my question is that if there is a good method to protect and corrent parameter page. For example,we can use linux software BCH ecc.
Any suggections and input be welcomed,if you having any concerns about this,don't free tell me.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-11-21  8:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-21 14:42 enhance ONFI table reliability/stable Bean Huo 霍斌斌 (beanhuo)
2015-11-18  2:50 ` Brian Norris
2015-11-19  4:21   ` Bean Huo 霍斌斌 (beanhuo)
2015-11-20 23:59     ` Brian Norris
2015-11-21  7:46       ` Boris Brezillon
2015-11-21  8:27         ` Brian Norris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).