public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot]  OMAP3 NAND ECC bug report
@ 2011-10-20  9:06 Arno Steffen
  2011-10-21  9:28 ` Arno Steffen
  2011-10-27 15:22 ` Ivan Nardi
  0 siblings, 2 replies; 9+ messages in thread
From: Arno Steffen @ 2011-10-20  9:06 UTC (permalink / raw)
  To: u-boot

I did tests with OMAP3 uboot. The SW-ECC (testet 1 bit, 4 bit BCH)
doesn't correct errors in environment (during power-up).
Compiling uboot for default HW-ECC - correction works fine.
Testet with TI's PSP 4.02.00.07 (almost like arago latest version).

I modified single bits by adding a patch (thanks Scott Wood) to uboot,
that allows write in raw mode to flash. Single bit error can corrected
with HW-ECC, not with SW-ECC.
This report is only about uboot environment, which is read in startup.
I didn't test it, but from my experience the correction works fine,
beside the initial reading of the environment, as for reading and
starting the kernel.

Imho this is very critical, as reliability is suffered if a device
isn't booting.

Best regards
Arno

PS:
The link below refers to a previous discussion.
http://lists.denx.de/pipermail/u-boot/2011-September/100486.html

in omap_gpmc.c I used this in board_nand_init()

...
	nand->chip_delay = 100;
	nand->ecc.mode = NAND_ECC_4BIT_SOFT;
	nand_curr_device = 0;
	omap_nand_switch_ecc(NAND_ECC_4BIT_SOFT, 1);
	return 0;
}

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

end of thread, other threads:[~2011-10-31  9:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-20  9:06 [U-Boot] OMAP3 NAND ECC bug report Arno Steffen
2011-10-21  9:28 ` Arno Steffen
2011-10-25  7:41   ` Arno Steffen
2011-10-26 20:26     ` Scott Wood
2011-10-28  6:10       ` Arno Steffen
2011-10-28 16:06         ` Scott Wood
2011-10-31  9:36           ` Arno Steffen
2011-10-27 15:22 ` Ivan Nardi
2011-10-27 19:02   ` Scott Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox