Re: [U-Boot] OMAP3 NAND ECC bug report

2011-10-31 Thread Arno Steffen
Sure, Scott, not blame on you. Just frustating, doing bughunting for issues that have been fixed long time ago. I would expect a bit more from TI in this case. My fault obviously. Ok, finally I got it, that's what matters. - Arno 2011/10/28 Scott Wood : > On 10/28/2011 01:10 AM, Arno Steffen wrot

Re: [U-Boot] OMAP3 NAND ECC bug report

2011-10-28 Thread Scott Wood
On 10/28/2011 01:10 AM, Arno Steffen wrote: > I have been used u-boot supportet (or better say not suppported) by TI > in their latest PSP/SDK (Juli 2011). > Base is 2010.06. But this issue was also inside older versions. It's not older versions I'm concerned about, but newer ones. This bug has b

Re: [U-Boot] OMAP3 NAND ECC bug report

2011-10-27 Thread Arno Steffen
I have been used u-boot supportet (or better say not suppported) by TI in their latest PSP/SDK (Juli 2011). Base is 2010.06. But this issue was also inside older versions. - Arno ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/l

Re: [U-Boot] OMAP3 NAND ECC bug report

2011-10-27 Thread Scott Wood
On 10/27/2011 10:22 AM, Ivan Nardi wrote: > On 20 October 2011 11:06, Arno Steffen wrote: >> >> 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. > > Hi all, > > I woul

Re: [U-Boot] OMAP3 NAND ECC bug report

2011-10-27 Thread Ivan Nardi
On 20 October 2011 11:06, Arno Steffen wrote: > > 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. Hi all, I would be very interested in using that patch (it is very use

Re: [U-Boot] OMAP3 NAND ECC bug report

2011-10-26 Thread Scott Wood
On 10/25/2011 02:41 AM, Arno Steffen wrote: > I am feeling to spam the board but found finally the reason for this > behaviour. > > nand_read returns with -EUCLEAN in case of correcting errors, and this > will later on reported as BAD NAND, although this error is corrected. > > Correct me if I a

Re: [U-Boot] OMAP3 NAND ECC bug report

2011-10-25 Thread Arno Steffen
I am feeling to spam the board but found finally the reason for this behaviour. nand_read returns with -EUCLEAN in case of correcting errors, and this will later on reported as BAD NAND, although this error is corrected. Correct me if I am wrong. What I did is chaning env_nand.c: while (a

Re: [U-Boot] OMAP3 NAND ECC bug report

2011-10-21 Thread Arno Steffen
I think reason that SW_ECC is not working, is in omap_gpmc.c: omap_nand_switch_ecc(): case NAND_ECC_SOFT: nand->ecc.mode = NAND_ECC_SOFT; /* Use mtd default settings */ nand->ecc.layout = NULL; printf("SW ECC selected\n");

[U-Boot] OMAP3 NAND ECC bug report

2011-10-20 Thread Arno Steffen
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 (than