Hi,
Thanks Andrea and Jon for your help.
Patch worked for me.
But I didn't understand the technical reason behind it.
Could you pls explain me?

Thanks and Regards,
Jitendra


-----Original Message-----
From: Jon Povey [mailto:[email protected]] 
Sent: Friday, January 16, 2009 2:57 PM
To: Jain, Jitendra [PROTOOL/RTC/IN];
[email protected]
Subject: RE: recompiled u-boot on DM355 gets ECC error on first NAND
read, but then works

From: [email protected] [mailto:[email protected]] 
> I found your mail regarding ECC error as shown in the below link
>
http://www.mail-archive.com/[email protected]
om/msg08402.html
> Have you got success by following the instructions given by Andrea?

Yes, the patch worked well. This is what SVN thinks is a unified diff of
the patch:

--- /board/video_vbox/nand.c    (revision 1087)
+++ /board/video_vbox/nand.c    (revision 1088)
@@ -472,13 +472,13 @@
                 */
         val = emif_addr->NANDF1ECC;
                break;
-       case NAND_ECC_WRITESYN:
-       case NAND_ECC_READSYN:
-               /*
-                * Our ECC calculation has already been terminated, so
no need
-                * to do anything here.
-                */
-               break;
+    case NAND_ECC_READSYN:
+       /*
+        *      This mod from Andrea Gasparini [email protected]
+        */
+        val = (*(dv_reg_p) NAND4BITECC1) & NAND_4BITECC_MASK;
+        break;
+    case NAND_ECC_WRITESYN:
        default:
                break;
        }
 

--
Jon Povey, Design Engineer
[email protected] | +44(0)1280 825983 

 
Racelogic is a limited company registered in England. Registered number
2743719 . 
Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham,
Bucks, MK18 1TB .
The information contained in this electronic mail transmission is
intended by Racelogic Ltd for the use of the named individual or entity
to which it is directed and may contain information that is confidential
or privileged. If you have received this electronic mail transmission in
error, please delete it from your system without copying or forwarding
it, and notify the sender of the error by reply email so that the
sender's address records can be corrected. The views expressed by the
sender of this communication do not necessarily represent those of
Racelogic Ltd. Please note that Racelogic reserves the right to monitor
e-mail communications passing through its network

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to